Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001681/0.001681, allocations: 110.8 kB / 16.41 MB, free: 6.5 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.001756/0.001756, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.658/1.658, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.74/2.74, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 59.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039/1.041, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002555/1.044, allocations: 1.164 MB / 1.168 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002053/1.046, allocations: 1.374 MB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/1.046, allocations: 7.938 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.894e-05/1.046, allocations: 27.67 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001508/1.046, allocations: 47.61 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008084/1.047, allocations: 289.5 kB / 1.17 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004936/1.048, allocations: 435.8 kB / 1.171 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/1.048, allocations: 116.2 kB / 1.171 GB, free: 404 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/1.048, allocations: 151.5 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/1.048, allocations: 155.4 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.309e-05/1.048, allocations: 48 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/1.049, allocations: 52.03 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.32e-05/1.049, allocations: 71.66 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001691/1.049, allocations: 155.4 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005524/1.049, allocations: 494.8 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.049, allocations: 0 / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.557e-06/1.049, allocations: 4 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.773e-06/1.049, allocations: 3.938 kB / 1.172 GB, free: 15.29 MB / 0.9044 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.0009996/1.05, allocations: 0.6108 MB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/1.05, allocations: 12.03 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.813e-05/1.051, allocations: 36.69 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006714/1.051, allocations: 327.9 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/1.051, allocations: 24.33 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.167e-05/1.051, allocations: 28.38 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/1.052, allocations: 173.9 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/1.052, allocations: 0 / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/1.052, allocations: 12 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/1.052, allocations: 4 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/1.052, allocations: 127.8 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/1.053, allocations: 0.6798 MB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/1.054, allocations: 172.1 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/1.054, allocations: 64.84 kB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/1.054, allocations: 0 / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000296/1.054, allocations: 137.5 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 1.954e-06/1.054, allocations: 4 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.0004885/1.054, allocations: 221.5 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/1.055, allocations: 51.41 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/1.055, allocations: 214.7 kB / 1.175 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.018e-05/1.055, allocations: 41.7 kB / 1.175 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/1.055, allocations: 148.6 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.801e-05/1.055, allocations: 43.91 kB / 1.175 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/1.055, allocations: 77.67 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.055, allocations: 342.8 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/1.056, allocations: 99.89 kB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/1.056, allocations: 163.3 kB / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/1.056, allocations: 217.8 kB / 1.176 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.056, allocations: 0 / 1.176 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006257/1.057, allocations: 363.5 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.74e-05/1.057, allocations: 71.33 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.057, allocations: 0 / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/1.057, allocations: 4 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.761e-05/1.057, allocations: 12.12 kB / 1.176 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/1.057, allocations: 11.94 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/1.057, allocations: 83.75 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/1.057, allocations: 15.94 kB / 1.176 GB, free: 10.45 MB / 0.9044 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.0001773/1.058, allocations: 155.6 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/1.058, allocations: 19.84 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.483e-05/1.058, allocations: 21.88 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/1.058, allocations: 4 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.058, allocations: 0 / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/1.058, allocations: 3.984 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/1.058, allocations: 297.4 kB / 1.177 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.058, allocations: 7.875 kB / 1.177 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.182e-05/1.058, allocations: 19.98 kB / 1.177 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/1.058, allocations: 11.94 kB / 1.177 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/1.058, allocations: 0 / 1.177 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.058, allocations: 0 / 1.177 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.058, allocations: 0 / 1.177 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/1.059, allocations: 203.1 kB / 1.177 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.599e-05/1.059, allocations: 97.02 kB / 1.177 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/1.059, allocations: 7.938 kB / 1.177 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.938e-05/1.059, allocations: 16.03 kB / 1.177 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/1.059, allocations: 35.94 kB / 1.177 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/1.059, allocations: 11.98 kB / 1.177 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001458/1.059, allocations: 144.4 kB / 1.177 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.059, allocations: 0 / 1.177 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002976/1.059, allocations: 63.89 kB / 1.177 GB, free: 9.258 MB / 0.9044 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.0001873/1.06, allocations: 120.4 kB / 1.177 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005755/1.06, allocations: 346.5 kB / 1.178 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.06, allocations: 0 / 1.178 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/1.06, allocations: 77.81 kB / 1.178 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/1.061, allocations: 36.77 kB / 1.178 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007232/1.061, allocations: 388 kB / 1.178 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/1.062, allocations: 0.7402 MB / 1.179 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.072e-05/1.062, allocations: 25.94 kB / 1.179 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.88e-05/1.062, allocations: 23.44 kB / 1.179 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of SimCode: time 2.71e-07/1.062, allocations: 0 / 1.179 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of Templates: time 0.008162/1.07, allocations: 3.508 MB / 1.182 GB, free: 3.969 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches