Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.01125/0.01125, allocations: 96.7 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.002398/0.002398, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.578/1.578, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.112/3.112, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 63.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3598, allocations: 151.6 MB / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.003168/0.363, allocations: 1.151 MB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002714/0.3657, allocations: 1.377 MB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002767/0.366, allocations: 8 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.3662, allocations: 23.67 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.3665, allocations: 35.66 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.3675, allocations: 295.2 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006547/0.3682, allocations: 435.8 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002883/0.3685, allocations: 112.2 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003302/0.3688, allocations: 159.5 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003322/0.3692, allocations: 155.4 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.3693, allocations: 44 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.3695, allocations: 59.98 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.284e-05/0.3696, allocations: 71.72 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.3698, allocations: 159.3 kB / 1.171 GB, free: 2.723 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006683/0.3705, allocations: 486.2 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3705, allocations: 0 / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3705, allocations: 0 / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.228e-05/0.3705, allocations: 4 kB / 1.171 GB, free: 2.242 MB / 0.92 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.001245/0.3718, allocations: 0.6147 MB / 1.172 GB, free: 1.566 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.3718, allocations: 12.03 kB / 1.172 GB, free: 1.555 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.372, allocations: 36.75 kB / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007504/0.3727, allocations: 331.5 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.419e-05/0.3728, allocations: 28.31 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.658e-05/0.3728, allocations: 28.31 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.3732, allocations: 173.9 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3732, allocations: 0 / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.3733, allocations: 8 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3733, allocations: 8 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.3735, allocations: 111.9 kB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.3746, allocations: 0.6915 MB / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004699/0.3751, allocations: 162.8 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.3752, allocations: 72.83 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.3753, allocations: 0 / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002551/0.3755, allocations: 141.8 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.323e-06/0.3755, allocations: 4 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0004744/0.376, allocations: 213.5 kB / 1.174 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.3761, allocations: 51.41 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.3763, allocations: 216.1 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/0.3764, allocations: 37.7 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.3765, allocations: 148.7 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.794e-05/0.3765, allocations: 47.67 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.3767, allocations: 77.67 kB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3768, allocations: 338.8 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.3771, allocations: 99.95 kB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.3773, allocations: 159.8 kB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.3776, allocations: 218.5 kB / 1.175 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.3777, allocations: 0 / 1.175 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005904/0.3782, allocations: 352.7 kB / 1.175 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.56e-05/0.3783, allocations: 77.3 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3783, allocations: 0 / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.3784, allocations: 4 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.232e-05/0.3785, allocations: 28.11 kB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.3785, allocations: 3.984 kB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.3789, allocations: 79.7 kB / 1.175 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.3789, allocations: 19.98 kB / 1.175 GB, free: 13.41 MB / 0.9356 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.0001718/0.3791, allocations: 156.2 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.3791, allocations: 19.84 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/0.3792, allocations: 25.86 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3792, allocations: 4 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3792, allocations: 0 / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3792, allocations: 0 / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.3796, allocations: 293.4 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3796, allocations: 0 / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.587e-05/0.3796, allocations: 23.92 kB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.3797, allocations: 3.938 kB / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.3797, allocations: 8 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3797, allocations: 0 / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3797, allocations: 0 / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.38, allocations: 198.8 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.3801, allocations: 96.89 kB / 1.176 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.3801, allocations: 15.92 kB / 1.176 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.193e-05/0.3802, allocations: 19.98 kB / 1.176 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.3803, allocations: 31.89 kB / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.3804, allocations: 12 kB / 1.176 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001319/0.3805, allocations: 143.4 kB / 1.176 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3805, allocations: 0 / 1.176 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002971/0.3808, allocations: 59.89 kB / 1.177 GB, free: 12.22 MB / 0.9356 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.0002026/0.381, allocations: 116.4 kB / 1.177 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005554/0.3816, allocations: 346.6 kB / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3816, allocations: 0 / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.3817, allocations: 75.91 kB / 1.177 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.3821, allocations: 46.3 kB / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007168/0.3828, allocations: 391.7 kB / 1.177 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.3831, allocations: 0.7363 MB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.3833, allocations: 29.94 kB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.3833, allocations: 27.42 kB / 1.178 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of SimCode: time 5.31e-07/0.3833, allocations: 0 / 1.178 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of Templates: time 0.007651/0.391, allocations: 3.491 MB / 1.182 GB, free: 6.938 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches