Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0004137/0.0004137, 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.0003486/0.0003486, 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.3034/0.3034, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 0.7056/0.7056, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_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 2.465e-06/2.465e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 5.734e-05/5.98e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TimeSuppressionNegativeStartTime): time 0.008462/0.008522, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.007556/0.01608, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.01744, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0008019/0.01824, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0009148/0.01916, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002718/0.02188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.00261/0.02449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.02566, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.02758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0006557/0.02824, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002604/0.0285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0002993/0.0288, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.000291/0.02909, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0005102/0.0296, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001813/0.03141, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 9.376e-05/0.03151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 5.3e-06/0.03151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.498e-05/0.03154, 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.003409/0.03495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001358/0.03508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008773/0.03596, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001709/0.03767, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.03782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002372/0.03806, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/0.04034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.588e-05/0.04038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001744/0.04056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.658e-05/0.04058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.04212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006195/0.04831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.0503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0007511/0.05106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.05118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001569/0.05274, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=82): time 1.602e-05/0.05276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=82): time 0.004069/0.05683, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.05694, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.05814, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0002262/0.05836, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0004621/0.05882, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0004255/0.05925, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009703/0.06022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0003707/0.06059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007881/0.06138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.06265, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.06436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.333e-05/0.06438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=121) (initialization): time 0.003043/0.06742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.841e-05/0.06748, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.382e-05/0.06751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 5.855e-05/0.06757, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007027/0.06828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-05/0.06831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007943/0.06911, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004768/0.06959, 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: 94 ($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.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,timSupAla.lat.y,timSupAla.edg.y,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.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,timSupCooReq.lat.y,timSupCooReq.edg.y,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 (121): * Single equations (assignments): 121 * 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.001115/0.0707, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003912/0.07109, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003223/0.07431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.07433, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.89e-05/0.07435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.971e-05/0.07437, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005925/0.08029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.699e-05/0.08031, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.08065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.426e-05/0.08068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/0.08083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.24e-05/0.08084, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.08084, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00348/0.08432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0003442/0.08467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000353/0.08502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005735/0.08559, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004571/0.08605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001674/0.08622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0005293/0.08675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.292e-05/0.08676, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002222/0.08898, 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: 64 (timSupCooReq.edg.y,timSupAla.edg.y,timSupAla.pre1.y,timSupAla.uniDel.sampleTrigger,timSupAla.samSet.sampleTrigger,timSupCooReq.pre1.y,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 (82): * Single equations (assignments): 58 * 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.0009481/0.08993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002381/0.09231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.09232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.00111/0.09343, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.09549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005023/0.1005, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.1009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0006741/0.1016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005266/0.1021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 6.335e-05/0.1022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.004294/0.1065, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TimeSuppressionNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 3.0142593532800674]