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.009015/0.009015, allocations: 100.4 kB / 15.73 MB, free: 5.977 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.002303/0.002303, allocations: 195.8 kB / 16.67 MB, free: 5.914 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.525/1.525, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.517/2.517, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 62.56 kB / 0.9508 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3348, allocations: 140.4 MB / 1.088 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002425/0.3373, allocations: 1.159 MB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001915/0.3392, allocations: 1.377 MB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.3394, allocations: 4 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.337e-05/0.3394, allocations: 23.67 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.3396, allocations: 39.59 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007429/0.3403, allocations: 301.2 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004078/0.3407, allocations: 423.9 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.341, allocations: 120.2 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.3412, allocations: 159.5 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.3414, allocations: 155.3 kB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.848e-05/0.3414, allocations: 44 kB / 1.092 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.3415, allocations: 59.98 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.3416, allocations: 63.72 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.3418, allocations: 159.3 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004844/0.3423, allocations: 486.4 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3423, allocations: 4 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.126e-06/0.3423, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.3423, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 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.0009044/0.3432, allocations: 0.6149 MB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3433, allocations: 8.031 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.433e-05/0.3434, allocations: 32.66 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006499/0.344, allocations: 327.8 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/0.3441, allocations: 24.31 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.315e-05/0.3441, allocations: 28.12 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.3444, allocations: 173.5 kB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3445, allocations: 0 / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.3445, allocations: 8 kB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.3445, allocations: 4 kB / 1.094 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.3447, allocations: 111.9 kB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.3457, allocations: 0.6952 MB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.3462, allocations: 162.8 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.3463, allocations: 69.11 kB / 1.095 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.3463, allocations: 7.938 kB / 1.095 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002942/0.3466, allocations: 127.3 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/0.3466, allocations: 0 / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0004784/0.3471, allocations: 218.7 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.3472, allocations: 67.33 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.3474, allocations: 210.9 kB / 1.095 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.892e-05/0.3474, allocations: 41.7 kB / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.3476, allocations: 136.5 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.221e-05/0.3476, allocations: 55.28 kB / 1.095 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.3478, allocations: 77.67 kB / 1.095 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3479, allocations: 330.8 kB / 1.096 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.3481, allocations: 99.95 kB / 1.096 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.3484, allocations: 163.8 kB / 1.096 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.3487, allocations: 217.3 kB / 1.096 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3487, allocations: 0 / 1.096 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005932/0.3493, allocations: 359.9 kB / 1.097 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.514e-05/0.3494, allocations: 63.41 kB / 1.097 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3494, allocations: 0 / 1.097 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.3494, allocations: 11.86 kB / 1.097 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.304e-05/0.3495, allocations: 20 kB / 1.097 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3495, allocations: 0 / 1.097 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.3499, allocations: 87.78 kB / 1.097 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.35, allocations: 12 kB / 1.097 GB, free: 8.18 MB / 0.8575 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.000153/0.3501, allocations: 155.5 kB / 1.097 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.3502, allocations: 23.75 kB / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.832e-05/0.3502, allocations: 21.88 kB / 1.097 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3502, allocations: 4 kB / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3503, allocations: 0 / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3503, allocations: 3.984 kB / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/0.3506, allocations: 293.4 kB / 1.097 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3506, allocations: 3.938 kB / 1.097 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.122e-05/0.3507, allocations: 15.94 kB / 1.097 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3507, allocations: 0 / 1.097 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.3508, allocations: 15.98 kB / 1.097 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3508, allocations: 4 kB / 1.097 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3508, allocations: 0 / 1.097 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.3511, allocations: 195.1 kB / 1.097 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.138e-05/0.3512, allocations: 92.86 kB / 1.098 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.89e-05/0.3513, allocations: 8 kB / 1.098 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.951e-05/0.3514, allocations: 19.92 kB / 1.098 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.3515, allocations: 31.95 kB / 1.098 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.3515, allocations: 8 kB / 1.098 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001556/0.3517, allocations: 148.4 kB / 1.098 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3517, allocations: 0 / 1.098 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003261/0.352, allocations: 67.73 kB / 1.098 GB, free: 6.996 MB / 0.8575 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.0001969/0.3522, allocations: 119.2 kB / 1.098 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005272/0.3527, allocations: 350.6 kB / 1.098 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3527, allocations: 0 / 1.098 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.3529, allocations: 75.92 kB / 1.098 GB, free: 6.426 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.3532, allocations: 51.61 kB / 1.098 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006868/0.3539, allocations: 358.5 kB / 1.099 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.3542, allocations: 0.7442 MB / 1.099 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.85e-05/0.3543, allocations: 33.97 kB / 1.099 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.652e-05/0.3544, allocations: 27.38 kB / 1.099 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3544, allocations: 0 / 1.099 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of Templates: time 0.007476/0.3619, allocations: 3.605 MB / 1.103 GB, free: 1.602 MB / 0.8575 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