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 Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002167/0.0002167, 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.0001884/0.0001884, 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.1128/0.1128, 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.3014/0.3014, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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="-abortSlowSimulation -alarm=240 -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="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.264e-05/3.4e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.Validation.TimerWithReset): time 0.001976/0.00201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.003081/0.005091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.005227, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.005337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.005529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0007634/0.006292, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0005178/0.00681, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.000264/0.007074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0008173/0.007891, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.008161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 7.766e-05/0.008239, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 9.12e-05/0.00833, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.008448, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.008644, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0004445/0.009089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 5.731e-05/0.009146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.294e-06/0.009148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.31e-05/0.009161, 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.001114/0.01028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.556e-05/0.01034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.01047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.01088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.01101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.01111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004801/0.01159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.01161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-05/0.01167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.01168, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.01193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.01319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/0.01358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.01368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.01371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003986/0.0141, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=69): time 5.681e-06/0.01411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=69): time 0.0005551/0.01467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.0147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.095e-05/0.01479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.0149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.01501, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.01513, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.01533, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.601e-05/0.01536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.01552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.01572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.01601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/0.01602, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005287/0.01655, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.01659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.0166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.01662, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.01677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/0.0168, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.01705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.953e-05/0.0171, 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.0002391/0.01734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 7.589e-05/0.01742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.165e-05/0.0175, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.01751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.01751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.01752, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009659/0.01849, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.0185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.01871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-05/0.01872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.01883, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.204e-05/0.01884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.01884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005738/0.01942, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.01952, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.01967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.01987, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.02003, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-05/0.02011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 6.155e-05/0.02017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 4.208e-06/0.02018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0006371/0.02081, 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.0003437/0.02116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0006799/0.02184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.02184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.02207, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.02257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000923/0.02349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 8.832e-05/0.02358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0001137/0.02369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.02395, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.015e-05/0.02398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002603/0.02658, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 1.2105324710719287]