Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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_latest_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_latest_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.001029/0.001029, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001419/0.001419, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.895/2.895, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004091, allocations: 8.719 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4039, allocations: 159.6 MB / 1.058 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.001431/0.4054, allocations: 0.63 MB / 1.059 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002225/0.4076, allocations: 1.373 MB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.4078, allocations: 0 / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.4082, allocations: 63.73 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.4084, allocations: 55.73 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009834/0.4094, allocations: 279.1 kB / 1.06 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005298/0.4099, allocations: 359.1 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.4101, allocations: 33.86 kB / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.4104, allocations: 143.6 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003686/0.4107, allocations: 115.6 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.547e-05/0.4108, allocations: 16 kB / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.411, allocations: 39.98 kB / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.4111, allocations: 67.78 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.4113, allocations: 65.58 kB / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003892/0.4117, allocations: 323.5 kB / 1.061 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4117, allocations: 4 kB / 1.061 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4117, allocations: 0 / 1.061 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.4117, allocations: 0 / 1.061 GB, free: 1.758 MB / 0.8106 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.0009276/0.4126, allocations: 0.5832 MB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.4127, allocations: 8.031 kB / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.4128, allocations: 31.72 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/0.4133, allocations: 299.7 kB / 1.062 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.4133, allocations: 12 kB / 1.062 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.253e-05/0.4134, allocations: 31.95 kB / 1.062 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003565/0.4138, allocations: 197.6 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.4138, allocations: 0 / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.4138, allocations: 4 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.4138, allocations: 0 / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.4141, allocations: 139.9 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.4151, allocations: 0.6407 MB / 1.063 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/0.4157, allocations: 250.6 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.4159, allocations: 172.9 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.4159, allocations: 7.938 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000417/0.4163, allocations: 254.1 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.843e-06/0.4164, allocations: 0 / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0008759/0.4172, allocations: 0.5584 MB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.297e-05/0.4173, allocations: 122.8 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.4176, allocations: 255.9 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.91e-05/0.4177, allocations: 41.64 kB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.4178, allocations: 128.7 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.643e-05/0.4179, allocations: 59.28 kB / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.4179, allocations: 8 kB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.418, allocations: 338.8 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.4184, allocations: 179.9 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/0.4188, allocations: 305.6 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.4191, allocations: 290.7 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4191, allocations: 0 / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008907/0.42, allocations: 0.6207 MB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.4202, allocations: 135.1 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.4202, allocations: 8 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.4202, allocations: 4 kB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.4203, allocations: 31.92 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.4203, allocations: 4 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005475/0.4209, allocations: 111.4 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/0.421, allocations: 23.98 kB / 1.067 GB, free: 11.58 MB / 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,truArrConSam.u,truArrConSam.uIdx[1],truArrConSam.uIdx[2],truArrConSam.y1[1],truArrConSam.y1[2],truArrConSam.iTru,truArrConSam.iIdx,$PRE.uIdx1.booPul.y,uIdx1.booPul.y,$PRE.uIdx2.booPul.y,uIdx2.booPul.y,$PRE.uTru.y[1],uTru.y[1],$PRE.uTru.idx,uTru.idx,truArrConGre.u,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002524/0.4212, allocations: 257.2 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.4213, allocations: 31.67 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.785e-05/0.4213, allocations: 18.56 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4213, allocations: 4 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.4213, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4213, allocations: 3.984 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.4225, allocations: 0.8848 MB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.4225, allocations: 7.938 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.607e-05/0.4225, allocations: 8 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.4226, allocations: 4 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.4226, allocations: 11.98 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4226, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4226, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006502/0.4232, allocations: 0.5726 MB / 1.069 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.507e-05/0.4233, allocations: 104.8 kB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/0.4234, allocations: 12.06 kB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.4235, allocations: 23.94 kB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.4237, allocations: 51.94 kB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.4237, allocations: 12 kB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001617/0.4239, allocations: 177.8 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4239, allocations: 0 / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003824/0.4243, allocations: 87.92 kB / 1.069 GB, free: 9.191 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002225/0.4245, allocations: 137.5 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008749/0.4254, allocations: 0.729 MB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4254, allocations: 4 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003589/0.4258, allocations: 350.7 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.4262, allocations: 56.98 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008986/0.4271, allocations: 0.5514 MB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.4275, allocations: 0.7484 MB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.4276, allocations: 37.92 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.488e-05/0.4276, allocations: 19.44 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.4276, allocations: 0 / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of Templates: time 0.009011/0.4366, allocations: 4.446 MB / 1.076 GB, free: 2.055 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1)