Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0003085/0.0003085, 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.0003619/0.0003619, 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.2891/0.2891, 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.7181/0.7181, 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.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.[0-9,]+.|res.dpSet_max.[0-9,]+.|res.dpSet_min|res.TSupSet|res.TSup_nominal|res.TSupSetLim",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Setpoints.Validation.PlantReset",simflags="-abortSlowSimulation -alarm=240 -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.[0-9,]+.|res.dpSet_max.[0-9,]+.|res.dpSet_min|res.TSupSet|res.TSup_nominal|res.TSupSetLim",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Setpoints.Validation.PlantReset",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 8.62e-07/8.62e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.492e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Setpoints.Validation.PlantReset): time 0.01285/0.01288, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.009455/0.02233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0007454/0.02308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001338/0.02441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001566/0.02598, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002787/0.02877, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002247/0.03101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001376/0.03239, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.002834/0.03522, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0008125/0.03604, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0003925/0.03643, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0005672/0.037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0005046/0.0375, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0008671/0.03837, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002977/0.04135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001419/0.04149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.956e-06/0.04149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.01e-05/0.04151, 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.005137/0.04665, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001428/0.04679, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.04781, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.003273/0.05109, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.05128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003807/0.05166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.003321/0.05499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 5.533e-05/0.05504, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002765/0.05532, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.41e-05/0.05535, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002474/0.05783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008814/0.06664, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002044/0.06868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0007844/0.06947, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 8.688e-05/0.06955, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001636/0.07119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=69): time 1.798e-05/0.07121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=69): time 0.00399/0.0752, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 7.992e-05/0.07528, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002787/0.07807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0002639/0.07833, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.07951, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.000362/0.07988, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009581/0.08083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0001893/0.08102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.08205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/0.08362, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/0.08555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.098e-05/0.08557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=112) (initialization): time 0.003924/0.08949, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 8.337e-05/0.08958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/0.0896, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.714e-05/0.08964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008541/0.09049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-05/0.09053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.09154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002435/0.09178, 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: 61 ($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.samTri.y,res.triRes.notHolAndTic.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,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 (110): * Single equations (assignments): 109 * 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.001177/0.09296, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000556/0.09352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003139/0.09666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.09667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/0.09668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.0967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007242/0.1039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/0.1044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.82e-05/0.1044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/0.1045, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-05/0.1046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.1046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003103/0.1077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0006419/0.1083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004916/0.1088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006889/0.1095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004237/0.1099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001695/0.1101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.001516/0.1116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 3.907e-05/0.1116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002351/0.114, 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.notHolAndTic.y,res.triRes.tim.u,res.triRes.samTri.y,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.0009332/0.1149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002467/0.1174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.1174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001024/0.1184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002982/0.1214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006433/0.1278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006192/0.1284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0008161/0.1293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007704/0.13, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 4.887e-05/0.1301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.004772/0.1349, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Setpoints.Validation.PlantReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Setpoints_Validation_PlantReset.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: 2.7865720256231725]