Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.00118/0.00118, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001476/0.001476, allocations: 197.3 kB / 16.14 MB, free: 6.734 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.475/1.475, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.075/3.075, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 59.41 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3694, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002202/0.3717, allocations: 0.9863 MB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001896/0.3736, allocations: 1.439 MB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.463e-05/0.3737, allocations: 7.938 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.374, allocations: 63.8 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.265e-05/0.3741, allocations: 51.75 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007562/0.3749, allocations: 302.1 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004184/0.3753, allocations: 387.2 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.3755, allocations: 45.66 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.3756, allocations: 139.6 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.3759, allocations: 139.5 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.191e-05/0.3759, allocations: 20 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.3761, allocations: 43.97 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.3762, allocations: 79.78 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.3764, allocations: 127.3 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.3768, allocations: 411 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3768, allocations: 0 / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3768, allocations: 0 / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.3768, allocations: 3.938 kB / 1.072 GB, free: 6.664 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.0009081/0.3777, allocations: 0.6496 MB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.3778, allocations: 16.02 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.3779, allocations: 32.66 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.3783, allocations: 296.9 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.3783, allocations: 16.38 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-05/0.3784, allocations: 20.38 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.3787, allocations: 182.8 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3787, allocations: 192 / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.3787, allocations: 19.86 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3788, allocations: 0 / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.379, allocations: 115.9 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000944/0.3799, allocations: 0.6406 MB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004153/0.3803, allocations: 230.7 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.3806, allocations: 156.8 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.3806, allocations: 4 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003722/0.381, allocations: 239.8 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.673e-06/0.381, allocations: 0 / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0007895/0.3818, allocations: 0.5116 MB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.249e-05/0.3819, allocations: 126.8 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.3821, allocations: 244 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.53e-05/0.3822, allocations: 37.7 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.3823, allocations: 136.7 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.3823, allocations: 59.2 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.3825, allocations: 93.66 kB / 1.075 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3826, allocations: 342.8 kB / 1.076 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.3829, allocations: 168.1 kB / 1.076 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.3833, allocations: 308.8 kB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004962/0.3838, allocations: 496 kB / 1.077 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3838, allocations: 0 / 1.077 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008317/0.3847, allocations: 0.5779 MB / 1.077 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.584e-05/0.3848, allocations: 142.8 kB / 1.077 GB, free: 436 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.3848, allocations: 4.312 kB / 1.077 GB, free: 432 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3848, allocations: 8 kB / 1.077 GB, free: 424 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.3849, allocations: 23.92 kB / 1.077 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.3849, allocations: 4 kB / 1.077 GB, free: 396 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005927/0.3855, allocations: 87.75 kB / 1.077 GB, free: 308 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/0.3856, allocations: 23.92 kB / 1.077 GB, free: 284 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.0002734/0.3859, allocations: 259.6 kB / 1.078 GB, free: 0 / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.386, allocations: 23.89 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.386, allocations: 26.56 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.386, allocations: 0 / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.386, allocations: 0 / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.386, allocations: 7.984 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.3871, allocations: 0.8529 MB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3872, allocations: 0 / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.192e-05/0.3872, allocations: 15.92 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.3872, allocations: 4 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.3873, allocations: 8 kB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3873, allocations: 3.938 kB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3873, allocations: 3.984 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000628/0.3879, allocations: 0.5414 MB / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/0.388, allocations: 92.83 kB / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/0.388, allocations: 15.98 kB / 1.079 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.3882, allocations: 19.92 kB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.3883, allocations: 43.97 kB / 1.079 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.3884, allocations: 19.98 kB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001591/0.3885, allocations: 173.6 kB / 1.079 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.21e-07/0.3885, allocations: 0 / 1.079 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003939/0.3889, allocations: 83.94 kB / 1.08 GB, free: 13.96 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.0002417/0.3892, allocations: 145.4 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008793/0.3901, allocations: 0.6887 MB / 1.08 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3901, allocations: 4 kB / 1.08 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003337/0.3904, allocations: 344.1 kB / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.3909, allocations: 55.84 kB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008581/0.3918, allocations: 0.5429 MB / 1.081 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.3921, allocations: 0.7482 MB / 1.082 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000115/0.3922, allocations: 37.88 kB / 1.082 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.3923, allocations: 27.36 kB / 1.082 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of SimCode: time 2.81e-07/0.3923, allocations: 0 / 1.082 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of Templates: time 0.0093/0.4016, allocations: 4.618 MB / 1.087 GB, free: 6.695 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.makefile (rm -f Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; mkfifo Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe >> ../files/Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.sim & ./Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1)