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.001323/0.001323, allocations: 109.4 kB / 16.41 MB, free: 6.438 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.001281/0.001281, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.18 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.449/2.449, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.91 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8349/0.8363, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002768/0.8391, allocations: 1.163 MB / 1.168 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002125/0.8413, allocations: 1.366 MB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.8415, allocations: 4 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.8416, allocations: 27.66 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.8419, allocations: 47.59 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008453/0.8427, allocations: 293.9 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005603/0.8433, allocations: 439.8 kB / 1.171 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.8435, allocations: 112.2 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.8438, allocations: 159.5 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.844, allocations: 151.4 kB / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.593e-05/0.8441, allocations: 48 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.8443, allocations: 60.03 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.51e-05/0.8444, allocations: 63.67 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.8445, allocations: 159.3 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004928/0.845, allocations: 482.3 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.845, allocations: 0 / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.803e-06/0.845, allocations: 0 / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.8451, allocations: 0 / 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.001075/0.8461, allocations: 0.6206 MB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.8462, allocations: 8.625 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.8463, allocations: 32.66 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007169/0.847, allocations: 327.7 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.8471, allocations: 24.33 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.493e-05/0.8471, allocations: 24.38 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.8475, allocations: 181.9 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.8475, allocations: 3.938 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.8475, allocations: 4 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.8475, allocations: 4 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.8477, allocations: 115.9 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.8488, allocations: 0.6874 MB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/0.8493, allocations: 162.8 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.8494, allocations: 68.84 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.8494, allocations: 4 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003043/0.8497, allocations: 139.2 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 2.806e-06/0.8497, allocations: 0 / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.0004769/0.8502, allocations: 219.5 kB / 1.174 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.8503, allocations: 59.39 kB / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.8505, allocations: 214.7 kB / 1.175 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.8505, allocations: 33.7 kB / 1.175 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.8507, allocations: 148.6 kB / 1.175 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/0.8507, allocations: 51.44 kB / 1.175 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.8509, allocations: 77.67 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.851, allocations: 338.8 kB / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.8512, allocations: 99.89 kB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.8515, allocations: 158.8 kB / 1.175 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.8518, allocations: 221.8 kB / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.8518, allocations: 0 / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006007/0.8524, allocations: 363.4 kB / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.693e-05/0.8524, allocations: 67.47 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.8525, allocations: 7.984 kB / 1.176 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.8525, allocations: 3.984 kB / 1.176 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.978e-05/0.8526, allocations: 16 kB / 1.176 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.8526, allocations: 7.938 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/0.853, allocations: 75.8 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/0.8531, allocations: 23.98 kB / 1.176 GB, free: 10.46 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.0001604/0.8532, allocations: 143.6 kB / 1.176 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.8533, allocations: 23.73 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.414e-05/0.8533, allocations: 25.88 kB / 1.176 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.8533, allocations: 0 / 1.176 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8534, allocations: 7.938 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.8534, allocations: 7.984 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.8537, allocations: 293.4 kB / 1.177 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.8537, allocations: 4 kB / 1.177 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.921e-05/0.8538, allocations: 15.94 kB / 1.177 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.8538, allocations: 3.938 kB / 1.177 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.8538, allocations: 7.984 kB / 1.177 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.8538, allocations: 4 kB / 1.177 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.8538, allocations: 3.938 kB / 1.177 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.8541, allocations: 200.8 kB / 1.177 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.8542, allocations: 96.77 kB / 1.177 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.8542, allocations: 11.94 kB / 1.177 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.769e-05/0.8543, allocations: 11.98 kB / 1.177 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/0.8544, allocations: 31.95 kB / 1.177 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.8544, allocations: 8 kB / 1.177 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001162/0.8546, allocations: 148.4 kB / 1.177 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8546, allocations: 0 / 1.177 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003065/0.8549, allocations: 59.89 kB / 1.177 GB, free: 9.273 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.0001761/0.8551, allocations: 120.4 kB / 1.177 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005271/0.8556, allocations: 344.8 kB / 1.178 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.8556, allocations: 0 / 1.178 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.8557, allocations: 75.92 kB / 1.178 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.8561, allocations: 45.77 kB / 1.178 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007286/0.8568, allocations: 405.9 kB / 1.178 GB, free: 8.242 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.8572, allocations: 0.744 MB / 1.179 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.873e-05/0.8572, allocations: 27.44 kB / 1.179 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.8572, allocations: 0 / 1.179 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of Templates: time 0.00606/0.8633, allocations: 3.32 MB / 1.182 GB, free: 4.145 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 -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