Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.009693/0.009694, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.002094/0.002094, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.548/2.548, allocations: 390.2 MB / 0.6648 GB, free: 136 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 70.53 kB / 0.9508 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3594, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002407/0.3618, allocations: 1.143 MB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001937/0.3638, allocations: 1.381 MB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.3639, allocations: 0 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.054e-05/0.364, allocations: 27.67 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.3642, allocations: 47.58 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007668/0.3649, allocations: 297.5 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004613/0.3654, allocations: 431.8 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.3657, allocations: 112.2 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.3659, allocations: 159.5 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.3661, allocations: 159.3 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.191e-05/0.3662, allocations: 44 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.3663, allocations: 59.98 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.988e-05/0.3664, allocations: 63.77 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.3665, allocations: 159.3 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005025/0.367, allocations: 494.4 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3671, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3671, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3671, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 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.0009338/0.368, allocations: 0.611 MB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.3681, allocations: 12.03 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.854e-05/0.3682, allocations: 32.66 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006411/0.3688, allocations: 323.8 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.3689, allocations: 20.38 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.3689, allocations: 36.05 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.3692, allocations: 165.5 kB / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3693, allocations: 4 kB / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.3693, allocations: 19.88 kB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.3693, allocations: 4 kB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.3695, allocations: 112 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009447/0.3705, allocations: 0.6835 MB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/0.3709, allocations: 174.8 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.371, allocations: 65.12 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.371, allocations: 7.938 kB / 1.095 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003173/0.3714, allocations: 128.9 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.813e-06/0.3714, allocations: 0 / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0004431/0.3718, allocations: 223.1 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.3719, allocations: 63.34 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.3721, allocations: 210.9 kB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.3721, allocations: 37.7 kB / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.3723, allocations: 144.5 kB / 1.095 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5e-05/0.3723, allocations: 51.3 kB / 1.095 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.3725, allocations: 81.67 kB / 1.095 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3726, allocations: 330.8 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.3728, allocations: 95.95 kB / 1.096 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.373, allocations: 159.8 kB / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.3733, allocations: 217.3 kB / 1.096 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.3733, allocations: 0 / 1.096 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005508/0.3739, allocations: 361.6 kB / 1.097 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/0.374, allocations: 59.41 kB / 1.097 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.374, allocations: 3.938 kB / 1.097 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.374, allocations: 8.125 kB / 1.097 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.839e-05/0.3741, allocations: 23.92 kB / 1.097 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3741, allocations: 4 kB / 1.097 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.3744, allocations: 79.67 kB / 1.097 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.432e-05/0.3745, allocations: 11.98 kB / 1.097 GB, free: 8.125 MB / 0.8575 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.000162/0.3747, allocations: 159.5 kB / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.3747, allocations: 19.8 kB / 1.097 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.941e-05/0.3748, allocations: 29.84 kB / 1.097 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3748, allocations: 0 / 1.097 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3748, allocations: 0 / 1.097 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3748, allocations: 4 kB / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.3751, allocations: 301.3 kB / 1.097 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3751, allocations: 7.938 kB / 1.097 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.493e-05/0.3752, allocations: 15.94 kB / 1.097 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3752, allocations: 0 / 1.097 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.3752, allocations: 7.984 kB / 1.097 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3752, allocations: 4 kB / 1.097 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3752, allocations: 0 / 1.097 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.3755, allocations: 192.8 kB / 1.097 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/0.3756, allocations: 96.84 kB / 1.098 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.3756, allocations: 12 kB / 1.098 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.3757, allocations: 11.98 kB / 1.098 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.834e-05/0.3758, allocations: 35.95 kB / 1.098 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.3758, allocations: 8 kB / 1.098 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001288/0.3759, allocations: 148.4 kB / 1.098 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3759, allocations: 0 / 1.098 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002736/0.3762, allocations: 59.75 kB / 1.098 GB, free: 6.938 MB / 0.8575 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.0001882/0.3764, allocations: 131.2 kB / 1.098 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005057/0.3769, allocations: 340.6 kB / 1.098 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3769, allocations: 0 / 1.098 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.3771, allocations: 79.91 kB / 1.098 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.3774, allocations: 47.94 kB / 1.098 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006853/0.3781, allocations: 365.1 kB / 1.099 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.3785, allocations: 0.744 MB / 1.099 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.478e-05/0.3785, allocations: 25.89 kB / 1.099 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.3786, allocations: 27.42 kB / 1.099 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3786, allocations: 4 kB / 1.1 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of Templates: time 0.007594/0.3862, allocations: 3.497 MB / 1.103 GB, free: 1.652 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches