Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.Validation.TimerWithReset.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.0003602/0.0003602, 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.000612/0.000612, 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.4159/0.4159, 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.9623/0.9623, 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.Plants.Chillers.Generic.Validation.TimerWithReset,startTime=0,stopTime=5,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|noThr.u|res.y|noThr.t|noThr.y|noThrRes.y|noThr.passed|noThrRes.passed|thrTim.u|thrTim.t|thrTim.y|thrTimRes.y|thrTim.passed|thrTimRes.passed|thrTim1.u|thrTim1.t|thrTim1.y|thrTim1Res.y|thrTim1.passed|thrTim1Res.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.Validation.TimerWithReset",simflags="-alarm=800 -emit_protected -lv LOG_STATS") simulate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.Validation.TimerWithReset,startTime=0,stopTime=5,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|noThr.u|res.y|noThr.t|noThr.y|noThrRes.y|noThr.passed|noThrRes.passed|thrTim.u|thrTim.t|thrTim.y|thrTimRes.y|thrTim.passed|thrTimRes.passed|thrTim1.u|thrTim1.t|thrTim1.y|thrTim1Res.y|thrTim1.passed|thrTim1Res.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.Validation.TimerWithReset",simflags="-alarm=800 -emit_protected -lv LOG_STATS") [Timeout 1100] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.092e-05/3.239e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.Validation.TimerWithReset): time 0.003984/0.004016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.005968/0.009984, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0003383/0.01032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.01063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0004195/0.01105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.01272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001181/0.0139, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0006544/0.01456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.01581, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0007759/0.01659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.000231/0.01682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0002721/0.01709, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0003097/0.0174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.000717/0.01812, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002094/0.02021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001495/0.02036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 4.428e-06/0.02037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.654e-05/0.02038, 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.003799/0.02418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 9.618e-05/0.02428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007076/0.02499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/0.02725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.02743, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003312/0.02776, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.002874/0.03064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.03067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001913/0.03086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.03089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002145/0.03303, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005783/0.03881, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002634/0.04145, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.04257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.99e-05/0.04262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002257/0.04487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=69): time 8.129e-05/0.04496, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=69): time 0.005297/0.05025, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.05038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005578/0.05093, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0004316/0.05136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.05166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0003594/0.05202, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/0.05302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0005364/0.05356, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.05508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.05677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.002211/0.05898, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/0.059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=100) (initialization): time 0.004583/0.06358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.06371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/0.06373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.993e-05/0.06377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000469/0.06424, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.704e-05/0.06428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008046/0.06508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002503/0.06533, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 89 (thrTim1Res.tim.passed,$PRE.thrTim1Res.tim.passed,thrTimRes.tim.passed,$PRE.thrTimRes.tim.passed,noThrRes.tim.passed,$PRE.noThrRes.tim.passed,thrTim1.tim.passed,$PRE.thrTim1.tim.passed,thrTim.tim.passed,$PRE.thrTim.tim.passed,noThr.tim.passed,$PRE.noThr.tim.passed,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,res.entryTimeFalse,$PRE.res.entryTimeFalse,res.entryTimeTrue,$PRE.res.entryTimeTrue,res.not_y,$PRE.res.not_y,res.not_u,$PRE.res.not_u,res.y,$PRE.res.y,res.u,$PRE.res.u,thrTim1Res.tim.entryTime,$PRE.thrTim1Res.tim.entryTime,thrTim1Res.xor.y,thrTim1Res.edg.y,thrTim1Res.edg.u,$PRE.thrTim1Res.edg.u,thrTimRes.tim.entryTime,$PRE.thrTimRes.tim.entryTime,thrTimRes.xor.y,thrTimRes.edg.y,thrTimRes.edg.u,$PRE.thrTimRes.edg.u,noThrRes.tim.entryTime,$PRE.noThrRes.tim.entryTime,noThrRes.xor.y,noThrRes.edg.y,noThrRes.edg.u,$PRE.noThrRes.edg.u,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,thrTim1.tim.entryTime,$PRE.thrTim1.tim.entryTime,thrTim1.xor.y,thrTim1.edg.y,thrTim1.edg.u,$PRE.thrTim1.edg.u,thrTim.tim.entryTime,$PRE.thrTim.tim.entryTime,thrTim.xor.y,thrTim.edg.y,thrTim.edg.u,$PRE.thrTim.edg.u,noThr.tim.entryTime,$PRE.noThr.tim.entryTime,noThr.xor.y,noThr.edg.y,noThr.edg.u,$PRE.noThr.edg.u,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition23,$whenCondition24,$whenCondition25) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * 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.001098/0.06643, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004168/0.06685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.06713, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.06715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 9.659e-06/0.06716, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/0.06718, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006522/0.0737, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.07371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.07394, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.047e-05/0.07396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/0.07417, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.554e-05/0.07418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.07419, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004081/0.07827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0002819/0.07855, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000337/0.07889, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000463/0.07935, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007628/0.08011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/0.08032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0003168/0.08064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 9.568e-06/0.08065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001765/0.08241, 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: 63 (noThr.xor.y,thrTim.xor.y,noThrRes.xor.y,thrTimRes.xor.y,thrTim1.xor.y,thrTim1Res.xor.y,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,noThr.edg.u,noThr.edg.y,noThr.tim.passed,noThr.tim.entryTime,thrTim.edg.u,thrTim.edg.y,thrTim.tim.passed,thrTim.tim.entryTime,thrTim1.edg.u,thrTim1.edg.y,thrTim1.tim.passed,thrTim1.tim.entryTime,booPul.y,booPul1.y,noThrRes.edg.u,noThrRes.edg.y,noThrRes.tim.passed,noThrRes.tim.entryTime,thrTimRes.edg.u,thrTimRes.edg.y,thrTimRes.tim.passed,thrTimRes.tim.entryTime,thrTim1Res.edg.u,thrTim1Res.edg.y,thrTim1Res.tim.passed,thrTim1Res.tim.entryTime,res.u,res.y,res.not_u,res.not_y,res.entryTimeTrue,res.entryTimeFalse) * Number of discrete states: 18 (res.entryTimeFalse,res.entryTimeTrue,noThr.edg.u,thrTim.edg.u,thrTim1.edg.u,noThrRes.edg.u,thrTimRes.edg.u,thrTim1Res.edg.u,res.u,res.not_u,res.y,res.not_y,thrTim1Res.tim.entryTime,thrTim1.tim.entryTime,thrTimRes.tim.entryTime,noThrRes.tim.entryTime,thrTim.tim.entryTime,noThr.tim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.0007329/0.08315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.003482/0.08663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.08663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001414/0.08805, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/0.09014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/0.09389, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005561/0.09444, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0003938/0.09484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/0.09584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0004239/0.09627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002089/0.09836, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1100] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.Validation.TimerWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_Generic_Validation_TimerWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.Validation.TimerWithReset.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.771880145999603]