Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001644/0.001644, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001806/0.001806, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.417/2.417, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 63.89 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8768/0.8783, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.00253/0.8809, allocations: 1.157 MB / 1.09 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001862/0.8828, allocations: 1.374 MB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.8829, allocations: 2.5 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.306e-05/0.883, allocations: 24.44 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.8832, allocations: 46.78 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008119/0.884, allocations: 291 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004728/0.8844, allocations: 428.7 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.8847, allocations: 121.5 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.8849, allocations: 162.1 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.8852, allocations: 155.8 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.191e-05/0.8853, allocations: 45.41 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.8854, allocations: 60.03 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.083e-05/0.8855, allocations: 54.08 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.8857, allocations: 169.4 kB / 1.093 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000621/0.8863, allocations: 483 kB / 1.093 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8863, allocations: 0 / 1.093 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8863, allocations: 0.8438 kB / 1.093 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.8863, allocations: 0 / 1.093 GB, free: 2.738 MB / 0.8575 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.0009094/0.8872, allocations: 0.6124 MB / 1.094 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.8873, allocations: 9.969 kB / 1.094 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.841e-05/0.8874, allocations: 31.33 kB / 1.094 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006825/0.8881, allocations: 324.9 kB / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.8881, allocations: 20.44 kB / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.007e-05/0.8882, allocations: 32.91 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.8885, allocations: 179.4 kB / 1.094 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.8886, allocations: 1.125 kB / 1.094 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.8886, allocations: 5.859 kB / 1.094 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.8886, allocations: 4.469 kB / 1.094 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002551/0.8889, allocations: 116.6 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.8899, allocations: 0.6906 MB / 1.095 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/0.8904, allocations: 164.3 kB / 1.095 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.8905, allocations: 68.34 kB / 1.095 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.8905, allocations: 1.406 kB / 1.095 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.8908, allocations: 129.2 kB / 1.095 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.8908, allocations: 0 / 1.095 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0004999/0.8913, allocations: 226.9 kB / 1.096 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.8913, allocations: 58.47 kB / 1.096 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.8916, allocations: 213.2 kB / 1.096 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.8916, allocations: 36.64 kB / 1.096 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.661e-05/0.8917, allocations: 151 kB / 1.096 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.8918, allocations: 49.89 kB / 1.096 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.8919, allocations: 77.86 kB / 1.096 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.892, allocations: 330.6 kB / 1.096 GB, free: 252 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.8922, allocations: 101.4 kB / 1.097 GB, free: 212 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.8925, allocations: 174.7 kB / 1.097 GB, free: 88 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.8928, allocations: 213 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.8928, allocations: 0 / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007096/0.8936, allocations: 366.2 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.772e-05/0.8936, allocations: 67.77 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.8937, allocations: 2.547 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.8937, allocations: 1.812 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.151e-05/0.8938, allocations: 18.92 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.8938, allocations: 3.234 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/0.8942, allocations: 83.34 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/0.8943, allocations: 18.77 kB / 1.097 GB, free: 15.63 MB / 0.8731 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.0001911/0.8945, allocations: 148.5 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.8945, allocations: 21.78 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.311e-05/0.8946, allocations: 23.73 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.8946, allocations: 2.234 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.8946, allocations: 4.594 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.8946, allocations: 2 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.8951, allocations: 294 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.8951, allocations: 3.938 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.782e-05/0.8951, allocations: 22.45 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.8952, allocations: 1.062 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.8952, allocations: 3.516 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.8952, allocations: 1.875 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8952, allocations: 0 / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.8955, allocations: 200.8 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.8956, allocations: 100.2 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.8957, allocations: 10.52 kB / 1.098 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.465e-05/0.8958, allocations: 16.05 kB / 1.098 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.8959, allocations: 33.12 kB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.8959, allocations: 5.438 kB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001582/0.8961, allocations: 147.6 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.584e-06/0.8961, allocations: 1.031 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003069/0.8964, allocations: 70.62 kB / 1.098 GB, free: 14.83 MB / 0.8731 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.0001862/0.8966, allocations: 123.2 kB / 1.099 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005851/0.8972, allocations: 336.6 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8972, allocations: 0 / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.8974, allocations: 85.08 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.8977, allocations: 52.02 kB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007312/0.8984, allocations: 391 kB / 1.099 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.8988, allocations: 0.7425 MB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.404e-05/0.8989, allocations: 25.58 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.8989, allocations: 0 / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of Templates: time 0.007926/0.9068, allocations: 3.331 MB / 1.103 GB, free: 13.12 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches