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.001193/0.001193, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.459/1.459, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.745/2.745, allocations: 437 MB / 0.7103 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 0.8692 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8159/0.8171, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.003375/0.8206, allocations: 1.162 MB / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002634/0.8232, allocations: 1.371 MB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.8234, allocations: 4 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.289e-05/0.8235, allocations: 23.67 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.8237, allocations: 43.58 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009724/0.8247, allocations: 295.6 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005784/0.8253, allocations: 419.9 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002738/0.8256, allocations: 124.8 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.8258, allocations: 155.5 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.826, allocations: 143.4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.276e-05/0.826, allocations: 48 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.8262, allocations: 51.98 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.149e-05/0.8262, allocations: 67.72 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.8264, allocations: 155.3 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005618/0.827, allocations: 478.8 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.827, allocations: 0 / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.705e-06/0.827, allocations: 0 / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.827, allocations: 4 kB / 1.022 GB, free: 13.98 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.001047/0.8281, allocations: 0.611 MB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.8281, allocations: 8.031 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.8283, allocations: 36.56 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008158/0.8291, allocations: 331.5 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.334e-05/0.8291, allocations: 28.38 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.814e-05/0.8292, allocations: 28.38 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.8296, allocations: 177.8 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.8296, allocations: 0 / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.8296, allocations: 4 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.8296, allocations: 4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002707/0.8299, allocations: 115.9 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.831, allocations: 0.6913 MB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/0.8315, allocations: 162.8 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.8316, allocations: 64.84 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.8316, allocations: 7.938 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.8319, allocations: 147.4 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.8319, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0004393/0.8324, allocations: 218.8 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.8324, allocations: 55.41 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.8326, allocations: 211 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.8326, allocations: 37.7 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.8328, allocations: 144.5 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.912e-05/0.8329, allocations: 47.44 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.833, allocations: 77.67 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.8332, allocations: 334.8 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.8334, allocations: 103.8 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.8336, allocations: 162.8 kB / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.8339, allocations: 213.7 kB / 1.026 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.8339, allocations: 0 / 1.026 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006418/0.8346, allocations: 366.3 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.13e-05/0.8347, allocations: 71.33 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.8347, allocations: 0 / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.8347, allocations: 4 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.233e-05/0.8348, allocations: 12 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.8348, allocations: 7.938 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003899/0.8352, allocations: 83.84 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.8353, allocations: 8 kB / 1.026 GB, free: 9.168 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.000162/0.8354, allocations: 155.6 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.8355, allocations: 23.66 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.349e-05/0.8355, allocations: 21.88 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.8356, allocations: 7.922 kB / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.8356, allocations: 4 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.8356, allocations: 4 kB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.8359, allocations: 285.5 kB / 1.027 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.8359, allocations: 3.938 kB / 1.027 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.767e-05/0.8359, allocations: 19.98 kB / 1.027 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.836, allocations: 3.938 kB / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.836, allocations: 0 / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.836, allocations: 4 kB / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.836, allocations: 0 / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.8363, allocations: 206.2 kB / 1.027 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.8363, allocations: 100.9 kB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.8364, allocations: 11.94 kB / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-05/0.8365, allocations: 7.984 kB / 1.027 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.831e-05/0.8366, allocations: 39.98 kB / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.8366, allocations: 7.984 kB / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001182/0.8367, allocations: 152.2 kB / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8367, allocations: 3.938 kB / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002698/0.837, allocations: 63.84 kB / 1.027 GB, free: 7.969 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.0001907/0.8372, allocations: 112.4 kB / 1.027 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005841/0.8378, allocations: 353.6 kB / 1.028 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8378, allocations: 0 / 1.028 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.8379, allocations: 79.91 kB / 1.028 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.8383, allocations: 36.23 kB / 1.028 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006797/0.839, allocations: 384.2 kB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.8394, allocations: 0.7404 MB / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.322e-05/0.8395, allocations: 29.94 kB / 1.029 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.8395, allocations: 27.42 kB / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.8395, allocations: 0 / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of Templates: time 0.007756/0.8473, allocations: 3.481 MB / 1.032 GB, free: 2.703 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