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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0012/0.0012, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.001229/0.001229, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.485/2.485, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 61.94 kB / 0.8774 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3635, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.003034/0.3666, allocations: 1.162 MB / 1.028 GB, free: 0.918 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002172/0.3688, allocations: 1.385 MB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.3689, allocations: 4 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.418e-05/0.3691, allocations: 23.67 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.3692, allocations: 43.59 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008534/0.3701, allocations: 293.7 kB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004338/0.3705, allocations: 427.8 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.3708, allocations: 120.2 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.371, allocations: 159.5 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.3712, allocations: 155.4 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.352e-05/0.3713, allocations: 48 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.3714, allocations: 63.98 kB / 1.031 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.3714, allocations: 55.78 kB / 1.031 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.3716, allocations: 159.3 kB / 1.031 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004907/0.3721, allocations: 490.4 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.3721, allocations: 0 / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3721, allocations: 0 / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.3721, allocations: 0 / 1.031 GB, free: 13.51 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.0009175/0.3731, allocations: 0.6071 MB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.3731, allocations: 15.97 kB / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.178e-05/0.3732, allocations: 28.66 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006784/0.3739, allocations: 331.7 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/0.374, allocations: 24.36 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.006e-05/0.374, allocations: 32.31 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.3744, allocations: 169.9 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3744, allocations: 0 / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.3744, allocations: 12 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3744, allocations: 4 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.3746, allocations: 112 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.3758, allocations: 0.6796 MB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/0.3763, allocations: 166.2 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.3764, allocations: 72.81 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.3765, allocations: 0 / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/0.3767, allocations: 139.2 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.933e-06/0.3767, allocations: 0 / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0004448/0.3772, allocations: 219.1 kB / 1.034 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.3772, allocations: 55.41 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.3774, allocations: 223 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.3775, allocations: 37.64 kB / 1.034 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.3776, allocations: 144.4 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.3777, allocations: 51.34 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.3778, allocations: 81.67 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3779, allocations: 330.8 kB / 1.035 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.3781, allocations: 95.95 kB / 1.035 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.3784, allocations: 159.8 kB / 1.035 GB, free: 9.516 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.3787, allocations: 217.5 kB / 1.035 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3787, allocations: 0 / 1.035 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005631/0.3793, allocations: 359.7 kB / 1.035 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.805e-05/0.3793, allocations: 71.33 kB / 1.035 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3794, allocations: 0 / 1.035 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.3794, allocations: 8.125 kB / 1.035 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.239e-05/0.3795, allocations: 19.92 kB / 1.035 GB, free: 8.801 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.3795, allocations: 7.984 kB / 1.035 GB, free: 8.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004136/0.3799, allocations: 79.77 kB / 1.036 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.38, allocations: 15.98 kB / 1.036 GB, free: 8.699 MB / 0.8106 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.0001666/0.3801, allocations: 151.5 kB / 1.036 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.3802, allocations: 27.66 kB / 1.036 GB, free: 8.516 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.164e-05/0.3802, allocations: 29.8 kB / 1.036 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3803, allocations: 0 / 1.036 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.3803, allocations: 0 / 1.036 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.3803, allocations: 0 / 1.036 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.3806, allocations: 289.4 kB / 1.036 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3806, allocations: 8 kB / 1.036 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.33e-05/0.3806, allocations: 15.98 kB / 1.036 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3807, allocations: 7.938 kB / 1.036 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.3807, allocations: 3.938 kB / 1.036 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3807, allocations: 0 / 1.036 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3807, allocations: 4 kB / 1.036 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.381, allocations: 198.5 kB / 1.036 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/0.3811, allocations: 96.86 kB / 1.036 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.3811, allocations: 15.92 kB / 1.036 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-05/0.3812, allocations: 11.98 kB / 1.036 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.191e-05/0.3813, allocations: 31.97 kB / 1.036 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.3813, allocations: 11.92 kB / 1.036 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001194/0.3814, allocations: 148.4 kB / 1.037 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3814, allocations: 0 / 1.037 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002801/0.3817, allocations: 67.75 kB / 1.037 GB, free: 7.516 MB / 0.8106 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.000166/0.3819, allocations: 119.2 kB / 1.037 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004758/0.3824, allocations: 338.6 kB / 1.037 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3824, allocations: 0 / 1.037 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.3825, allocations: 82.14 kB / 1.037 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.3828, allocations: 37.73 kB / 1.037 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006276/0.3835, allocations: 368.3 kB / 1.038 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.3838, allocations: 0.7443 MB / 1.038 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.85e-05/0.3839, allocations: 21.94 kB / 1.038 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.3839, allocations: 27.42 kB / 1.038 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of SimCode: time 2.8e-07/0.3839, allocations: 4 kB / 1.038 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of Templates: time 0.007028/0.391, allocations: 3.486 MB / 1.042 GB, free: 2.258 MB / 0.8106 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 -s gbode -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