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.001543/0.001543, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002074/0.002074, allocations: 197.6 kB / 16.26 MB, free: 6.621 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.872/2.872, allocations: 472.6 MB / 0.7448 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 63.98 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3605, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002424/0.363, allocations: 1 MB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.365, allocations: 1.404 MB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.3651, allocations: 0 / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.3655, allocations: 59.75 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.3656, allocations: 51.73 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008761/0.3665, allocations: 298.6 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005455/0.3671, allocations: 443.2 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.3673, allocations: 69.61 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.3675, allocations: 163.6 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.3678, allocations: 147.5 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.404e-05/0.3679, allocations: 36 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.3681, allocations: 75.95 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.3682, allocations: 79.78 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.3684, allocations: 151.4 kB / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000479/0.3689, allocations: 423 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3689, allocations: 0 / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3689, allocations: 0 / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.369, allocations: 0 / 1.072 GB, free: 6.441 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.001045/0.37, allocations: 0.6613 MB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3701, allocations: 12.03 kB / 1.073 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.3702, allocations: 28.66 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004005/0.3706, allocations: 293 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.3706, allocations: 20.31 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.118e-05/0.3707, allocations: 28.36 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/0.371, allocations: 174.8 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.371, allocations: 192 / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.3711, allocations: 11.92 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3711, allocations: 0 / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.3713, allocations: 127.9 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.3723, allocations: 0.6211 MB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.3728, allocations: 246.5 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.373, allocations: 160.9 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.373, allocations: 0 / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004268/0.3735, allocations: 237.2 kB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 2.244e-06/0.3735, allocations: 3.938 kB / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0009007/0.3744, allocations: 0.5155 MB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.3745, allocations: 122.8 kB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.3748, allocations: 251.9 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.639e-05/0.3749, allocations: 41.69 kB / 1.075 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.3751, allocations: 124.7 kB / 1.076 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.283e-05/0.3751, allocations: 67.19 kB / 1.076 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.3753, allocations: 93.66 kB / 1.076 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.3755, allocations: 342.8 kB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/0.3759, allocations: 172.1 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/0.3763, allocations: 296.7 kB / 1.076 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005765/0.3769, allocations: 492.1 kB / 1.077 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3769, allocations: 0 / 1.077 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009046/0.3778, allocations: 0.5895 MB / 1.077 GB, free: 364 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.378, allocations: 139.1 kB / 1.078 GB, free: 200 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.378, allocations: 8 kB / 1.078 GB, free: 192 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.378, allocations: 4 kB / 1.078 GB, free: 188 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.3781, allocations: 27.92 kB / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3781, allocations: 0 / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005637/0.3787, allocations: 87.73 kB / 1.078 GB, free: 72 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-05/0.3788, allocations: 27.98 kB / 1.078 GB, free: 44 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.0002968/0.3791, allocations: 251.6 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.3792, allocations: 23.72 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.3792, allocations: 22.56 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3792, allocations: 4 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.3792, allocations: 0 / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3792, allocations: 3.984 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.3804, allocations: 0.8607 MB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3804, allocations: 0 / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.624e-05/0.3805, allocations: 12 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3805, allocations: 0 / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.3805, allocations: 11.98 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.3805, allocations: 7.938 kB / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3805, allocations: 0 / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006361/0.3812, allocations: 0.5336 MB / 1.079 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.078e-05/0.3812, allocations: 96.83 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.546e-05/0.3813, allocations: 19.98 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.3815, allocations: 15.92 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.3816, allocations: 47.95 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.3816, allocations: 16 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000178/0.3818, allocations: 177.6 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3818, allocations: 0 / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003889/0.3822, allocations: 83.94 kB / 1.08 GB, free: 13.73 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.0002461/0.3825, allocations: 149.4 kB / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000938/0.3834, allocations: 0.7121 MB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3834, allocations: 3.938 kB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003735/0.3838, allocations: 345.5 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.3843, allocations: 56.41 kB / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009345/0.3852, allocations: 0.547 MB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.3856, allocations: 0.748 MB / 1.082 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.3857, allocations: 37.92 kB / 1.082 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.072e-05/0.3858, allocations: 19.44 kB / 1.082 GB, free: 11 MB / 0.8419 GB Notification: Performance of SimCode: time 2.81e-07/0.3858, allocations: 3.938 kB / 1.082 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of Templates: time 0.009331/0.3951, allocations: 4.835 MB / 1.087 GB, free: 6.223 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)