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.001198/0.001198, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001215/0.001215, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.441/1.441, allocations: 222.9 MB / 239.9 MB, free: 4.566 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 2.747/2.747, allocations: 437 MB / 0.71 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.00147, allocations: 63.89 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8246/0.8261, allocations: 151.6 MB / 1.017 GB, free: 2.91 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002962/0.8291, allocations: 1.212 MB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.8311, allocations: 1.362 MB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.8313, allocations: 4 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 7.676e-05/0.8314, allocations: 15.8 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.8315, allocations: 27.78 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007241/0.8323, allocations: 275.2 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004241/0.8327, allocations: 419.9 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.8329, allocations: 120.2 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.8331, allocations: 163.5 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.8333, allocations: 139.4 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.205e-05/0.8334, allocations: 44 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.8335, allocations: 59.98 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.359e-05/0.8335, allocations: 63.72 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.8337, allocations: 159.3 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004646/0.8342, allocations: 476.7 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.8342, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8342, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.106e-06/0.8342, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 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.0009499/0.8352, allocations: 0.6149 MB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.8352, allocations: 12.02 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.172e-05/0.8353, allocations: 28.66 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000708/0.836, allocations: 327.7 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.252e-05/0.8361, allocations: 24.38 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.8361, allocations: 24.38 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.8364, allocations: 173.8 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.8365, allocations: 4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.8365, allocations: 8 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.8365, allocations: 4 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.8367, allocations: 111.9 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.8377, allocations: 0.7029 MB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/0.8382, allocations: 166.8 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.8383, allocations: 64.84 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.8383, allocations: 4 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.8386, allocations: 133.5 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.8386, allocations: 3.938 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0004454/0.839, allocations: 217.4 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.8391, allocations: 55.41 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.8393, allocations: 214.8 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/0.8394, allocations: 37.7 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.8395, allocations: 152.7 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/0.8396, allocations: 43.36 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.8397, allocations: 85.61 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.8399, allocations: 334.8 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.8401, allocations: 99.89 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.8403, allocations: 158.8 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.8406, allocations: 213.8 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.8406, allocations: 3.938 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000637/0.8413, allocations: 364.7 kB / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.612e-05/0.8414, allocations: 67.33 kB / 1.025 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.8414, allocations: 0 / 1.025 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.8414, allocations: 4 kB / 1.025 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.785e-05/0.8415, allocations: 16 kB / 1.026 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.8415, allocations: 7.938 kB / 1.026 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.8419, allocations: 83.88 kB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.842, allocations: 8 kB / 1.026 GB, free: 9.574 MB / 0.7794 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.0001816/0.8421, allocations: 156.1 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.8422, allocations: 23.66 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.154e-05/0.8423, allocations: 21.92 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.8423, allocations: 7.984 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.8423, allocations: 0 / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.8423, allocations: 15.86 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.8426, allocations: 289.5 kB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.8426, allocations: 4 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.712e-05/0.8427, allocations: 15.98 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.8427, allocations: 3.938 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.8427, allocations: 4 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.8427, allocations: 4 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8427, allocations: 0 / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.843, allocations: 202.1 kB / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.8431, allocations: 92.92 kB / 1.026 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.8431, allocations: 7.938 kB / 1.026 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.372e-05/0.8432, allocations: 15.98 kB / 1.026 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.085e-05/0.8433, allocations: 35.95 kB / 1.026 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.8434, allocations: 4 kB / 1.026 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001292/0.8435, allocations: 156.2 kB / 1.027 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8435, allocations: 4 kB / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002888/0.8438, allocations: 55.84 kB / 1.027 GB, free: 8.383 MB / 0.7794 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.0001849/0.844, allocations: 117.7 kB / 1.027 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005181/0.8445, allocations: 352.3 kB / 1.027 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.8445, allocations: 0 / 1.027 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.8447, allocations: 84.16 kB / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.845, allocations: 47.05 kB / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006898/0.8457, allocations: 458.6 kB / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.846, allocations: 0.7363 MB / 1.028 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.545e-05/0.8461, allocations: 25.94 kB / 1.028 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.948e-05/0.8462, allocations: 23.44 kB / 1.028 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8462, allocations: 0 / 1.028 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of Templates: time 0.007102/0.8533, allocations: 3.344 MB / 1.032 GB, free: 3.176 MB / 0.7794 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