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.00142/0.00142, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001766/0.001766, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.062/3.062, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003617, allocations: 8.312 kB / 0.9022 GB, free: 36.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.38, allocations: 159.6 MB / 1.058 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001895/0.382, allocations: 0.8065 MB / 1.059 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002471/0.3845, allocations: 1.346 MB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/0.3848, allocations: 4 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.136e-05/0.3849, allocations: 11.86 kB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.3851, allocations: 27.72 kB / 1.06 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000869/0.3859, allocations: 234 kB / 1.06 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005279/0.3865, allocations: 343.9 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002573/0.3867, allocations: 90.62 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.387, allocations: 111.6 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.3872, allocations: 111.5 kB / 1.061 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.508e-05/0.3873, allocations: 16 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.3874, allocations: 31.86 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.3875, allocations: 31.84 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.3876, allocations: 69.58 kB / 1.061 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004272/0.388, allocations: 367.3 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3881, allocations: 0 / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3881, allocations: 0 / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.3881, allocations: 0 / 1.062 GB, free: 1.688 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.001047/0.3891, allocations: 0.5525 MB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.3892, allocations: 12.03 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.3894, allocations: 31.62 kB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008135/0.3902, allocations: 328.3 kB / 1.062 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.91e-05/0.3902, allocations: 27.94 kB / 1.062 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.915e-05/0.3903, allocations: 31.94 kB / 1.062 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.3907, allocations: 169.5 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3907, allocations: 0 / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.3907, allocations: 8 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.3908, allocations: 4 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002308/0.391, allocations: 108 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.3922, allocations: 0.7069 MB / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.3927, allocations: 166.8 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.3928, allocations: 72.77 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.3928, allocations: 0 / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002883/0.3931, allocations: 135.3 kB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.743e-06/0.3932, allocations: 0 / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.000474/0.3936, allocations: 219.2 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.3937, allocations: 55.41 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.3939, allocations: 219.1 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.394, allocations: 33.7 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.3941, allocations: 148.4 kB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.366e-05/0.3942, allocations: 51.34 kB / 1.064 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.3942, allocations: 8 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3944, allocations: 334.8 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.3946, allocations: 95.95 kB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.3948, allocations: 162.9 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.3951, allocations: 145.5 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3951, allocations: 0 / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006384/0.3957, allocations: 354.2 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.818e-05/0.3958, allocations: 59.41 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.3958, allocations: 7.984 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3958, allocations: 3.953 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.771e-05/0.3959, allocations: 23.92 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3959, allocations: 4 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/0.3964, allocations: 111.8 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-05/0.3964, allocations: 15.98 kB / 1.066 GB, free: 13.05 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,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.y,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,$PRE.uCoo.booPul.y,uCoo.booPul.y,$PRE.uHea.booPul.y,uHea.booPul.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001656/0.3966, allocations: 155.5 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.3967, allocations: 23.7 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.191e-05/0.3967, allocations: 33.81 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3967, allocations: 4 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.3967, allocations: 3.953 kB / 1.066 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3968, allocations: 0 / 1.066 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.397, allocations: 293.4 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3971, allocations: 0 / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.695e-05/0.3971, allocations: 12 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.3971, allocations: 0 / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.3972, allocations: 11.98 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.3972, allocations: 0 / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.3972, allocations: 7.953 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.3975, allocations: 194.2 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.463e-05/0.3976, allocations: 96.84 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.3976, allocations: 8 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.3977, allocations: 15.98 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.218e-05/0.3978, allocations: 35.94 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.3978, allocations: 12 kB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001328/0.398, allocations: 148.3 kB / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.398, allocations: 0 / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003112/0.3983, allocations: 63.75 kB / 1.067 GB, free: 11.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001782/0.3985, allocations: 115.2 kB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005376/0.399, allocations: 341.5 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.399, allocations: 0 / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.3992, allocations: 75.91 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.3995, allocations: 51.73 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007367/0.4003, allocations: 429.1 kB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.4007, allocations: 0.7443 MB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001028/0.4008, allocations: 21.94 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.4008, allocations: 23.44 kB / 1.069 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.4008, allocations: 0 / 1.069 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of Templates: time 0.007369/0.4082, allocations: 3.078 MB / 1.072 GB, free: 6.961 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