Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002212/0.002212, allocations: 199.9 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 443.5 MB / 0.732 GB, free: 12.5 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 71.89 kB / 1.061 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.964/0.9661, allocations: 160.7 MB / 1.218 GB, free: 4.098 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003057/0.9691, allocations: 1.443 MB / 1.22 GB, free: 2.965 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.9707, allocations: 1.098 MB / 1.221 GB, free: 2.059 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.9708, allocations: 4.062 kB / 1.221 GB, free: 2.059 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.691e-05/0.9709, allocations: 40.62 kB / 1.221 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.9711, allocations: 39.77 kB / 1.221 GB, free: 1.984 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.9714, allocations: 120.4 kB / 1.221 GB, free: 1.883 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004042/0.9718, allocations: 335.7 kB / 1.221 GB, free: 1.672 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.9722, allocations: 161.5 kB / 1.221 GB, free: 1.559 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.9724, allocations: 136.6 kB / 1.222 GB, free: 1.461 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.9726, allocations: 146 kB / 1.222 GB, free: 1.344 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.484e-05/0.9726, allocations: 37.31 kB / 1.222 GB, free: 1.344 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.817e-05/0.9727, allocations: 42.69 kB / 1.222 GB, free: 1.34 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.661e-05/0.9728, allocations: 80.84 kB / 1.222 GB, free: 1.27 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.9729, allocations: 155.6 kB / 1.222 GB, free: 1.145 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000535/0.9735, allocations: 482.2 kB / 1.222 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.9735, allocations: 0 / 1.222 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.002e-06/0.9735, allocations: 1.125 kB / 1.222 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.9735, allocations: 0 / 1.222 GB, free: 0.7461 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0009427/0.9744, allocations: 0.587 MB / 1.223 GB, free: 200 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.9745, allocations: 9.812 kB / 1.223 GB, free: 200 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.356e-05/0.9745, allocations: 37.55 kB / 1.223 GB, free: 180 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006752/0.9752, allocations: 327.5 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/0.9752, allocations: 26.5 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.9753, allocations: 29.47 kB / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/0.9759, allocations: 284.2 kB / 1.224 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.9759, allocations: 4.125 kB / 1.224 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.9759, allocations: 19.28 kB / 1.224 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.9759, allocations: 7.5 kB / 1.224 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005805/0.9765, allocations: 228.9 kB / 1.224 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.9778, allocations: 0.8056 MB / 1.225 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005145/0.9783, allocations: 215.6 kB / 1.225 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.9786, allocations: 93.59 kB / 1.225 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.9786, allocations: 15.22 kB / 1.225 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.9786, allocations: 35.64 kB / 1.225 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.373e-06/0.9786, allocations: 1.062 kB / 1.225 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26): time 0.0007787/0.9794, allocations: 298.7 kB / 1.225 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.9795, allocations: 58.09 kB / 1.225 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.9797, allocations: 216 kB / 1.226 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.9797, allocations: 30.86 kB / 1.226 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.9799, allocations: 179.7 kB / 1.226 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.174e-05/0.9799, allocations: 81.08 kB / 1.226 GB, free: 14 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.375e-05/0.98, allocations: 63.19 kB / 1.226 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.9802, allocations: 331.8 kB / 1.226 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.9804, allocations: 77.7 kB / 1.226 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.9807, allocations: 141.6 kB / 1.226 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004457/0.9811, allocations: 221.2 kB / 1.227 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.9811, allocations: 0 / 1.227 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005548/0.9817, allocations: 277.3 kB / 1.227 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.9817, allocations: 8.688 kB / 1.227 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.9817, allocations: 2.312 kB / 1.227 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.9817, allocations: 3.594 kB / 1.227 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.982, allocations: 59.31 kB / 1.227 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.982, allocations: 7.172 kB / 1.227 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.9821, allocations: 33.53 kB / 1.227 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.9822, allocations: 16.11 kB / 1.227 GB, free: 13.13 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (33): * Single equations (assignments): 33 * 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.0001528/0.9823, allocations: 147 kB / 1.227 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.9824, allocations: 25.12 kB / 1.227 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000572/0.9829, allocations: 249.7 kB / 1.227 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.9829, allocations: 6.375 kB / 1.227 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.9829, allocations: 0.75 kB / 1.227 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.9829, allocations: 1.031 kB / 1.227 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.9834, allocations: 346.7 kB / 1.228 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.9834, allocations: 1.469 kB / 1.228 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.9835, allocations: 36.22 kB / 1.228 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.9835, allocations: 1.406 kB / 1.228 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.9836, allocations: 5.312 kB / 1.228 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.9836, allocations: 13.36 kB / 1.228 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.9836, allocations: 5.375 kB / 1.228 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005256/0.9841, allocations: 323.4 kB / 1.228 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.004e-05/0.9842, allocations: 102.4 kB / 1.228 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.9842, allocations: 1.312 kB / 1.228 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.9843, allocations: 21.23 kB / 1.228 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/0.9844, allocations: 26.78 kB / 1.228 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.9844, allocations: 9.547 kB / 1.228 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001072/0.9845, allocations: 135.1 kB / 1.228 GB, free: 12 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.9845, allocations: 0 / 1.228 GB, free: 12 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003012/0.9848, allocations: 58.66 kB / 1.229 GB, free: 11.98 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0001561/0.985, allocations: 116.4 kB / 1.229 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000525/0.9855, allocations: 208.5 kB / 1.229 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.9855, allocations: 0 / 1.229 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.9858, allocations: 99.05 kB / 1.229 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.9861, allocations: 35.06 kB / 1.229 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008811/0.987, allocations: 495.2 kB / 1.229 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.9874, allocations: 0.7629 MB / 1.23 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.9876, allocations: 29.28 kB / 1.23 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.351e-05/0.9876, allocations: 28.03 kB / 1.23 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.9876, allocations: 0 / 1.23 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of Templates: time 0.005909/0.9935, allocations: 1.948 MB / 1.232 GB, free: 9 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.890928620938212]