Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002601/0.002601, allocations: 191.6 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.91/2.91, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.73 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.368, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.00266/0.3707, allocations: 0.9845 MB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002125/0.3729, allocations: 1.443 MB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.984e-05/0.373, allocations: 4 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.3734, allocations: 63.8 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.192e-05/0.3735, allocations: 47.75 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000785/0.3743, allocations: 297.9 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003867/0.3747, allocations: 387.2 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.3748, allocations: 53.64 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.375, allocations: 139.6 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.3753, allocations: 131.5 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.73e-05/0.3753, allocations: 27.98 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.3755, allocations: 43.97 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.3756, allocations: 79.72 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.3758, allocations: 127.4 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004236/0.3762, allocations: 403.1 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3762, allocations: 4 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.12e-07/0.3762, allocations: 0 / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.732e-05/0.3763, allocations: 4 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0009499/0.3772, allocations: 0.6535 MB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3773, allocations: 12.03 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.3774, allocations: 32.66 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.3777, allocations: 300.9 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.3778, allocations: 8.375 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/0.3778, allocations: 24.38 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.3782, allocations: 178.8 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.3782, allocations: 4.188 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.3782, allocations: 11.92 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.371e-06/0.3782, allocations: 7.938 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.3784, allocations: 119.9 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009808/0.3794, allocations: 0.6367 MB / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004304/0.3799, allocations: 242.6 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.3801, allocations: 156.8 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.3801, allocations: 0 / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003539/0.3805, allocations: 235.8 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.583e-06/0.3805, allocations: 0 / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0008381/0.3813, allocations: 0.5155 MB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.468e-05/0.3814, allocations: 126.7 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.3817, allocations: 244 kB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.362e-05/0.3818, allocations: 41.69 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.3819, allocations: 132.7 kB / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.673e-05/0.382, allocations: 59.19 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.3821, allocations: 101.7 kB / 1.075 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3823, allocations: 338.8 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.3826, allocations: 164.1 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/0.383, allocations: 300.8 kB / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/0.3836, allocations: 0.4922 MB / 1.077 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/0.3836, allocations: 0 / 1.077 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009312/0.3845, allocations: 0.5779 MB / 1.077 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.3846, allocations: 138.8 kB / 1.077 GB, free: 464 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.3847, allocations: 320 / 1.077 GB, free: 464 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.3847, allocations: 8 kB / 1.077 GB, free: 456 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.3848, allocations: 31.92 kB / 1.077 GB, free: 424 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.3848, allocations: 7.938 kB / 1.077 GB, free: 416 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006093/0.3854, allocations: 83.75 kB / 1.077 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/0.3855, allocations: 19.98 kB / 1.077 GB, free: 312 kB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.truArrConSam.u,$PRE.truArrConGre.u,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,truArrConGre.iIdx,truArrConGre.iTru,truArrConGre.y1[4],truArrConGre.y1[3],truArrConGre.y1[2],truArrConGre.y1[1],truArrConGre.uIdx[2],truArrConGre.uIdx[1],truArrConGre.u,uTru.idx,$PRE.uTru.idx,uTru.y[1],$PRE.uTru.y[1],uIdx2.booPul.y,$PRE.uIdx2.booPul.y,uIdx1.booPul.y,$PRE.uIdx1.booPul.y,truArrConSam.iIdx,truArrConSam.iTru,truArrConSam.y1[2],truArrConSam.y1[1],truArrConSam.uIdx[2],truArrConSam.uIdx[1],truArrConSam.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 4 * 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 0.0002505/0.3858, allocations: 247.7 kB / 1.078 GB, free: 40 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.3858, allocations: 31.72 kB / 1.078 GB, free: 8 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.357e-05/0.3859, allocations: 22.55 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3859, allocations: 4 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3859, allocations: 0 / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3859, allocations: 3.938 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.3871, allocations: 0.8569 MB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.3871, allocations: 4 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.033e-05/0.3871, allocations: 11.94 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3872, allocations: 0 / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.3872, allocations: 12 kB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.3872, allocations: 7.922 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3872, allocations: 3.984 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006912/0.3879, allocations: 0.5375 MB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.167e-05/0.388, allocations: 96.83 kB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/0.3881, allocations: 15.98 kB / 1.079 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.3882, allocations: 23.86 kB / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.3884, allocations: 51.89 kB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.3884, allocations: 12 kB / 1.079 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001819/0.3886, allocations: 173.6 kB / 1.079 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3886, allocations: 0 / 1.079 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004273/0.389, allocations: 83.94 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 (truArrConSam.u,truArrConGre.u,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,truArrConSam.uIdx[1],truArrConSam.uIdx[2],truArrConSam.y1[1],truArrConSam.y1[2],truArrConSam.iTru,truArrConSam.iIdx,uIdx1.booPul.y,uIdx2.booPul.y,uTru.y[1],uTru.idx,truArrConGre.uIdx[1],truArrConGre.uIdx[2],truArrConGre.y1[1],truArrConGre.y1[2],truArrConGre.y1[3],truArrConGre.y1[4],truArrConGre.iTru,truArrConGre.iIdx) * Number of discrete states: 10 (truArrConGre.y1[4],truArrConGre.y1[3],truArrConGre.y1[2],truArrConGre.y1[1],truArrConGre.iIdx,truArrConGre.iTru,truArrConSam.y1[2],truArrConSam.y1[1],truArrConSam.iIdx,truArrConSam.iTru) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 4 * 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.0002627/0.3893, allocations: 145.5 kB / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008876/0.3902, allocations: 0.6904 MB / 1.08 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3902, allocations: 4 kB / 1.08 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003502/0.3906, allocations: 347.2 kB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.391, allocations: 51.22 kB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008886/0.3919, allocations: 0.5409 MB / 1.081 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.3923, allocations: 0.7443 MB / 1.082 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.3924, allocations: 33.94 kB / 1.082 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.305e-05/0.3925, allocations: 31.36 kB / 1.082 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3925, allocations: 3.938 kB / 1.082 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of Templates: time 0.009516/0.402, allocations: 4.615 MB / 1.087 GB, free: 6.723 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.makefile (rm -f Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; mkfifo Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe >> ../files/Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.sim & ./Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1)