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.001354/0.001353, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001268/0.001268, allocations: 189.7 kB / 16.13 MB, free: 6.645 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.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.57 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.481/2.481, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9294/0.9307, allocations: 140.3 MB / 0.9489 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002165/0.9329, allocations: 1.206 MB / 0.9501 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.9343, allocations: 1.387 MB / 0.9515 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.11e-05/0.9344, allocations: 2.75 kB / 0.9515 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.291e-05/0.9344, allocations: 11.86 kB / 0.9515 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.9346, allocations: 34.47 kB / 0.9515 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.9351, allocations: 270 kB / 0.9518 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002641/0.9354, allocations: 366.3 kB / 0.9521 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.9356, allocations: 113.7 kB / 0.9522 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.9357, allocations: 132.4 kB / 0.9524 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.9359, allocations: 128.7 kB / 0.9525 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.448e-05/0.9359, allocations: 23.06 kB / 0.9525 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.145e-05/0.936, allocations: 34.55 kB / 0.9525 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/0.9361, allocations: 45.19 kB / 0.9526 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.9362, allocations: 138.5 kB / 0.9527 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.9366, allocations: 454.9 kB / 0.9531 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.9366, allocations: 0 / 0.9531 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.22e-07/0.9366, allocations: 1.5 kB / 0.9531 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.9366, allocations: 0 / 0.9531 GB, free: 6.176 MB / 0.7169 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.000773/0.9374, allocations: 0.6178 MB / 0.9537 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.9374, allocations: 9.188 kB / 0.9538 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.835e-05/0.9375, allocations: 38.69 kB / 0.9538 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005929/0.9381, allocations: 328.2 kB / 0.9541 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.9381, allocations: 19.66 kB / 0.9541 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.9382, allocations: 40.86 kB / 0.9542 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.9385, allocations: 160 kB / 0.9543 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.9385, allocations: 4 kB / 0.9543 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.9385, allocations: 14.11 kB / 0.9543 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.9385, allocations: 4.312 kB / 0.9543 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.9387, allocations: 111.4 kB / 0.9544 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008534/0.9396, allocations: 0.6886 MB / 0.9551 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/0.94, allocations: 167 kB / 0.9553 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.9401, allocations: 69.14 kB / 0.9553 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.9402, allocations: 6.453 kB / 0.9553 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.9404, allocations: 146.2 kB / 0.9555 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.9404, allocations: 0 / 0.9555 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0004609/0.9408, allocations: 219.6 kB / 0.9557 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.9409, allocations: 57.91 kB / 0.9558 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.941, allocations: 211.3 kB / 0.956 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/0.9411, allocations: 43.72 kB / 0.956 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.9412, allocations: 143.5 kB / 0.9561 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.9412, allocations: 45.88 kB / 0.9562 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.9414, allocations: 77.92 kB / 0.9563 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.931e-05/0.9415, allocations: 335.4 kB / 0.9566 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.9417, allocations: 97.95 kB / 0.9567 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.9419, allocations: 161.6 kB / 0.9568 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.9421, allocations: 217.3 kB / 0.957 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9422, allocations: 0 / 0.957 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005281/0.9427, allocations: 362 kB / 0.9574 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/0.9427, allocations: 67.83 kB / 0.9574 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.9428, allocations: 1.25 kB / 0.9574 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.9428, allocations: 7.469 kB / 0.9574 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.858e-05/0.9429, allocations: 12.66 kB / 0.9575 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.9429, allocations: 9.578 kB / 0.9575 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.9433, allocations: 75.48 kB / 0.9575 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.9433, allocations: 15.64 kB / 0.9576 GB, free: 2.609 MB / 0.7169 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.0001362/0.9434, allocations: 155.5 kB / 0.9577 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.9435, allocations: 24.72 kB / 0.9577 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.283e-05/0.9435, allocations: 25.42 kB / 0.9577 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.9435, allocations: 2.281 kB / 0.9577 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.9436, allocations: 1.094 kB / 0.9578 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.9436, allocations: 0 / 0.9578 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.9438, allocations: 289.4 kB / 0.958 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.9438, allocations: 7.938 kB / 0.958 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.716e-05/0.9439, allocations: 24.23 kB / 0.9581 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.9439, allocations: 1.25 kB / 0.9581 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.9439, allocations: 1.406 kB / 0.9581 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.9439, allocations: 5.062 kB / 0.9581 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.9439, allocations: 0 / 0.9581 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.9442, allocations: 198.5 kB / 0.9583 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.9442, allocations: 98.14 kB / 0.9583 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.9442, allocations: 6.188 kB / 0.9584 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.262e-05/0.9443, allocations: 19.3 kB / 0.9584 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.464e-05/0.9444, allocations: 37.59 kB / 0.9584 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.9444, allocations: 9.562 kB / 0.9584 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001029/0.9446, allocations: 143.4 kB / 0.9586 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9446, allocations: 0 / 0.9586 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002873/0.9449, allocations: 58.5 kB / 0.9586 GB, free: 1.719 MB / 0.7169 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.0001618/0.945, allocations: 116.4 kB / 0.9587 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004615/0.9455, allocations: 339.4 kB / 0.959 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.9455, allocations: 0 / 0.959 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.9456, allocations: 77.81 kB / 0.9591 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.946, allocations: 45.14 kB / 0.9592 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006516/0.9466, allocations: 446.4 kB / 0.9596 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001713/0.9468, allocations: 0.7496 MB / 0.9603 GB, free: 272 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.715e-05/0.9469, allocations: 28.55 kB / 0.9603 GB, free: 256 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.947, allocations: 24.2 kB / 0.9604 GB, free: 244 kB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.947, allocations: 0 / 0.9604 GB, free: 244 kB / 0.7169 GB Notification: Performance of Templates: time 0.007041/0.954, allocations: 3.198 MB / 0.9635 GB, free: 14.64 MB / 0.7325 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