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.0003909/0.0003909, 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.0005101/0.0005101, 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.4358/0.4358, 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.9722/0.9722, 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.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="-alarm=800 -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="-alarm=800 -emit_protected -lv LOG_STATS") [Timeout 1100] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.016e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TimeSuppressionNegativeStartTime): time 0.005983/0.006013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.005811/0.01182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0006696/0.01249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0005974/0.01309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0006227/0.01371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.01541, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001448/0.01686, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.01798, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001589/0.01957, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0007938/0.02037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.000245/0.02061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.02093, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0004324/0.02136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0007673/0.02213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002915/0.02505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001792/0.02523, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 5.35e-06/0.02523, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.802e-05/0.02525, 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.00481/0.03006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001095/0.03017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.0313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/0.03387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.03404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003391/0.03438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.003824/0.0382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.355e-05/0.03825, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002302/0.03848, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.84e-05/0.03851, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002741/0.04126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007585/0.04884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002806/0.05165, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.05306, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.05317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002323/0.05549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=86): time 0.0001025/0.05559, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=86): time 0.006294/0.06189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.06203, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.06322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0003861/0.0636, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0004321/0.06404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0004419/0.06448, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/0.0655, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0006065/0.06611, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/0.06761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001833/0.06944, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.003186/0.07263, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.666e-05/0.07265, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=129) (initialization): time 0.005049/0.0777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 6.59e-05/0.07777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-05/0.0778, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 6.515e-05/0.07787, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008996/0.07877, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.08e-05/0.07883, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007494/0.07958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002339/0.07981, 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.001387/0.0812, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004963/0.08169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00497/0.08666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/0.08669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.0867, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-05/0.08673, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008232/0.09496, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.09497, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004225/0.09539, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.446e-05/0.09542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000231/0.09565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-05/0.09567, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.09567, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004984/0.1007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0004217/0.1011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003649/0.1014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/0.1021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006109/0.1027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002231/0.1029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0007142/0.1036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.976e-05/0.1036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002125/0.1058, 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.0007372/0.1065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.003564/0.1101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.1101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001699/0.1118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/0.1142, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005322/0.1195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008686/0.1204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0006474/0.121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/0.1221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0005855/0.1227, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002566/0.1252, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1100] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TimeSuppressionNegativeStartTime.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.8663132319998113]