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 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.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.00131/0.00131, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.00141/0.00141, allocations: 192.4 kB / 16.14 MB, free: 6.715 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.47/1.47, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.935/2.935, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 63.25 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4028, allocations: 157.4 MB / 1.052 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002644/0.4055, allocations: 1.203 MB / 1.053 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001807/0.4073, allocations: 1.408 MB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.4075, allocations: 4 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.482e-05/0.4075, allocations: 11.86 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.4077, allocations: 27.8 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007038/0.4084, allocations: 258.3 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.4087, allocations: 363.9 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.409, allocations: 116.2 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.4091, allocations: 131.5 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.4093, allocations: 127.4 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.729e-05/0.4093, allocations: 24 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.552e-05/0.4094, allocations: 43.91 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.4095, allocations: 39.84 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.4096, allocations: 139.3 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004196/0.4101, allocations: 454.8 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4101, allocations: 0 / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.52e-07/0.4101, allocations: 4 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.4101, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 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.0009568/0.4111, allocations: 0.6033 MB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.4111, allocations: 12.03 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.218e-05/0.4112, allocations: 28.66 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006876/0.4119, allocations: 331.7 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/0.412, allocations: 20.38 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.412, allocations: 32.31 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.4123, allocations: 169.9 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.4123, allocations: 7.938 kB / 1.058 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.4124, allocations: 12 kB / 1.058 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.4124, allocations: 4 kB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/0.4126, allocations: 112 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.4136, allocations: 0.6913 MB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004171/0.4141, allocations: 166.8 kB / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.4142, allocations: 64.84 kB / 1.059 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.4142, allocations: 0 / 1.059 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/0.4145, allocations: 132.7 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.4145, allocations: 0 / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0004535/0.4149, allocations: 222.4 kB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.415, allocations: 55.39 kB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.4152, allocations: 215 kB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/0.4153, allocations: 41.7 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.4154, allocations: 144.5 kB / 1.059 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.4154, allocations: 47.34 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.4156, allocations: 81.67 kB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4157, allocations: 338.8 kB / 1.06 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.4159, allocations: 95.95 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.4162, allocations: 163.3 kB / 1.06 GB, free: 500 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.4165, allocations: 223.4 kB / 1.06 GB, free: 252 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4165, allocations: 0 / 1.06 GB, free: 252 kB / 0.8106 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005992/0.4171, allocations: 352.7 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.276e-05/0.4171, allocations: 67.34 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4171, allocations: 7.875 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.4172, allocations: 8.125 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.03e-05/0.4172, allocations: 19.92 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.4173, allocations: 0 / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/0.4176, allocations: 75.77 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.4177, allocations: 19.98 kB / 1.061 GB, free: 15.68 MB / 0.8262 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.0001498/0.4178, allocations: 155.5 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.4179, allocations: 27.64 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.337e-05/0.4179, allocations: 21.92 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.418, allocations: 7.984 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.418, allocations: 0 / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.418, allocations: 3.984 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.4182, allocations: 285.5 kB / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4183, allocations: 4 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.848e-05/0.4183, allocations: 19.94 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.4183, allocations: 7.938 kB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.4184, allocations: 3.984 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4184, allocations: 0 / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4184, allocations: 0 / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.4187, allocations: 198.7 kB / 1.061 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.825e-05/0.4188, allocations: 100.8 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.4188, allocations: 15.94 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.309e-05/0.4189, allocations: 11.98 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.121e-05/0.419, allocations: 27.95 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.419, allocations: 15.98 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00011/0.4191, allocations: 144.4 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4191, allocations: 0 / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002924/0.4194, allocations: 63.84 kB / 1.062 GB, free: 14.49 MB / 0.8262 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.0001629/0.4196, allocations: 116.4 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005179/0.4201, allocations: 342.6 kB / 1.062 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.4201, allocations: 4 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.4203, allocations: 71.92 kB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.4206, allocations: 51.88 kB / 1.062 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006836/0.4213, allocations: 455.1 kB / 1.063 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.4216, allocations: 0.7404 MB / 1.064 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000101/0.4217, allocations: 33.88 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.4218, allocations: 19.44 kB / 1.064 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4218, allocations: 0 / 1.064 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of Templates: time 0.00654/0.4283, allocations: 3.19 MB / 1.067 GB, free: 9.441 MB / 0.8262 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=480 -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/jenkins/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