Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Setpoints.Validation.PlantReset.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.0005405/0.0005405, 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.0006506/0.0006506, 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.4309/0.4309, 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.9891/0.9891, 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.Templates.Plants.Controls.Setpoints.Validation.PlantReset,startTime=0,stopTime=20000,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|res.u1Ena|res.u1StaPro|res.nReqRes|res.triRes.y|res.resDp_max|res.resTSup_min|res.dpSet.1.|res.dpSet.2.|res.dpSet_max.1.|res.dpSet_max.2.|res.dpSet_min|res.TSupSet|res.TSup_nominal|res.TSupSetLim",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Setpoints.Validation.PlantReset",simflags="-alarm=800 -emit_protected -lv LOG_STATS") simulate(Buildings.Templates.Plants.Controls.Setpoints.Validation.PlantReset,startTime=0,stopTime=20000,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|res.u1Ena|res.u1StaPro|res.nReqRes|res.triRes.y|res.resDp_max|res.resTSup_min|res.dpSet.1.|res.dpSet.2.|res.dpSet_max.1.|res.dpSet_max.2.|res.dpSet_min|res.TSupSet|res.TSup_nominal|res.TSupSetLim",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Setpoints.Validation.PlantReset",simflags="-alarm=800 -emit_protected -lv LOG_STATS") [Timeout 1100] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.723e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Setpoints.Validation.PlantReset): time 0.01059/0.01062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.009079/0.0197, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.02078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001749/0.02253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001822/0.02435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002984/0.02734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.00286/0.0302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001635/0.03183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.002604/0.03443, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.0361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.000415/0.03652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0007833/0.0373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0009405/0.03824, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.001428/0.03967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.005656/0.04532, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0003374/0.04566, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 4.639e-06/0.04567, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.996e-05/0.0457, 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.008377/0.05407, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001442/0.05422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.05564, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.005409/0.06104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002388/0.06128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005598/0.06184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.00599/0.06783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 5.418e-05/0.06789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000347/0.06823, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-05/0.06829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004672/0.07296, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01273/0.08569, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.003839/0.08953, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.09104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.09116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002835/0.09399, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=69): time 0.0001367/0.09413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=69): time 0.006988/0.1011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002149/0.1013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004067/0.1054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0005671/0.106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.001316/0.1073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0005075/0.1078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.002012/0.1098, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0004741/0.1103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/0.1122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.002724/0.1149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.003466/0.1184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.347e-05/0.1184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=113) (initialization): time 0.006349/0.1248, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.1249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/0.1249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 5.418e-05/0.125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.1262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.347e-05/0.1262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.1276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003356/0.128, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.res.triRes.tim.u,res.triRes.sampler.firstTrigger,$PRE.res.triRes.sampler.firstTrigger,res.triRes.uniDel.u_internal,$PRE.res.triRes.uniDel.u_internal,$whenCondition15,$whenCondition16,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$PRE.res.triRes.tim.t_next,$whenCondition1,res.triRes.uniDel.sampleTrigger,$whenCondition4,res.triRes.sampler.sampleTrigger,$whenCondition5,res.triRes.tim.t_next,res.triRes.lesThr1.y,res.triRes.greThr2.y,res.triRes.greThr1.y,staPro.y,$PRE.staPro.y,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,ena.intTimTab.idx,$PRE.ena.intTimTab.idx,ena.intTimTab.y[1],$PRE.ena.intTimTab.y[1],reaToInt.y,res.triRes.truHol.entryTimeFalse,$PRE.res.triRes.truHol.entryTimeFalse,res.triRes.truHol.entryTimeTrue,$PRE.res.triRes.truHol.entryTimeTrue,res.triRes.truHol.not_y,$PRE.res.triRes.truHol.not_y,res.triRes.truHol.not_u,$PRE.res.triRes.truHol.not_u,res.triRes.truHol.y,$PRE.res.triRes.truHol.y,res.triRes.truHol.u,$PRE.res.triRes.truHol.u,res.triRes.lat.y,$PRE.res.triRes.lat.y,res.triRes.lat.clr,res.triRes.lat.u,res.triRes.sampler.y,res.triRes.uniDel.y,$PRE.res.triRes.uniDel.y,res.triRes.netRes.u2,res.triRes.greThr.y,res.triRes.tim.y,res.triRes.tim.u,$whenCondition3,$whenCondition2,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 1 * 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.002104/0.1301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007171/0.1308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005447/0.1362, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/0.1363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.1363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/0.1363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.1472, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/0.1473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005969/0.1478, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.46e-05/0.1479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002507/0.1481, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.101e-05/0.1481, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.1482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00515/0.1533, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0008685/0.1542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005892/0.1548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008535/0.1556, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006315/0.1562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002358/0.1565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.002426/0.1589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 5.533e-05/0.159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002666/0.1616, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 44 (res.triRes.lat.clr,res.triRes.tim.u,res.triRes.lat.u,res.triRes.sampler.sampleTrigger,res.triRes.uniDel.sampleTrigger,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,res.triRes.tim.y,res.triRes.tim.t_next,res.triRes.greThr.y,res.triRes.netRes.u2,res.triRes.uniDel.y,res.triRes.uniDel.u_internal,res.triRes.sampler.y,res.triRes.sampler.firstTrigger,res.triRes.lat.y,res.triRes.truHol.u,res.triRes.truHol.y,res.triRes.truHol.not_u,res.triRes.truHol.not_y,res.triRes.truHol.entryTimeTrue,res.triRes.truHol.entryTimeFalse,reaToInt.y,ena.intTimTab.y[1],ena.intTimTab.idx,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,staPro.y,res.triRes.lesThr1.y,res.triRes.greThr2.y) * Number of discrete states: 10 (timTabLin.tab.nextTimeEvent,res.triRes.truHol.entryTimeFalse,res.triRes.truHol.entryTimeTrue,res.triRes.tim.t_next,res.triRes.truHol.not_u,res.triRes.truHol.u,timTabLin.tab.nextTimeEventScaled,res.triRes.truHol.y,res.triRes.truHol.not_y,res.triRes.uniDel.u_internal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.001034/0.1627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.00425/0.1669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.852e-06/0.1669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001867/0.1688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003791/0.1726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00876/0.1813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/0.1831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.001104/0.1842, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001915/0.1861, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0005673/0.1867, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.005053/0.1918, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1100] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Setpoints.Validation.PlantReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Setpoints_Validation_PlantReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Setpoints.Validation.PlantReset.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.9298201090005023]