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 Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002241/0.0002241, 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.0001843/0.0001843, 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.114/0.114, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 0.2486/0.2486, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.983e-06/1.983e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.466e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Setpoints.Validation.PlantReset): time 0.00541/0.005434, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.004946/0.01038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0007149/0.0111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0007254/0.01182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0009193/0.01274, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.01445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001371/0.01582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0006527/0.01647, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.002071/0.01854, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0004751/0.01902, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.01917, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0003226/0.01949, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0003556/0.01984, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0003651/0.02021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001442/0.02165, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.000133/0.02178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.645e-06/0.02179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.022e-05/0.0218, 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.001874/0.02367, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 9.408e-05/0.02376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002288/0.02399, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.02503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.02515, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.0253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008692/0.02617, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.02619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-05/0.02627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.02629, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004119/0.0267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002598/0.0293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0005626/0.02986, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.02999, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/0.03003, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000514/0.03055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=69): time 1.271e-05/0.03056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=69): time 0.000709/0.03127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.03132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005008/0.03182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001422/0.03197, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.03221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.03235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002577/0.0326, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.765e-05/0.03264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.03284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005049/0.03334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/0.03377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.03378, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=112) (initialization): time 0.0007266/0.03451, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.799e-05/0.03455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.03456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.03458, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.03494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.308e-05/0.03496, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/0.03534, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.711e-05/0.03543, 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.greThr2.y,res.triRes.lesThr1.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.0003375/0.03576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.03588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006326/0.03651, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.03652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.03652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.03653, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.03803, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.03803, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.03819, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.0382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.752e-05/0.03825, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-05/0.03827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.03827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005088/0.03878, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.03892, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/0.03914, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.03938, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.03956, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.565e-05/0.03962, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0002626/0.03989, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.394e-05/0.03991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0008193/0.04073, 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.0007063/0.04143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0006191/0.04205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.04206, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.04229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009293/0.04322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.04498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.04519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0003031/0.04549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005343/0.04603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 5.049e-05/0.04608, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.004867/0.05094, 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: 1.216236551757902]