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 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="mat",numberOfIntervals=5000,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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_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.0012/0.0012, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001213/0.001213, allocations: 186.7 kB / 17.35 MB, free: 5.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.349/1.349, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.692/2.692, allocations: 472.7 MB / 0.746 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.91 kB / 1.07 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7351/0.7364, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002826/0.7393, allocations: 0.9314 MB / 1.227 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002207/0.7416, allocations: 1.405 MB / 1.229 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.7417, allocations: 4 kB / 1.229 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003666/0.7421, allocations: 63.67 kB / 1.229 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.7423, allocations: 55.69 kB / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009501/0.7432, allocations: 333.6 kB / 1.229 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006174/0.7438, allocations: 459.2 kB / 1.229 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.744, allocations: 69.52 kB / 1.23 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.7443, allocations: 159.6 kB / 1.23 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003591/0.7447, allocations: 167.5 kB / 1.23 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.7448, allocations: 36 kB / 1.23 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.745, allocations: 71.91 kB / 1.23 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.7452, allocations: 83.78 kB / 1.23 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.7454, allocations: 143.4 kB / 1.23 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005337/0.7459, allocations: 439 kB / 1.231 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7459, allocations: 3.938 kB / 1.231 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7459, allocations: 0 / 1.231 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.7459, allocations: 4 kB / 1.231 GB, free: 9.137 MB / 0.9512 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.001013/0.747, allocations: 0.6534 MB / 1.231 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.747, allocations: 8.031 kB / 1.231 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.7471, allocations: 36.78 kB / 1.231 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.7476, allocations: 305 kB / 1.232 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.7477, allocations: 16.38 kB / 1.232 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.058e-05/0.7477, allocations: 28.36 kB / 1.232 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.7481, allocations: 183.4 kB / 1.232 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.7481, allocations: 192 / 1.232 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.7481, allocations: 15.92 kB / 1.232 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.7481, allocations: 0 / 1.232 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.7483, allocations: 123.9 kB / 1.232 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.7494, allocations: 0.6251 MB / 1.233 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004256/0.7498, allocations: 242.6 kB / 1.233 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.75, allocations: 152.9 kB / 1.233 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-06/0.7501, allocations: 0 / 1.233 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000341/0.7504, allocations: 239.8 kB / 1.233 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=27): time 2.355e-06/0.7504, allocations: 0 / 1.233 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of matching and sorting (n=27): time 0.0007941/0.7512, allocations: 0.5195 MB / 1.234 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.7513, allocations: 122.8 kB / 1.234 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.7516, allocations: 252 kB / 1.234 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/0.7516, allocations: 41.69 kB / 1.234 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.7518, allocations: 136.7 kB / 1.234 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.638e-05/0.7518, allocations: 59.55 kB / 1.234 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.752, allocations: 93.66 kB / 1.234 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.7521, allocations: 342.8 kB / 1.235 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.7524, allocations: 163.9 kB / 1.235 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.7528, allocations: 299.1 kB / 1.235 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004996/0.7533, allocations: 487.5 kB / 1.236 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7533, allocations: 0 / 1.236 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008748/0.7542, allocations: 0.5787 MB / 1.236 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-05/0.7543, allocations: 142.8 kB / 1.236 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.7543, allocations: 4.312 kB / 1.236 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.7543, allocations: 8 kB / 1.236 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.726e-05/0.7544, allocations: 23.92 kB / 1.236 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.7545, allocations: 4 kB / 1.236 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/0.755, allocations: 91.75 kB / 1.236 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.469e-05/0.7551, allocations: 16 kB / 1.236 GB, free: 2.75 MB / 0.9512 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.000246/0.7553, allocations: 264.1 kB / 1.237 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.7554, allocations: 23.86 kB / 1.237 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.052e-05/0.7554, allocations: 26.55 kB / 1.237 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.7554, allocations: 0 / 1.237 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.7554, allocations: 0 / 1.237 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.54e-05/0.7555, allocations: 104.9 kB / 1.237 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.541e-05/0.7556, allocations: 19.94 kB / 1.237 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.7557, allocations: 15.98 kB / 1.237 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.7558, allocations: 51.89 kB / 1.237 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006823/0.7565, allocations: 0.6279 MB / 1.238 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006556/0.7572, allocations: 0.6073 MB / 1.238 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002437/0.7574, allocations: 197.5 kB / 1.238 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001702/0.7576, allocations: 177.5 kB / 1.238 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of Backend: time 4.11e-07/0.7576, allocations: 0 / 1.238 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001099/0.7587, allocations: 0.6599 MB / 1.239 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001057/0.7598, allocations: 0.9581 MB / 1.24 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of Templates: time 0.009407/0.7692, allocations: 4.984 MB / 1.245 GB, free: 9.871 MB / 0.9669 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 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches