Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001453/0.001453, allocations: 115.5 kB / 16.81 MB, free: 5.77 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.001572/0.001572, allocations: 196.7 kB / 17.77 MB, free: 5.109 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.557/1.557, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.867/2.867, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 68.75 kB / 1.097 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4316, allocations: 168.7 MB / 1.262 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002408/0.434, allocations: 1.151 MB / 1.263 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.4359, allocations: 1.382 MB / 1.265 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.904e-05/0.436, allocations: 0 / 1.265 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.501e-05/0.4361, allocations: 23.67 kB / 1.265 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.4362, allocations: 51.64 kB / 1.265 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007589/0.437, allocations: 298.7 kB / 1.265 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004235/0.4374, allocations: 407.9 kB / 1.265 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.4376, allocations: 92.2 kB / 1.265 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.4378, allocations: 171.3 kB / 1.266 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.438, allocations: 155.4 kB / 1.266 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.397e-05/0.4381, allocations: 48 kB / 1.266 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.4382, allocations: 59.98 kB / 1.266 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.749e-05/0.4382, allocations: 55.78 kB / 1.266 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.4384, allocations: 163.3 kB / 1.266 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005265/0.4389, allocations: 494.2 kB / 1.266 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4389, allocations: 0 / 1.266 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4389, allocations: 0 / 1.266 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.4389, allocations: 0 / 1.266 GB, free: 8.395 MB / 0.9825 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.0009778/0.4399, allocations: 0.6186 MB / 1.267 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.4399, allocations: 8.625 kB / 1.267 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.933e-05/0.44, allocations: 36.73 kB / 1.267 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006686/0.4407, allocations: 324 kB / 1.267 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.4407, allocations: 20.38 kB / 1.267 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.341e-05/0.4408, allocations: 36.38 kB / 1.267 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.4411, allocations: 177.8 kB / 1.268 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4411, allocations: 0 / 1.268 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.4411, allocations: 8 kB / 1.268 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.4411, allocations: 4 kB / 1.268 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.4414, allocations: 112 kB / 1.268 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.4424, allocations: 0.6875 MB / 1.268 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003887/0.4428, allocations: 150.8 kB / 1.269 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.4429, allocations: 60.83 kB / 1.269 GB, free: 6 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.4429, allocations: 0 / 1.269 GB, free: 6 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.4432, allocations: 143.2 kB / 1.269 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.293e-06/0.4432, allocations: 0 / 1.269 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0004444/0.4436, allocations: 215.7 kB / 1.269 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.4436, allocations: 59.36 kB / 1.269 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.4439, allocations: 214.7 kB / 1.269 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/0.4439, allocations: 37.7 kB / 1.269 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.444, allocations: 160.7 kB / 1.269 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.672e-05/0.4441, allocations: 47.62 kB / 1.269 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.4442, allocations: 81.67 kB / 1.27 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4444, allocations: 330.8 kB / 1.27 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.4446, allocations: 103.9 kB / 1.27 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.4448, allocations: 175.2 kB / 1.27 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.4451, allocations: 212.2 kB / 1.27 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4451, allocations: 0 / 1.27 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000584/0.4457, allocations: 358.3 kB / 1.271 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.359e-05/0.4458, allocations: 65.27 kB / 1.271 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.4458, allocations: 7.938 kB / 1.271 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.4458, allocations: 0 / 1.271 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.942e-05/0.4459, allocations: 27.92 kB / 1.271 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4459, allocations: 0 / 1.271 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003957/0.4463, allocations: 79.89 kB / 1.271 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.4463, allocations: 19.98 kB / 1.271 GB, free: 3.57 MB / 0.9825 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.0001658/0.4465, allocations: 151.6 kB / 1.271 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.4465, allocations: 15.91 kB / 1.271 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.264e-05/0.4466, allocations: 33.8 kB / 1.271 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4466, allocations: 0 / 1.271 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4466, allocations: 4 kB / 1.271 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.141e-05/0.4467, allocations: 108.9 kB / 1.271 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.4467, allocations: 4 kB / 1.271 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.4468, allocations: 11.98 kB / 1.271 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.525e-05/0.4469, allocations: 35.95 kB / 1.271 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003876/0.4473, allocations: 248.8 kB / 1.271 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003895/0.4477, allocations: 347.6 kB / 1.272 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001114/0.4478, allocations: 70.14 kB / 1.272 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001268/0.4479, allocations: 144.4 kB / 1.272 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of Backend: time 3.31e-07/0.4479, allocations: 0 / 1.272 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007368/0.4486, allocations: 343.8 kB / 1.272 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0009352/0.4496, allocations: 0.8024 MB / 1.273 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of Templates: time 0.008203/0.4578, allocations: 3.774 MB / 1.277 GB, free: 13.42 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches