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.001686/0.001686, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001896/0.001896, allocations: 189.7 kB / 17.35 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.15 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.363/2.363, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 67.84 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9423/0.9438, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.00242/0.9463, allocations: 1.158 MB / 1.09 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001812/0.9481, allocations: 1.37 MB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.9482, allocations: 2.781 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.342e-05/0.9483, allocations: 24.25 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.9484, allocations: 39.17 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007582/0.9492, allocations: 301.8 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004574/0.9497, allocations: 421.8 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.9499, allocations: 120.9 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.9501, allocations: 157.4 kB / 1.092 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.9503, allocations: 156 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.254e-05/0.9504, allocations: 45.5 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.9505, allocations: 60.03 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.617e-05/0.9506, allocations: 57.47 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.9508, allocations: 165.1 kB / 1.093 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000627/0.9514, allocations: 487.4 kB / 1.093 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.9514, allocations: 0 / 1.093 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9514, allocations: 1.031 kB / 1.093 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.9514, allocations: 4 kB / 1.093 GB, free: 2.777 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.0008344/0.9523, allocations: 0.611 MB / 1.094 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.9523, allocations: 9.781 kB / 1.094 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.9524, allocations: 34.38 kB / 1.094 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006601/0.9531, allocations: 321.5 kB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.9532, allocations: 24.88 kB / 1.094 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.39e-05/0.9532, allocations: 33.3 kB / 1.094 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.9535, allocations: 171.1 kB / 1.094 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.9536, allocations: 0 / 1.094 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.9536, allocations: 11.02 kB / 1.094 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.9536, allocations: 8.25 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/0.9539, allocations: 116.4 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.9549, allocations: 0.6865 MB / 1.095 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.9553, allocations: 161 kB / 1.095 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.9555, allocations: 66.84 kB / 1.095 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.9555, allocations: 6.219 kB / 1.095 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003068/0.9558, allocations: 129 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.9558, allocations: 0 / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0004816/0.9563, allocations: 224 kB / 1.096 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.9563, allocations: 58.61 kB / 1.096 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.9566, allocations: 212.8 kB / 1.096 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.81e-05/0.9566, allocations: 40.27 kB / 1.096 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.9567, allocations: 151.2 kB / 1.096 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.9568, allocations: 46.55 kB / 1.096 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.957, allocations: 77.52 kB / 1.096 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.462e-05/0.957, allocations: 330.6 kB / 1.096 GB, free: 300 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.9573, allocations: 102 kB / 1.097 GB, free: 260 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.9575, allocations: 166.3 kB / 1.097 GB, free: 144 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.9578, allocations: 214 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.9578, allocations: 0.75 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006574/0.9585, allocations: 363.9 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.269e-05/0.9586, allocations: 67.72 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.9586, allocations: 1.25 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.9586, allocations: 2.25 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.694e-05/0.9587, allocations: 19.06 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.9587, allocations: 2.828 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/0.9592, allocations: 84.81 kB / 1.097 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.673e-05/0.9592, allocations: 17.19 kB / 1.097 GB, free: 15.69 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.0001668/0.9594, allocations: 149.6 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.9595, allocations: 20.75 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.572e-05/0.9595, allocations: 28.86 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.9595, allocations: 1.906 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.9596, allocations: 1.062 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/0.9596, allocations: 5.25 kB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.9599, allocations: 305.7 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.9599, allocations: 4.562 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.17e-05/0.96, allocations: 13.97 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.96, allocations: 1.312 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.96, allocations: 3.812 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.96, allocations: 1.188 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.96, allocations: 4.547 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.9604, allocations: 198.5 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.9605, allocations: 103.3 kB / 1.098 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.9605, allocations: 8.156 kB / 1.098 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.822e-05/0.9606, allocations: 14.27 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.9607, allocations: 34.05 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.9607, allocations: 5.812 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001433/0.9609, allocations: 150.8 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9609, allocations: 0.9062 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003082/0.9612, allocations: 62.64 kB / 1.098 GB, free: 14.88 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.0001826/0.9614, allocations: 123.3 kB / 1.099 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005534/0.9619, allocations: 337 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.962, allocations: 256 / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.9621, allocations: 86.98 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.9624, allocations: 43.66 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007249/0.9632, allocations: 389.4 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.9635, allocations: 0.7424 MB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/0.9636, allocations: 28.77 kB / 1.1 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/0.9636, allocations: 1.094 kB / 1.1 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of Templates: time 0.007062/0.9707, allocations: 3.331 MB / 1.103 GB, free: 13.17 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