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.001441/0.001441, allocations: 100.1 kB / 15.88 MB, free: 12 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.001664/0.001664, allocations: 199.5 kB / 16.79 MB, free: 6.809 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.4/1.4, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.759/2.759, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 62.31 kB / 0.8991 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3482, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002847/0.3511, allocations: 1.203 MB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002135/0.3532, allocations: 1.404 MB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.3535, allocations: 4 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.683e-05/0.3536, allocations: 15.8 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.3538, allocations: 27.78 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008537/0.3546, allocations: 270.3 kB / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004055/0.355, allocations: 363.9 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002507/0.3553, allocations: 112.2 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.3555, allocations: 127.5 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.3558, allocations: 127.4 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.156e-05/0.3559, allocations: 23.98 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.356, allocations: 31.98 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.786e-05/0.356, allocations: 47.72 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.3562, allocations: 135.3 kB / 1.057 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004013/0.3566, allocations: 371.4 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3566, allocations: 0 / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3567, allocations: 0 / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.3567, allocations: 0 / 1.057 GB, free: 4.047 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.001119/0.3578, allocations: 0.6111 MB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.3579, allocations: 15.97 kB / 1.058 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.358, allocations: 32.66 kB / 1.058 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007561/0.3588, allocations: 335.6 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.3588, allocations: 20.38 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.546e-05/0.3589, allocations: 24.38 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.3592, allocations: 181.8 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3592, allocations: 4 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.3592, allocations: 8 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3593, allocations: 4 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.3595, allocations: 108 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.3605, allocations: 0.6952 MB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.361, allocations: 158.8 kB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.3611, allocations: 80.81 kB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.3611, allocations: 0 / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003039/0.3614, allocations: 135.2 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.884e-06/0.3615, allocations: 4 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0004635/0.3619, allocations: 211.1 kB / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.362, allocations: 55.41 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.3622, allocations: 223 kB / 1.06 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/0.3623, allocations: 37.7 kB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.3625, allocations: 136.5 kB / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.39e-05/0.3626, allocations: 55.28 kB / 1.06 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.3627, allocations: 81.67 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.3629, allocations: 342.8 kB / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.3631, allocations: 99.95 kB / 1.06 GB, free: 208 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.3633, allocations: 150.8 kB / 1.061 GB, free: 32 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/0.3636, allocations: 221.1 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3637, allocations: 4 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005918/0.3643, allocations: 352.4 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.104e-05/0.3643, allocations: 71.33 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3643, allocations: 0 / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3644, allocations: 128 / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.892e-05/0.3645, allocations: 27.98 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.3645, allocations: 3.938 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/0.3649, allocations: 71.77 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/0.3649, allocations: 19.98 kB / 1.061 GB, free: 15.22 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.0001705/0.3651, allocations: 151.6 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.3651, allocations: 23.66 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.25e-05/0.3652, allocations: 25.86 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.3652, allocations: 8 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3652, allocations: 7.875 kB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3652, allocations: 0 / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.3655, allocations: 289.5 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3655, allocations: 0 / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.609e-05/0.3656, allocations: 16 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.3656, allocations: 3.938 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.3656, allocations: 11.98 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.3656, allocations: 3.938 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3656, allocations: 0 / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.3659, allocations: 199.5 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.366, allocations: 96.84 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.366, allocations: 11.94 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.091e-05/0.3661, allocations: 19.98 kB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.3662, allocations: 27.95 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.3663, allocations: 4 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001202/0.3664, allocations: 148.4 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3664, allocations: 0 / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000303/0.3667, allocations: 71.83 kB / 1.062 GB, free: 14.04 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.0001711/0.3669, allocations: 111.2 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005129/0.3674, allocations: 342.5 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3674, allocations: 0 / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.3676, allocations: 79.92 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.3679, allocations: 48.73 kB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007444/0.3687, allocations: 476.7 kB / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.369, allocations: 0.7482 MB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.92e-05/0.3691, allocations: 23.42 kB / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.3691, allocations: 0 / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of Templates: time 0.005917/0.375, allocations: 3.304 MB / 1.067 GB, free: 8.852 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