Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Setpoints.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003679/0.0003679, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006315/0.0006315, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.4172/0.4172, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 0.9922/0.9922, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Setpoints,startTime=0,stopTime=28800,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|TZonSet.THeaSet|TZonSet.TCooSet|TZonSet.TOccCooSet|TZonSet.TOccHeaSet|TZonSet.u1Win|TZonSet.u1Occ|TZonSet.uOpeMod|TZonSet.cooSetAdj|TZonSet.heaSetAdj",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Setpoints",simflags="-alarm=800 -emit_protected -lv LOG_STATS") simulate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Setpoints,startTime=0,stopTime=28800,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|TZonSet.THeaSet|TZonSet.TCooSet|TZonSet.TOccCooSet|TZonSet.TOccHeaSet|TZonSet.u1Win|TZonSet.u1Occ|TZonSet.uOpeMod|TZonSet.cooSetAdj|TZonSet.heaSetAdj",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Setpoints",simflags="-alarm=800 -emit_protected -lv LOG_STATS") [Timeout 1100] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 4.44e-05/4.603e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Setpoints): time 0.01492/0.01496, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0128/0.02776, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.002243/0.03, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001999/0.032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001599/0.0336, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.003523/0.03712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.003168/0.04029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.002862/0.04315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.002951/0.0461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001633/0.04774, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.000489/0.04823, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0005136/0.04874, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0007866/0.04953, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0015/0.05103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.005862/0.05689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0003516/0.05724, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.427e-06/0.05724, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.566e-05/0.05727, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 357 * Number of variables: 357 Notification: Performance of Generate backend data structure: time 0.008168/0.06544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001359/0.06557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002084/0.06766, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.004588/0.07224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003479/0.07259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.00067/0.07326, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.008285/0.08155, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 8.671e-05/0.08163, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004561/0.08209, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.479e-05/0.08218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007156/0.08934, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01735/0.1067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.004781/0.1115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.002159/0.1136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.000173/0.1138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002945/0.1168, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=100): time 0.0001407/0.1169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=100): time 0.007721/0.1246, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.1247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/0.127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0004777/0.1275, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0008888/0.1284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0005796/0.129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001583/0.1306, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0005998/0.1312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.002632/0.1338, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.003096/0.1369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.004673/0.1416, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.365e-05/0.1416, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=163) (initialization): time 0.007955/0.1496, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.1497, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.384e-05/0.1497, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 7.74e-05/0.1498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.1514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.812e-05/0.1514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.1529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003869/0.1533, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003515/0.1568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003478/0.1603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004359/0.1646, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.43e-05/0.1647, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=163) (initialization_lambda0): time 0.007713/0.1724, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.1725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.312e-05/0.1726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 7.077e-05/0.1726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.1742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.997e-05/0.1742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.1757, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003768/0.1761, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 93 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,TZonSet.not1.y,TZonSet.not2.y,TZonSet.booToRea6.u,TZonSet.or7.y,TZonSet.not1.u,TZonSet.booToRea7.u,TZonSet.or8.y,TZonSet.not2.u,heaDemLimLev.y,cooDemLimLev.y,TZonSet.conInt5.y,TZonSet.conInt4.y,TZonSet.conInt3.y,TZonSet.conInt7.y,TZonSet.conInt6.y,TZonSet.conInt8.y,TZonSet.have_occSenCon.y,TZonSet.winSenCon.y,TZonSet.heaSetAdjCon.y,TZonSet.cooSetAdjCon.y,TZonSet.conInt2.y,TZonSet.conInt1.y,TZonSet.conInt.y,TZonSet.intEqu7.y,TZonSet.intEqu8.y,TZonSet.intEqu6.y,TZonSet.intEqu3.y,TZonSet.intEqu4.y,TZonSet.intEqu5.y,TZonSet.or4.y,TZonSet.or1.y,TZonSet.intGreThr.y,TZonSet.intGreThr1.y,TZonSet.edg.u,$PRE.TZonSet.edg.u,not1.y,occSta.y,$PRE.occSta.y,winSta.y,$PRE.winSta.y,booToInt.y,TZonSet.and10.y,TZonSet.gre2.y,TZonSet.gre.y,TZonSet.les.y,TZonSet.not5.y,TZonSet.and11.y,TZonSet.or9.y,TZonSet.intEqu1.y,TZonSet.intEqu.y,TZonSet.or6.y,TZonSet.heaSetSam.y,$PRE.TZonSet.heaSetSam.y,TZonSet.cooSetSam.y,$PRE.TZonSet.cooSetSam.y,TZonSet.edg1.y,TZonSet.edg1.u,$PRE.TZonSet.edg1.u,TZonSet.truHol.entryTimeFalse,$PRE.TZonSet.truHol.entryTimeFalse,TZonSet.truHol.entryTimeTrue,$PRE.TZonSet.truHol.entryTimeTrue,TZonSet.truHol.not_y,$PRE.TZonSet.truHol.not_y,TZonSet.truHol.not_u,$PRE.TZonSet.truHol.not_u,TZonSet.truHol.y,$PRE.TZonSet.truHol.y,TZonSet.truHol.u,$PRE.TZonSet.truHol.u,TZonSet.tim.entryTime,$PRE.TZonSet.tim.entryTime,TZonSet.tim.passed,$PRE.TZonSet.tim.passed,TZonSet.heaSetFre.y,$PRE.TZonSet.heaSetFre.y,TZonSet.or5.y,TZonSet.cooSetFre.y,$PRE.TZonSet.cooSetFre.y,TZonSet.edg.y,TZonSet.yAla,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 157 * 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.001509/0.1776, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006683/0.1782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005803/0.1788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-05/0.1789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.1789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.373e-05/0.1789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/0.1904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/0.1904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.1916, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-05/0.1916, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002905/0.1919, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.409e-05/0.1919, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.1919, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006161/0.1981, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0006712/0.1988, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000506/0.1993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008315/0.2001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007689/0.2009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002668/0.2011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.001367/0.2025, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 3.936e-05/0.2025, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.004511/0.207, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 43 (TZonSet.edg.y,TZonSet.edg1.y,TZonSet.and10.y,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,TZonSet.yAla,TZonSet.cooSetFre.y,TZonSet.heaSetFre.y,TZonSet.tim.passed,TZonSet.tim.entryTime,TZonSet.truHol.u,TZonSet.truHol.y,TZonSet.truHol.not_u,TZonSet.truHol.not_y,TZonSet.truHol.entryTimeTrue,TZonSet.truHol.entryTimeFalse,TZonSet.edg1.u,TZonSet.cooSetSam.y,TZonSet.heaSetSam.y,TZonSet.or6.y,TZonSet.intEqu.y,TZonSet.intEqu1.y,TZonSet.or9.y,TZonSet.and11.y,TZonSet.not5.y,TZonSet.les.y,TZonSet.gre.y,TZonSet.gre2.y,booToInt.y,winSta.y,occSta.y,not1.y,TZonSet.or5.y) * Number of discrete states: 8 (TZonSet.truHol.entryTimeFalse,TZonSet.truHol.entryTimeTrue,TZonSet.tim.entryTime,TZonSet.truHol.u,TZonSet.truHol.not_u,TZonSet.truHol.y,TZonSet.truHol.not_y,TZonSet.edg1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.0008165/0.2079, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.01015/0.218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.002495/0.2205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/0.2236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.2337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001746/0.2354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.001781/0.2372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001578/0.2388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.001307/0.2401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.004691/0.2448, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1100] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Setpoints_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_Setpoints.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Setpoints.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9903328370000963]