Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.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.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 106.2 kB / 15.99 MB, free: 6.352 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.001969/0.001969, allocations: 193.2 kB / 16.91 MB, free: 6.195 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.446/1.446, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.772/2.772, allocations: 482.4 MB / 0.755 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 68.89 kB / 0.924 GB, free: 316 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9682/0.9701, allocations: 162.2 MB / 1.082 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002719/0.9729, allocations: 1.213 MB / 1.084 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002051/0.975, allocations: 1.36 MB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.9752, allocations: 6.875 kB / 1.085 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.9754, allocations: 15.34 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.9756, allocations: 26.55 kB / 1.085 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.9767, allocations: 270.5 kB / 1.085 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0007272/0.9775, allocations: 422.4 kB / 1.086 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003228/0.9778, allocations: 123.2 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003409/0.9781, allocations: 156.9 kB / 1.086 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003091/0.9785, allocations: 140.7 kB / 1.086 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.9786, allocations: 45.06 kB / 1.086 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.9788, allocations: 63.2 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.785e-05/0.9789, allocations: 63.2 kB / 1.086 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002686/0.9792, allocations: 161.1 kB / 1.086 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006048/0.9798, allocations: 380.2 kB / 1.087 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.9798, allocations: 0.7031 kB / 1.087 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9798, allocations: 0 / 1.087 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.888e-05/0.9798, allocations: 0 / 1.087 GB, free: 14.96 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001381/0.9812, allocations: 0.6073 MB / 1.087 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.9813, allocations: 9.344 kB / 1.087 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.9815, allocations: 30.86 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008838/0.9823, allocations: 334.1 kB / 1.088 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.444e-05/0.9824, allocations: 25.23 kB / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.487e-05/0.9825, allocations: 29.95 kB / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.9829, allocations: 175.1 kB / 1.088 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.9829, allocations: 7.875 kB / 1.088 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.9829, allocations: 7.531 kB / 1.088 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.983, allocations: 3.875 kB / 1.088 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002557/0.9832, allocations: 112.5 kB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.9845, allocations: 0.6945 MB / 1.089 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.985, allocations: 163.8 kB / 1.089 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.9852, allocations: 67.23 kB / 1.089 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.9852, allocations: 1.688 kB / 1.089 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002711/0.9855, allocations: 133.9 kB / 1.089 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 5.811e-06/0.9855, allocations: 0 / 1.089 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20): time 0.0005207/0.986, allocations: 227.9 kB / 1.089 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/0.9861, allocations: 58.86 kB / 1.089 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.9864, allocations: 212.7 kB / 1.09 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.284e-05/0.9865, allocations: 37.59 kB / 1.09 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.9866, allocations: 146.8 kB / 1.09 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.387e-05/0.9867, allocations: 45.59 kB / 1.09 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.9869, allocations: 77.94 kB / 1.09 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.9871, allocations: 333.8 kB / 1.09 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.9874, allocations: 97.66 kB / 1.09 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003183/0.9877, allocations: 167.1 kB / 1.09 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003726/0.9881, allocations: 217.9 kB / 1.091 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.9881, allocations: 0 / 1.091 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000749/0.9889, allocations: 358.8 kB / 1.091 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.192e-05/0.989, allocations: 70.16 kB / 1.091 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.989, allocations: 1.047 kB / 1.091 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.579e-05/0.989, allocations: 6.359 kB / 1.091 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.161e-05/0.9891, allocations: 20.17 kB / 1.091 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.9892, allocations: 2.062 kB / 1.091 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004742/0.9896, allocations: 80.48 kB / 1.091 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.9897, allocations: 17.67 kB / 1.091 GB, free: 11.86 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,uHea.booPul.y,$PRE.uHea.booPul.y,uCoo.booPul.y,$PRE.uCoo.booPul.y,zonSta.addInt.y,zonSta.notHea.y,zonSta.hysU.y,$PRE.zonSta.hysU.y,zonSta.isCoo.y,zonSta.hysUCoo.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUHea.y,$PRE.zonSta.hysUHea.y,zonSta.booToIntDea.y,zonSta.isDea.y,zonSta.booToIntCoo.y,zonSta.booToIntHea.y,zonSta.yZonSta) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * 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.0002106/0.9899, allocations: 150.2 kB / 1.091 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.99, allocations: 25.2 kB / 1.091 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.053e-05/0.99, allocations: 24.25 kB / 1.091 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.9901, allocations: 2.594 kB / 1.091 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.9901, allocations: 1.25 kB / 1.091 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.9901, allocations: 1.125 kB / 1.091 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.9904, allocations: 302.1 kB / 1.092 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.9905, allocations: 0 / 1.092 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.448e-05/0.9905, allocations: 18.83 kB / 1.092 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.9906, allocations: 4.875 kB / 1.092 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.9906, allocations: 3 kB / 1.092 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.9906, allocations: 8.781 kB / 1.092 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.9906, allocations: 4.906 kB / 1.092 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.9909, allocations: 196.6 kB / 1.092 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/0.991, allocations: 99.92 kB / 1.092 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.9911, allocations: 11.41 kB / 1.092 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.813e-05/0.9912, allocations: 11.03 kB / 1.092 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.9913, allocations: 33.53 kB / 1.092 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.9913, allocations: 9.859 kB / 1.092 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001445/0.9914, allocations: 142.5 kB / 1.092 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.9914, allocations: 0 / 1.092 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003374/0.9918, allocations: 64.08 kB / 1.092 GB, free: 11.06 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uCoo.booPul.y,uHea.booPul.y) * Number of discrete states: 3 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001969/0.992, allocations: 118.1 kB / 1.092 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006458/0.9927, allocations: 351 kB / 1.093 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.9927, allocations: 1.25 kB / 1.093 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.9928, allocations: 80.23 kB / 1.093 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.9932, allocations: 32.41 kB / 1.093 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009116/0.9941, allocations: 486.8 kB / 1.093 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.9946, allocations: 0.7431 MB / 1.094 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.983e-05/0.9947, allocations: 24.58 kB / 1.094 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.9947, allocations: 0 / 1.094 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of Templates: time 0.008807/1.004, allocations: 3.307 MB / 1.097 GB, free: 9.285 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches