Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 78.64 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [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.001579/0.001579, allocations: 159.7 kB / 23.01 MB, free: 4.598 MB / 14.72 MB " [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 1.518/1.518, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] 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 2.873/2.873, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003084/0.003084, allocations: 63.84 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9506/0.9537, allocations: 181.8 MB / 1.187 GB, free: 16.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002549/0.9563, allocations: 1.321 MB / 1.188 GB, free: 15.43 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.9575, allocations: 1.126 MB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.9576, allocations: 5.562 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 8.2e-05/0.9577, allocations: 38.86 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.9579, allocations: 43.94 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.9582, allocations: 132.4 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002965/0.9585, allocations: 339.1 kB / 1.19 GB, free: 14.26 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002735/0.9588, allocations: 147.7 kB / 1.19 GB, free: 14.18 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.959, allocations: 151.3 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.9592, allocations: 132.8 kB / 1.19 GB, free: 14.02 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.441e-05/0.9592, allocations: 39.78 kB / 1.19 GB, free: 14.02 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.469e-05/0.9593, allocations: 45.23 kB / 1.19 GB, free: 14.01 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.9594, allocations: 77.09 kB / 1.19 GB, free: 13.96 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.9595, allocations: 125 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007425/0.9602, allocations: 490 kB / 1.191 GB, free: 13.69 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9602, allocations: 0 / 1.191 GB, free: 13.69 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9602, allocations: 1.031 kB / 1.191 GB, free: 13.69 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.9602, allocations: 0 / 1.191 GB, free: 13.69 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001018/0.9613, allocations: 0.5192 MB / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/0.9613, allocations: 13.47 kB / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002528/0.9616, allocations: 47.08 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006656/0.9622, allocations: 266.6 kB / 1.192 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.096e-05/0.9623, allocations: 27.84 kB / 1.192 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.48e-05/0.9624, allocations: 33.47 kB / 1.192 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008184/0.9632, allocations: 293.3 kB / 1.192 GB, free: 12.89 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.9632, allocations: 1.312 kB / 1.192 GB, free: 12.89 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/0.9632, allocations: 18.53 kB / 1.192 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.9633, allocations: 8.562 kB / 1.192 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006925/0.964, allocations: 234 kB / 1.192 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.9652, allocations: 0.6544 MB / 1.193 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005552/0.9657, allocations: 231.4 kB / 1.193 GB, free: 12.25 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.966, allocations: 103.4 kB / 1.193 GB, free: 12.21 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.966, allocations: 3.484 kB / 1.193 GB, free: 12.21 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.9661, allocations: 37.75 kB / 1.193 GB, free: 12.17 MB / 1.076 GB Notification: Performance of pre-optimization done (n=27): time 1.512e-06/0.9661, allocations: 0 / 1.193 GB, free: 12.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=27): time 0.0008332/0.9669, allocations: 310.5 kB / 1.193 GB, free: 12.04 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.9669, allocations: 62.47 kB / 1.193 GB, free: 11.97 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.9672, allocations: 213.5 kB / 1.194 GB, free: 11.83 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.9672, allocations: 31.64 kB / 1.194 GB, free: 11.79 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.9673, allocations: 178.4 kB / 1.194 GB, free: 11.64 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.126e-05/0.9674, allocations: 89.09 kB / 1.194 GB, free: 11.57 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.9675, allocations: 72.27 kB / 1.194 GB, free: 11.53 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.57e-05/0.9675, allocations: 329.9 kB / 1.194 GB, free: 11.21 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.9677, allocations: 84.33 kB / 1.194 GB, free: 11.18 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.968, allocations: 137.3 kB / 1.195 GB, free: 11.09 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000421/0.9684, allocations: 217.7 kB / 1.195 GB, free: 10.96 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9684, allocations: 0 / 1.195 GB, free: 10.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005715/0.969, allocations: 270.7 kB / 1.195 GB, free: 10.84 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.969, allocations: 12.91 kB / 1.195 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.969, allocations: 2.656 kB / 1.195 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.9691, allocations: 6.469 kB / 1.195 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.9693, allocations: 56.72 kB / 1.195 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.9693, allocations: 8.141 kB / 1.195 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.9695, allocations: 33 kB / 1.195 GB, free: 10.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.9695, allocations: 9.234 kB / 1.195 GB, free: 10.8 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * 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.0001885/0.9697, allocations: 152.9 kB / 1.195 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.9697, allocations: 22.64 kB / 1.195 GB, free: 10.65 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005566/0.9703, allocations: 248.9 kB / 1.196 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.9703, allocations: 7.047 kB / 1.196 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.9703, allocations: 5.094 kB / 1.196 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.9703, allocations: 1.125 kB / 1.196 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.9706, allocations: 245.7 kB / 1.196 GB, free: 10.35 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.9706, allocations: 4.781 kB / 1.196 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.9708, allocations: 41.72 kB / 1.196 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.9708, allocations: 5.094 kB / 1.196 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.9708, allocations: 5.781 kB / 1.196 GB, free: 10.33 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.9708, allocations: 1.672 kB / 1.196 GB, free: 10.33 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9708, allocations: 1.094 kB / 1.196 GB, free: 10.33 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004986/0.9713, allocations: 335.2 kB / 1.196 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.9713, allocations: 22.36 kB / 1.196 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.9714, allocations: 6.812 kB / 1.196 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.9715, allocations: 11.75 kB / 1.196 GB, free: 10.1 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.681e-05/0.9716, allocations: 33.58 kB / 1.196 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.9716, allocations: 9.828 kB / 1.196 GB, free: 10.09 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001153/0.9717, allocations: 139 kB / 1.196 GB, free: 9.992 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9717, allocations: 0 / 1.196 GB, free: 9.992 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003096/0.972, allocations: 62.75 kB / 1.196 GB, free: 9.969 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001098/0.9721, allocations: 108.7 kB / 1.197 GB, free: 9.875 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005138/0.9726, allocations: 215.8 kB / 1.197 GB, free: 9.809 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9726, allocations: 0 / 1.197 GB, free: 9.809 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.9729, allocations: 102.5 kB / 1.197 GB, free: 9.781 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.9732, allocations: 29.88 kB / 1.197 GB, free: 9.766 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008349/0.974, allocations: 494.7 kB / 1.197 GB, free: 9.445 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.9742, allocations: 158.2 kB / 1.197 GB, free: 9.359 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001371/0.9743, allocations: 34.16 kB / 1.198 GB, free: 9.348 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.006e-05/0.9744, allocations: 31.91 kB / 1.198 GB, free: 9.336 MB / 1.076 GB Notification: Performance of SimCode: time 8.22e-07/0.9744, allocations: 0 / 1.198 GB, free: 9.336 MB / 1.076 GB Notification: Performance of Templates: time 0.0064/0.9808, allocations: 1.828 MB / 1.199 GB, free: 9.105 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.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: 8.92259928304702]