Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 109.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.001398/0.001398, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.461/1.461, allocations: 222.9 MB / 241 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.808/2.808, allocations: 472.7 MB / 0.746 GB, free: 444 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 63.89 kB / 1.07 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137/1.139, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002563/1.141, allocations: 0.8083 MB / 1.227 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001805/1.143, allocations: 1.148 MB / 1.228 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.794e-05/1.143, allocations: 0 / 1.228 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.291e-05/1.143, allocations: 7.875 kB / 1.228 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/1.143, allocations: 19.84 kB / 1.228 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/1.144, allocations: 146.8 kB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002475/1.144, allocations: 139.8 kB / 1.229 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/1.144, allocations: 55.88 kB / 1.229 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/1.145, allocations: 51.84 kB / 1.229 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/1.145, allocations: 67.78 kB / 1.229 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/1.145, allocations: 12 kB / 1.229 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.423e-05/1.145, allocations: 23.98 kB / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.032e-05/1.145, allocations: 23.92 kB / 1.229 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.463e-05/1.145, allocations: 47.84 kB / 1.229 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002415/1.145, allocations: 155 kB / 1.229 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.145, allocations: 4 kB / 1.229 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.724e-06/1.145, allocations: 0 / 1.229 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.12e-05/1.145, allocations: 0 / 1.229 GB, free: 10.82 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007293/1.146, allocations: 433.8 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/1.146, allocations: 8.031 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.668e-05/1.146, allocations: 16.88 kB / 1.229 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/1.146, allocations: 172.3 kB / 1.23 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/1.146, allocations: 4.375 kB / 1.23 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/1.146, allocations: 12.38 kB / 1.23 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/1.147, allocations: 94.14 kB / 1.23 GB, free: 10 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/1.147, allocations: 192 / 1.23 GB, free: 10 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/1.147, allocations: 7.938 kB / 1.23 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/1.147, allocations: 0 / 1.23 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/1.147, allocations: 55.95 kB / 1.23 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006675/1.148, allocations: 384.6 kB / 1.23 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/1.148, allocations: 50.55 kB / 1.23 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/1.148, allocations: 28.94 kB / 1.23 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/1.148, allocations: 4 kB / 1.23 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002848/1.148, allocations: 95.19 kB / 1.23 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/1.148, allocations: 3.938 kB / 1.23 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0004709/1.149, allocations: 121.6 kB / 1.23 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/1.149, allocations: 55.41 kB / 1.23 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/1.149, allocations: 129.7 kB / 1.231 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/1.149, allocations: 29.7 kB / 1.231 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.387e-05/1.149, allocations: 104 kB / 1.231 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/1.149, allocations: 15.89 kB / 1.231 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-05/1.149, allocations: 37.7 kB / 1.231 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001686/1.149, allocations: 326.8 kB / 1.231 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/1.149, allocations: 44.22 kB / 1.231 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/1.15, allocations: 87.33 kB / 1.231 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/1.15, allocations: 116.2 kB / 1.231 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.15, allocations: 0 / 1.231 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000459/1.15, allocations: 195.3 kB / 1.231 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.442e-05/1.15, allocations: 41.7 kB / 1.232 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.15, allocations: 0 / 1.232 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/1.15, allocations: 4 kB / 1.232 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/1.151, allocations: 11.92 kB / 1.232 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/1.151, allocations: 4 kB / 1.232 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/1.151, allocations: 35.89 kB / 1.232 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/1.151, allocations: 11.98 kB / 1.232 GB, free: 7.867 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.000118/1.151, allocations: 122.4 kB / 1.232 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/1.151, allocations: 7.953 kB / 1.232 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.949e-05/1.151, allocations: 12.38 kB / 1.232 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.151, allocations: 0 / 1.232 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.151, allocations: 0 / 1.232 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.586e-05/1.151, allocations: 92.97 kB / 1.232 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/1.151, allocations: 4 kB / 1.232 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.02e-05/1.151, allocations: 7.984 kB / 1.232 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/1.151, allocations: 15.98 kB / 1.232 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003395/1.152, allocations: 184.8 kB / 1.232 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003302/1.152, allocations: 274.6 kB / 1.232 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001103/1.152, allocations: 35.98 kB / 1.232 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.637e-05/1.152, allocations: 91.7 kB / 1.232 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of Backend: time 4.81e-07/1.152, allocations: 0 / 1.232 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006653/1.153, allocations: 229.9 kB / 1.233 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006924/1.154, allocations: 0.6245 MB / 1.233 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of Templates: time 0.005151/1.159, allocations: 1.755 MB / 1.235 GB, free: 4.328 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches