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.001388/0.001388, allocations: 98.88 kB / 16.02 MB, free: 76 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.002149/0.002149, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.43/1.43, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.889/2.889, allocations: 462.6 MB / 0.737 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.000362, allocations: 8.469 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3375, allocations: 159.6 MB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001648/0.3392, allocations: 0.8527 MB / 1.06 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002291/0.3415, allocations: 1.388 MB / 1.062 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.3417, allocations: 4 kB / 1.062 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.789e-05/0.3418, allocations: 11.86 kB / 1.062 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.342, allocations: 31.72 kB / 1.062 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008352/0.3429, allocations: 257.7 kB / 1.062 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004807/0.3434, allocations: 363.9 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.3437, allocations: 112.2 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.3439, allocations: 119.5 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.3442, allocations: 103.5 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.741e-05/0.3442, allocations: 16 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.3443, allocations: 23.98 kB / 1.063 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.291e-05/0.3444, allocations: 47.7 kB / 1.063 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.3446, allocations: 141.1 kB / 1.063 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004182/0.345, allocations: 363.3 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.345, allocations: 0 / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.706e-06/0.345, allocations: 0 / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.3451, allocations: 4 kB / 1.063 GB, free: 1.09 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.0009509/0.346, allocations: 0.5527 MB / 1.064 GB, free: 488 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.3461, allocations: 19.95 kB / 1.064 GB, free: 468 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.3462, allocations: 32.56 kB / 1.064 GB, free: 436 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007484/0.347, allocations: 331.8 kB / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.72e-05/0.347, allocations: 24.38 kB / 1.064 GB, free: 40 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.587e-05/0.3471, allocations: 28.31 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.3475, allocations: 177.9 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3475, allocations: 0 / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.3475, allocations: 8 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3475, allocations: 8 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.3477, allocations: 111.9 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.3488, allocations: 0.7068 MB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.3493, allocations: 162.8 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.3494, allocations: 80.77 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.3494, allocations: 0 / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.3497, allocations: 139.3 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.3497, allocations: 0 / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0004492/0.3501, allocations: 219.9 kB / 1.066 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.3502, allocations: 55.41 kB / 1.066 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.3504, allocations: 215.1 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.802e-05/0.3505, allocations: 37.7 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.3506, allocations: 144.4 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.777e-05/0.3507, allocations: 51.44 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.734e-05/0.3507, allocations: 45.69 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3509, allocations: 330.8 kB / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.3511, allocations: 107.9 kB / 1.067 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.3513, allocations: 154.8 kB / 1.067 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.3516, allocations: 218.4 kB / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3517, allocations: 4 kB / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000582/0.3522, allocations: 353.5 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.25e-05/0.3523, allocations: 75.39 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.3523, allocations: 4 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3523, allocations: 0 / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.257e-05/0.3524, allocations: 19.98 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3525, allocations: 0 / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004488/0.3529, allocations: 103.8 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/0.353, allocations: 19.98 kB / 1.067 GB, free: 12.3 MB / 0.8262 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.0001767/0.3531, allocations: 151.5 kB / 1.068 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.3532, allocations: 19.75 kB / 1.068 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.942e-05/0.3533, allocations: 29.8 kB / 1.068 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3533, allocations: 4 kB / 1.068 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3533, allocations: 0 / 1.068 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3533, allocations: 0 / 1.068 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.3536, allocations: 293.4 kB / 1.068 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3536, allocations: 3.984 kB / 1.068 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.661e-05/0.3537, allocations: 19.98 kB / 1.068 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.3537, allocations: 11.92 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.3537, allocations: 7.984 kB / 1.068 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3537, allocations: 0 / 1.068 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3537, allocations: 0 / 1.068 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.354, allocations: 190.6 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.205e-05/0.3541, allocations: 100.8 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.3541, allocations: 11.92 kB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.659e-05/0.3542, allocations: 27.92 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.432e-05/0.3543, allocations: 31.89 kB / 1.068 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.3544, allocations: 12 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001239/0.3545, allocations: 144.4 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3545, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003011/0.3548, allocations: 71.83 kB / 1.068 GB, free: 11.11 MB / 0.8262 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.000201/0.355, allocations: 113 kB / 1.069 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004852/0.3555, allocations: 342.5 kB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3555, allocations: 4 kB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.3557, allocations: 75.92 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.356, allocations: 44.5 kB / 1.069 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007509/0.3568, allocations: 483.6 kB / 1.07 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.3571, allocations: 0.7404 MB / 1.07 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.474e-05/0.3572, allocations: 23.42 kB / 1.07 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3572, allocations: 0 / 1.07 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of Templates: time 0.005949/0.3631, allocations: 3.279 MB / 1.073 GB, free: 5.953 MB / 0.8262 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 -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