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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00144/0.00144, allocations: 113.5 kB / 16.42 MB, free: 6.473 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.001609/0.001609, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.522/2.522, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 68.08 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6958/0.6971, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002045/0.6992, allocations: 0.9347 MB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.7009, allocations: 1.404 MB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.298e-05/0.701, allocations: 4 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.7013, allocations: 67.61 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.429e-05/0.7014, allocations: 55.62 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008059/0.7022, allocations: 333.2 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004563/0.7027, allocations: 451.2 kB / 1.212 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.7028, allocations: 49.66 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.703, allocations: 171.6 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.7033, allocations: 159.5 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.345e-05/0.7034, allocations: 36 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.7035, allocations: 71.97 kB / 1.212 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.7036, allocations: 79.78 kB / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.7038, allocations: 147.4 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004006/0.7042, allocations: 434.4 kB / 1.213 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.7042, allocations: 4 kB / 1.213 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7042, allocations: 0 / 1.213 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.7042, allocations: 0 / 1.213 GB, free: 9.242 MB / 0.9356 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.0007994/0.705, allocations: 0.6554 MB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.7051, allocations: 12.03 kB / 1.213 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.961e-05/0.7052, allocations: 28.66 kB / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.7055, allocations: 316.8 kB / 1.214 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.7056, allocations: 8.375 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/0.7056, allocations: 24.38 kB / 1.214 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.7059, allocations: 178.1 kB / 1.214 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.706, allocations: 8.188 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.706, allocations: 7.938 kB / 1.214 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.706, allocations: 4 kB / 1.214 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.7062, allocations: 127.8 kB / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009109/0.7071, allocations: 0.6289 MB / 1.215 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003991/0.7075, allocations: 238.5 kB / 1.215 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.7077, allocations: 169 kB / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.7077, allocations: 0 / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003136/0.7081, allocations: 231.8 kB / 1.215 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=27): time 1.703e-06/0.7081, allocations: 0 / 1.215 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of matching and sorting (n=27): time 0.0007288/0.7088, allocations: 0.5136 MB / 1.216 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.7089, allocations: 122.8 kB / 1.216 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.7091, allocations: 251.9 kB / 1.216 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.293e-05/0.7092, allocations: 37.7 kB / 1.216 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.7093, allocations: 132.7 kB / 1.216 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.7094, allocations: 59.2 kB / 1.216 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.7095, allocations: 101.6 kB / 1.216 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.7096, allocations: 338.8 kB / 1.217 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.7099, allocations: 163.9 kB / 1.217 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/0.7103, allocations: 298.5 kB / 1.217 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004803/0.7108, allocations: 499.3 kB / 1.218 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7108, allocations: 0 / 1.218 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008099/0.7116, allocations: 0.5741 MB / 1.218 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.43e-05/0.7117, allocations: 140.8 kB / 1.218 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.7117, allocations: 4.312 kB / 1.218 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.7117, allocations: 8 kB / 1.218 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.923e-05/0.7118, allocations: 31.92 kB / 1.218 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.7118, allocations: 4 kB / 1.218 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/0.7124, allocations: 78.58 kB / 1.218 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/0.7125, allocations: 23.98 kB / 1.218 GB, free: 2.852 MB / 0.9356 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.0002262/0.7127, allocations: 251.6 kB / 1.219 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.7128, allocations: 27.7 kB / 1.219 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.7128, allocations: 30.55 kB / 1.219 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.7128, allocations: 0 / 1.219 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.7128, allocations: 0 / 1.219 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.7129, allocations: 100.8 kB / 1.219 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.443e-05/0.7129, allocations: 27.92 kB / 1.219 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.7131, allocations: 15.98 kB / 1.219 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.7132, allocations: 47.95 kB / 1.219 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006401/0.7138, allocations: 0.6318 MB / 1.22 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006101/0.7145, allocations: 0.6033 MB / 1.22 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002293/0.7147, allocations: 199.8 kB / 1.22 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001504/0.7149, allocations: 177.5 kB / 1.221 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of Backend: time 1.623e-06/0.7149, allocations: 0 / 1.221 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009591/0.7158, allocations: 0.6622 MB / 1.221 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008608/0.7167, allocations: 0.943 MB / 1.222 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of Templates: time 0.008698/0.7254, allocations: 4.986 MB / 1.227 GB, free: 10 MB / 0.9512 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