Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009875/0.0009875, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009408/0.0009408, allocations: 173 kB / 24.28 MB, free: 276 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9464/0.9464, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.884/1.884, allocations: 377.8 MB / 0.6239 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 0 / 0.8115 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.591e-05, allocations: 3.094 kB / 0.8115 GB, free: 2.094 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/Templates/Plants/Controls/Utilities/PlaceholderInteger.mo:9:3-12:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.001834/0.00186, allocations: 0.8696 MB / 0.8124 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.00338, allocations: 1.209 MB / 0.8135 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.012e-05/0.003471, allocations: 9.531 kB / 0.8135 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.003627, allocations: 19.91 kB / 0.8136 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.157e-05/0.003679, allocations: 27.67 kB / 0.8136 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.004122, allocations: 144.1 kB / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.004329, allocations: 164.9 kB / 0.8139 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.004443, allocations: 29.56 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.004548, allocations: 79.83 kB / 0.814 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.676e-05/0.004644, allocations: 44.39 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.004671, allocations: 16 kB / 0.814 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.224e-05/0.004734, allocations: 25.38 kB / 0.8141 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.449e-05/0.004758, allocations: 19.91 kB / 0.8141 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.767e-05/0.004816, allocations: 35.92 kB / 0.8141 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.005006, allocations: 124.7 kB / 0.8142 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.005009, allocations: 0 / 0.8142 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.122e-06/0.00501, allocations: 0 / 0.8142 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.005014, allocations: 4 kB / 0.8142 GB, free: 15.3 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005058/0.00552, allocations: 459.1 kB / 0.8147 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.005555, allocations: 8.031 kB / 0.8147 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.323e-05/0.005619, allocations: 24.84 kB / 0.8147 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.005836, allocations: 172 kB / 0.8149 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.005858, allocations: 9.062 kB / 0.8149 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.005878, allocations: 8.375 kB / 0.8149 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.006006, allocations: 95.34 kB / 0.815 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.006014, allocations: 192 / 0.815 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.006025, allocations: 4.375 kB / 0.815 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.497e-06/0.006035, allocations: 4.375 kB / 0.815 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.681e-05/0.006081, allocations: 25.61 kB / 0.815 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.006522, allocations: 0.5912 MB / 0.8156 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.347e-05/0.006575, allocations: 35.06 kB / 0.8156 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.006594, allocations: 10.28 kB / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.171e-06/0.0066, allocations: 0 / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.556e-05/0.006696, allocations: 73.02 kB / 0.8157 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.006697, allocations: 0 / 0.8157 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001807/0.006877, allocations: 69.64 kB / 0.8158 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.006914, allocations: 59.34 kB / 0.8158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.007051, allocations: 212.7 kB / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.00707, allocations: 26.2 kB / 0.8161 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.053e-05/0.00714, allocations: 155.3 kB / 0.8162 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.007153, allocations: 9.875 kB / 0.8162 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.007216, allocations: 47.34 kB / 0.8163 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003648/0.007581, allocations: 0.4922 MB / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.299e-05/0.007664, allocations: 61.61 kB / 0.8168 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.194e-05/0.007746, allocations: 88.73 kB / 0.8169 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.072e-05/0.007837, allocations: 78.61 kB / 0.817 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.007839, allocations: 0 / 0.817 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002397/0.008079, allocations: 188.9 kB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.008109, allocations: 32.8 kB / 0.8172 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.008116, allocations: 7.938 kB / 0.8172 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.008129, allocations: 0.5312 kB / 0.8172 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.09e-05/0.008179, allocations: 8.703 kB / 0.8172 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.008184, allocations: 4 kB / 0.8172 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.008309, allocations: 20.84 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.008324, allocations: 4.781 kB / 0.8172 GB, free: 11.97 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.488e-05/0.008408, allocations: 173.7 kB / 0.8174 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.008425, allocations: 15.89 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.008452, allocations: 8.344 kB / 0.8174 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.008454, allocations: 0 / 0.8174 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.008457, allocations: 0.9062 kB / 0.8174 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.008462, allocations: 4 kB / 0.8174 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.008563, allocations: 149.8 kB / 0.8176 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.008564, allocations: 0 / 0.8176 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.311e-05/0.008577, allocations: 0 / 0.8176 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.008579, allocations: 0 / 0.8176 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.008588, allocations: 5.312 kB / 0.8176 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.008589, allocations: 0 / 0.8176 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.00859, allocations: 3.938 kB / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.008699, allocations: 101.3 kB / 0.8177 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.008714, allocations: 11.88 kB / 0.8177 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.008728, allocations: 4 kB / 0.8177 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.97e-05/0.008748, allocations: 1.125 kB / 0.8177 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.008774, allocations: 0 / 0.8177 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.008779, allocations: 4 kB / 0.8177 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.835e-05/0.008847, allocations: 152.3 kB / 0.8178 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008847, allocations: 0 / 0.8178 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002183/0.009066, allocations: 23.95 kB / 0.8179 GB, free: 11.26 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000133/0.009199, allocations: 104.3 kB / 0.818 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.009396, allocations: 149.8 kB / 0.8181 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.009397, allocations: 0 / 0.8181 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.632e-05/0.009424, allocations: 20.19 kB / 0.8181 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.009646, allocations: 25.33 kB / 0.8181 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.009984, allocations: 187.1 kB / 0.8183 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.976e-05/0.01002, allocations: 64.52 kB / 0.8184 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.703e-05/0.01005, allocations: 10.06 kB / 0.8184 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.01007, allocations: 12.5 kB / 0.8184 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of SimCode: time 8.01e-07/0.01007, allocations: 0 / 0.8184 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of Templates: time 0.004138/0.01421, allocations: 1.543 MB / 0.8199 GB, free: 9.141 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.179271320113912]