Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 104.5 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002149/0.002149, allocations: 190.8 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.377/3.377, allocations: 495.8 MB / 0.783 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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="mat",numberOfIntervals=2500,variableFilter="time|truArrConSam.u|truArrConSam.uIdx.1.|truArrConSam.uIdx.2.|truArrConSam.y1.1.|truArrConSam.y1.2.|truArrConGre.y1.1.|truArrConGre.y1.2.|truArrConGre.y1.3.|truArrConGre.y1.4.",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|truArrConSam.u|truArrConSam.uIdx.1.|truArrConSam.uIdx.2.|truArrConSam.y1.1.|truArrConSam.y1.2.|truArrConGre.y1.1.|truArrConGre.y1.2.|truArrConGre.y1.3.|truArrConGre.y1.4.",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 70.7 kB / 1.137 GB, free: 33.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.4465, allocations: 173.6 MB / 1.307 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002475/0.449, allocations: 0.9536 MB / 1.308 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002316/0.4513, allocations: 1.42 MB / 1.309 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.4514, allocations: 4 kB / 1.309 GB, free: 15.47 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003944/0.4518, allocations: 59.69 kB / 1.309 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.4519, allocations: 59.67 kB / 1.309 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.4529, allocations: 346.4 kB / 1.309 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000617/0.4535, allocations: 431.2 kB / 1.31 GB, free: 14.6 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.4537, allocations: 45.66 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.4539, allocations: 171.6 kB / 1.31 GB, free: 14.39 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003484/0.4543, allocations: 163.5 kB / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.122e-05/0.4544, allocations: 39.94 kB / 1.31 GB, free: 14.19 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.4545, allocations: 71.97 kB / 1.31 GB, free: 14.12 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.4547, allocations: 87.77 kB / 1.31 GB, free: 14.03 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.4549, allocations: 143.4 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000577/0.4555, allocations: 438.6 kB / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4555, allocations: 0 / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4555, allocations: 0 / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.4555, allocations: 3.938 kB / 1.311 GB, free: 13.46 MB / 1.014 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.001027/0.4565, allocations: 0.5819 MB / 1.312 GB, free: 12.82 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.4565, allocations: 12.03 kB / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.4567, allocations: 32.78 kB / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/0.4571, allocations: 250.9 kB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.4571, allocations: 16.38 kB / 1.312 GB, free: 12.48 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.458e-05/0.4572, allocations: 24.38 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.4576, allocations: 179.7 kB / 1.312 GB, free: 12.28 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4576, allocations: 192 / 1.312 GB, free: 12.28 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.4576, allocations: 11.88 kB / 1.312 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.4576, allocations: 4 kB / 1.312 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.4579, allocations: 123.9 kB / 1.312 GB, free: 12.14 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.459, allocations: 0.6046 MB / 1.313 GB, free: 11.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005046/0.4595, allocations: 198.6 kB / 1.313 GB, free: 11.29 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.4597, allocations: 120.9 kB / 1.313 GB, free: 11.17 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.4597, allocations: 4 kB / 1.313 GB, free: 11.17 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004141/0.4602, allocations: 253.2 kB / 1.313 GB, free: 10.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=27): time 1.944e-06/0.4602, allocations: 3.938 kB / 1.313 GB, free: 10.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=27): time 0.0009683/0.4611, allocations: 0.5126 MB / 1.314 GB, free: 10.38 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.328e-05/0.4612, allocations: 122.8 kB / 1.314 GB, free: 10.23 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.4615, allocations: 245.4 kB / 1.314 GB, free: 9.984 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.642e-05/0.4616, allocations: 41.7 kB / 1.314 GB, free: 9.938 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.4617, allocations: 124.7 kB / 1.314 GB, free: 9.812 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.949e-05/0.4618, allocations: 67.47 kB / 1.314 GB, free: 9.746 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.462, allocations: 105.6 kB / 1.315 GB, free: 9.637 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4621, allocations: 338.8 kB / 1.315 GB, free: 9.297 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.4625, allocations: 171.7 kB / 1.315 GB, free: 9.129 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004341/0.4629, allocations: 293.6 kB / 1.315 GB, free: 8.793 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006276/0.4635, allocations: 492.8 kB / 1.316 GB, free: 8.242 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.4635, allocations: 0 / 1.316 GB, free: 8.242 MB / 1.014 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009564/0.4645, allocations: 0.586 MB / 1.316 GB, free: 7.625 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.4646, allocations: 142.8 kB / 1.316 GB, free: 7.461 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.4646, allocations: 4 kB / 1.316 GB, free: 7.457 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.868e-05/0.4646, allocations: 4 kB / 1.316 GB, free: 7.453 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.4648, allocations: 23.92 kB / 1.317 GB, free: 7.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.4648, allocations: 4 kB / 1.317 GB, free: 7.426 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006136/0.4654, allocations: 99.84 kB / 1.317 GB, free: 7.328 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.18e-05/0.4655, allocations: 27.98 kB / 1.317 GB, free: 7.301 MB / 1.014 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.0003225/0.4658, allocations: 249.3 kB / 1.317 GB, free: 7.039 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.4658, allocations: 27.84 kB / 1.317 GB, free: 7.012 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/0.4659, allocations: 22.66 kB / 1.317 GB, free: 6.992 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.4659, allocations: 0 / 1.317 GB, free: 6.992 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.4659, allocations: 8 kB / 1.317 GB, free: 6.984 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4659, allocations: 3.984 kB / 1.317 GB, free: 6.98 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.4672, allocations: 0.8195 MB / 1.318 GB, free: 6.098 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.4672, allocations: 0 / 1.318 GB, free: 6.098 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/0.4672, allocations: 19.92 kB / 1.318 GB, free: 6.078 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.4672, allocations: 0 / 1.318 GB, free: 6.078 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.4673, allocations: 8 kB / 1.318 GB, free: 6.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.4673, allocations: 7.938 kB / 1.318 GB, free: 6.062 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4673, allocations: 0 / 1.318 GB, free: 6.062 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007235/0.468, allocations: 0.5538 MB / 1.318 GB, free: 5.48 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.468, allocations: 19.8 kB / 1.318 GB, free: 5.461 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.173e-05/0.4681, allocations: 15.98 kB / 1.318 GB, free: 5.445 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.4683, allocations: 15.94 kB / 1.318 GB, free: 5.43 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.4684, allocations: 51.94 kB / 1.318 GB, free: 5.379 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/0.4684, allocations: 12 kB / 1.318 GB, free: 5.367 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002108/0.4686, allocations: 172.5 kB / 1.319 GB, free: 5.199 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4686, allocations: 0 / 1.319 GB, free: 5.199 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004185/0.469, allocations: 95.88 kB / 1.319 GB, free: 5.105 MB / 1.014 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.0002536/0.4693, allocations: 145.9 kB / 1.319 GB, free: 4.953 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009263/0.4702, allocations: 0.6163 MB / 1.319 GB, free: 4.289 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4702, allocations: 0.625 kB / 1.319 GB, free: 4.289 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003382/0.4706, allocations: 282.6 kB / 1.32 GB, free: 3.988 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.471, allocations: 60.45 kB / 1.32 GB, free: 3.93 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00091/0.4719, allocations: 0.5077 MB / 1.32 GB, free: 3.395 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.4723, allocations: 0.748 MB / 1.321 GB, free: 2.621 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001212/0.4725, allocations: 33.94 kB / 1.321 GB, free: 2.586 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.4725, allocations: 23.42 kB / 1.321 GB, free: 2.562 MB / 1.014 GB Notification: Performance of SimCode: time 3.41e-07/0.4725, allocations: 0 / 1.321 GB, free: 2.562 MB / 1.014 GB Notification: Performance of Templates: time 0.01019/0.4827, allocations: 5.012 MB / 1.326 GB, free: 13.62 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.823332916945219]