Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TimeSuppressionNegativeStartTime.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.0004216/0.0004216, 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.0004213/0.0004213, 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.2958/0.2958, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.7525/0.7525, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] 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.Generic.Validation.TimeSuppressionNegativeStartTime,startTime=-360,stopTime=7200,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|timSupCooReq.supTim.u1|timSupCooReq.supTim.u2|timSupCooReq.supTim.y|timSupCooReq.TSet|timSupCooReq.TZon|timSupCooReq.yAftSup|timSupAla.supTim.u1|timSupAla.supTim.u2|timSupAla.supTim.y|timSupAla.TSet|timSupAla.TZon|timSupAla.yAftSup",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TimeSuppressionNegativeStartTime",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TimeSuppressionNegativeStartTime,startTime=-360,stopTime=7200,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|timSupCooReq.supTim.u1|timSupCooReq.supTim.u2|timSupCooReq.supTim.y|timSupCooReq.TSet|timSupCooReq.TZon|timSupCooReq.yAftSup|timSupAla.supTim.u1|timSupAla.supTim.u2|timSupAla.supTim.y|timSupAla.TSet|timSupAla.TZon|timSupAla.yAftSup",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TimeSuppressionNegativeStartTime",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 8.32e-07/8.32e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.725e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TimeSuppressionNegativeStartTime): time 0.008151/0.008178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.006571/0.01475, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.01579, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0004767/0.01626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0007054/0.01697, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.01893, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001322/0.02025, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0009733/0.02122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.02256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.000426/0.02299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002267/0.02321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0002345/0.02345, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.02367, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0004025/0.02407, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001544/0.02561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 8.496e-05/0.0257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.104e-06/0.0257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.641e-05/0.02572, 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002844/0.02856, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001036/0.02866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007081/0.02937, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.03094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.03107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.0313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.0334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.271e-05/0.03344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/0.03361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.03363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.03506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005325/0.04038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.04204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0007581/0.04279, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.0429, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001436/0.04434, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=86): time 1.473e-05/0.04435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=86): time 0.004048/0.0484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 9.074e-05/0.04849, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009016/0.04939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0002148/0.04961, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0004192/0.05002, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0003775/0.0504, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006532/0.05106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0004018/0.05146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007993/0.05226, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.05331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/0.05499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.711e-05/0.05502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=129) (initialization): time 0.00306/0.05808, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.105e-05/0.05813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.881e-05/0.05816, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 6.067e-05/0.05822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006751/0.0589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-05/0.05893, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006046/0.05954, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/0.0597, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 102 ($PRE.timSupCooReq.truDel.u,$PRE.timSupAla.truDel.u,timSupAla.tim.passed,$PRE.timSupAla.tim.passed,timSupAla.uniDel.u_internal,$PRE.timSupAla.uniDel.u_internal,timSupAla.samSet.firstTrigger,$PRE.timSupAla.samSet.firstTrigger,timSupCooReq.tim.passed,$PRE.timSupCooReq.tim.passed,timSupCooReq.uniDel.u_internal,$PRE.timSupCooReq.uniDel.u_internal,timSupCooReq.samSet.firstTrigger,$PRE.timSupCooReq.samSet.firstTrigger,$PRE.timSupAla.truDel.t_next,$whenCondition22,$PRE.timSupCooReq.truDel.t_next,$whenCondition10,timSupCooReq.samSet.sampleTrigger,$whenCondition1,timSupCooReq.uniDel.sampleTrigger,$whenCondition2,timSupAla.samSet.sampleTrigger,$whenCondition13,timSupAla.uniDel.sampleTrigger,$whenCondition14,timSupAla.truDel.t_next,timSupCooReq.truDel.t_next,timSupAla.con1.y,timSupAla.con5.y,timSupCooReq.con1.y,timSupCooReq.con5.y,timSupAla.truDel.u,timSupCooReq.truDel.u,timSupAla.truDel.y,timSupAla.triSam1.y,$PRE.timSupAla.triSam1.y,timSupAla.pre1.u,$PRE.timSupAla.pre1.u,timSupAla.greThr.greHys.y,$PRE.timSupAla.greThr.greHys.y,timSupAla.tim.entryTime,$PRE.timSupAla.tim.entryTime,timSupAla.lat1.y,$PRE.timSupAla.lat1.y,timSupAla.lat1.clr,timSupAla.lat1.u,timSupAla.lat.y,$PRE.timSupAla.lat.y,timSupAla.lat.clr,timSupAla.lat.u,timSupAla.edg.u,$PRE.timSupAla.edg.u,timSupAla.triSam.y,$PRE.timSupAla.triSam.y,timSupAla.uniDel.y,$PRE.timSupAla.uniDel.y,timSupAla.samSet.y,timSupAla.yAftSup,timSupCooReq.truDel.y,timSupCooReq.triSam1.y,$PRE.timSupCooReq.triSam1.y,timSupCooReq.pre1.u,$PRE.timSupCooReq.pre1.u,timSupCooReq.greThr.greHys.y,$PRE.timSupCooReq.greThr.greHys.y,timSupCooReq.tim.entryTime,$PRE.timSupCooReq.tim.entryTime,timSupCooReq.lat1.y,$PRE.timSupCooReq.lat1.y,timSupCooReq.lat1.clr,timSupCooReq.lat1.u,timSupCooReq.lat.y,$PRE.timSupCooReq.lat.y,timSupCooReq.lat.clr,timSupCooReq.lat.u,timSupCooReq.edg.u,$PRE.timSupCooReq.edg.u,timSupCooReq.triSam.y,$PRE.timSupCooReq.triSam.y,timSupCooReq.uniDel.y,$PRE.timSupCooReq.uniDel.y,timSupCooReq.samSet.y,timSupCooReq.yAftSup,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition12,$whenCondition11,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition24,$whenCondition23) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * 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.0008776/0.06058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003658/0.06094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003069/0.06401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.06403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/0.06404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.06406, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005666/0.06973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.06974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/0.07009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.339e-05/0.07011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/0.07028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.341e-05/0.07029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.0703, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003312/0.07361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0003321/0.07394, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000309/0.07425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005037/0.07475, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004301/0.07518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001737/0.07536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0004588/0.07582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.005e-05/0.07583, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002137/0.07796, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 68 (timSupCooReq.lat1.u,timSupCooReq.lat1.clr,timSupCooReq.lat.u,timSupAla.lat1.u,timSupAla.lat1.clr,timSupAla.lat.u,timSupAla.lat.clr,timSupAla.uniDel.sampleTrigger,timSupAla.samSet.sampleTrigger,timSupCooReq.lat.clr,timSupCooReq.uniDel.sampleTrigger,timSupCooReq.samSet.sampleTrigger,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,timSupCooReq.yAftSup,timSupCooReq.samSet.y,timSupCooReq.samSet.firstTrigger,timSupCooReq.uniDel.y,timSupCooReq.uniDel.u_internal,timSupCooReq.triSam.y,timSupCooReq.edg.u,timSupCooReq.lat.y,timSupCooReq.lat1.y,timSupCooReq.tim.passed,timSupCooReq.tim.entryTime,timSupCooReq.greThr.greHys.y,timSupCooReq.pre1.u,timSupCooReq.triSam1.y,timSupCooReq.truDel.y,timSupCooReq.truDel.t_next,timSupAla.yAftSup,timSupAla.samSet.y,timSupAla.samSet.firstTrigger,timSupAla.uniDel.y,timSupAla.uniDel.u_internal,timSupAla.triSam.y,timSupAla.edg.u,timSupAla.lat.y,timSupAla.lat1.y,timSupAla.tim.passed,timSupAla.tim.entryTime,timSupAla.greThr.greHys.y,timSupAla.pre1.u,timSupAla.triSam1.y,timSupAla.truDel.y,timSupAla.truDel.t_next) * Number of discrete states: 12 (timSupAla.truDel.t_next,timSupCooReq.truDel.t_next,timSupCooReq.pre1.u,timSupAla.pre1.u,timSupAla.uniDel.u_internal,timSupAla.greThr.greHys.y,timSupAla.edg.u,timSupAla.tim.entryTime,timSupCooReq.uniDel.u_internal,timSupCooReq.greThr.greHys.y,timSupCooReq.edg.u,timSupCooReq.tim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 24 * 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.0007008/0.07866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002273/0.08094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.08094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001065/0.08201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.08393, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00448/0.08841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.08875, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0005872/0.08934, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004902/0.08983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 4.765e-05/0.08987, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.00259/0.09246, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TimeSuppressionNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Generic_Validation_TimeSuppressionNegativeStartTime.csv","",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.75819907290861]