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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00117/0.00117, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01012/0.01012, allocations: 169.8 kB / 16.27 MB, free: 6.66 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.518/1.518, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.875/2.875, allocations: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003541, allocations: 13.81 kB / 0.9028 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4053, allocations: 159.6 MB / 1.059 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002083/0.4074, allocations: 0.8527 MB / 1.06 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002676/0.4101, allocations: 1.396 MB / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.4102, allocations: 4 kB / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.69e-05/0.4103, allocations: 15.8 kB / 1.061 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.4105, allocations: 27.78 kB / 1.061 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009242/0.4114, allocations: 266.2 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004566/0.4119, allocations: 355.9 kB / 1.062 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003056/0.4122, allocations: 117.7 kB / 1.062 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.4124, allocations: 115.5 kB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.4126, allocations: 103.5 kB / 1.062 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.562e-05/0.4127, allocations: 19.92 kB / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.4128, allocations: 27.98 kB / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.867e-05/0.4129, allocations: 39.72 kB / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.4131, allocations: 145.1 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005828/0.4137, allocations: 438.8 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4137, allocations: 0 / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4137, allocations: 4 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.4137, allocations: 4 kB / 1.062 GB, free: 1.527 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.001059/0.4148, allocations: 0.55 MB / 1.063 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.4149, allocations: 12.03 kB / 1.063 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.415, allocations: 32.56 kB / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008884/0.4159, allocations: 341.3 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.695e-05/0.416, allocations: 24.38 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.44e-05/0.416, allocations: 24.38 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.4165, allocations: 169.9 kB / 1.064 GB, free: 292 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.4165, allocations: 0 / 1.064 GB, free: 292 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.4165, allocations: 12 kB / 1.064 GB, free: 280 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.4166, allocations: 8 kB / 1.064 GB, free: 272 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.4169, allocations: 115.9 kB / 1.064 GB, free: 156 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.4183, allocations: 0.6952 MB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.4189, allocations: 172.4 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.4191, allocations: 68.78 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.4191, allocations: 0 / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003662/0.4195, allocations: 135.3 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.933e-06/0.4195, allocations: 0 / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0006418/0.4202, allocations: 219.5 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.4202, allocations: 59.39 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.4205, allocations: 211.1 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.5e-05/0.4206, allocations: 41.7 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.4208, allocations: 148.4 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.819e-05/0.4209, allocations: 47.44 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.421, allocations: 41.69 kB / 1.066 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.4212, allocations: 338.8 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/0.4215, allocations: 99.89 kB / 1.066 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/0.4219, allocations: 155.3 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000405/0.4223, allocations: 222 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4223, allocations: 0 / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006321/0.423, allocations: 360.5 kB / 1.067 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/0.4231, allocations: 67.45 kB / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.4231, allocations: 4 kB / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.4231, allocations: 4 kB / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.166e-05/0.4232, allocations: 19.98 kB / 1.067 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.4232, allocations: 11.88 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004288/0.4236, allocations: 103.8 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.4237, allocations: 15.98 kB / 1.067 GB, free: 12.76 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.0001899/0.4239, allocations: 152.5 kB / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.4239, allocations: 23.75 kB / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.619e-05/0.424, allocations: 29.8 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.424, allocations: 0 / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.424, allocations: 0 / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.424, allocations: 0 / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.4243, allocations: 289.4 kB / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4243, allocations: 4 kB / 1.067 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.609e-05/0.4244, allocations: 23.92 kB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4244, allocations: 3.938 kB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.4244, allocations: 4.047 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.4245, allocations: 4 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.4245, allocations: 3.984 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.4248, allocations: 198.5 kB / 1.068 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.415e-05/0.4248, allocations: 100.8 kB / 1.068 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.4249, allocations: 11.92 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.959e-05/0.425, allocations: 23.98 kB / 1.068 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.582e-05/0.4251, allocations: 31.95 kB / 1.068 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.4251, allocations: 8 kB / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001271/0.4252, allocations: 144.4 kB / 1.068 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4252, allocations: 0 / 1.068 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002753/0.4255, allocations: 63.84 kB / 1.068 GB, free: 11.57 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.0001894/0.4257, allocations: 120.4 kB / 1.068 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004801/0.4262, allocations: 338.6 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4262, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.4263, allocations: 79.91 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.4267, allocations: 50.38 kB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007329/0.4274, allocations: 454 kB / 1.069 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.4277, allocations: 0.7404 MB / 1.07 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001006/0.4278, allocations: 29.94 kB / 1.07 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.4279, allocations: 19.44 kB / 1.07 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.4279, allocations: 0 / 1.07 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of Templates: time 0.00759/0.4355, allocations: 3.181 MB / 1.073 GB, free: 6.539 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/jenkins/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