Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001368/0.001368, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001482/0.001482, allocations: 220 kB / 23.01 MB, free: 4.609 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.157/3.157, allocations: 0.49 GB / 0.7958 GB, free: 33.47 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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_12_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_12_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.002103/0.002103, allocations: 68.86 kB / 1.155 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3611, allocations: 176.1 MB / 1.327 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.00287/0.364, allocations: 1.44 MB / 1.329 GB, free: 28 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.3655, allocations: 1.147 MB / 1.33 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.3657, allocations: 4 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.3658, allocations: 39.47 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.366, allocations: 51.53 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.3663, allocations: 127.8 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003408/0.3666, allocations: 332.7 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003245/0.367, allocations: 170.5 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.3672, allocations: 143.4 kB / 1.331 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.3674, allocations: 147.3 kB / 1.331 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.991e-05/0.3675, allocations: 40 kB / 1.331 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-05/0.3675, allocations: 43.98 kB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.98e-05/0.3676, allocations: 83.7 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.3678, allocations: 167.1 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005446/0.3683, allocations: 489.8 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3683, allocations: 0 / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3683, allocations: 0 / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.3683, allocations: 0 / 1.331 GB, free: 13.06 MB / 1.029 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.0008387/0.3692, allocations: 0.5096 MB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.3692, allocations: 8.031 kB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.3694, allocations: 52.69 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/0.3699, allocations: 267.6 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/0.3699, allocations: 29.36 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/0.37, allocations: 36.38 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005653/0.3705, allocations: 291.1 kB / 1.333 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3705, allocations: 192 / 1.333 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.3706, allocations: 11.94 kB / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.3706, allocations: 12 kB / 1.333 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005702/0.3712, allocations: 243.8 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.3724, allocations: 0.771 MB / 1.334 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004927/0.3729, allocations: 237.1 kB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.3731, allocations: 101.3 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.3731, allocations: 4.234 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.3732, allocations: 30.8 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 1.433e-06/0.3732, allocations: 4 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.0007524/0.3739, allocations: 315.5 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.374, allocations: 55.41 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.3742, allocations: 211.7 kB / 1.335 GB, free: 9.746 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.3742, allocations: 29.64 kB / 1.335 GB, free: 9.711 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.3743, allocations: 184.5 kB / 1.335 GB, free: 9.527 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.478e-05/0.3744, allocations: 95.25 kB / 1.335 GB, free: 9.434 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.513e-05/0.3745, allocations: 65.92 kB / 1.335 GB, free: 9.363 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3746, allocations: 334.8 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.3748, allocations: 76.5 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.3751, allocations: 147.9 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004355/0.3755, allocations: 214.7 kB / 1.336 GB, free: 8.551 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3755, allocations: 0 / 1.336 GB, free: 8.551 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005549/0.3761, allocations: 282.3 kB / 1.336 GB, free: 8.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3761, allocations: 10.03 kB / 1.336 GB, free: 8.262 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.3761, allocations: 3.984 kB / 1.336 GB, free: 8.258 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3761, allocations: 7.938 kB / 1.336 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.3764, allocations: 51.91 kB / 1.336 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3764, allocations: 4 kB / 1.336 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.3765, allocations: 27.81 kB / 1.336 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.3765, allocations: 12 kB / 1.336 GB, free: 8.156 MB / 1.029 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.000203/0.3767, allocations: 162.4 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.3768, allocations: 19.86 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005927/0.3774, allocations: 248.1 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.3774, allocations: 7.938 kB / 1.336 GB, free: 7.715 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3774, allocations: 4 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3774, allocations: 0 / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004084/0.3778, allocations: 324.4 kB / 1.337 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3778, allocations: 0 / 1.337 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.378, allocations: 35.98 kB / 1.337 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.378, allocations: 11.86 kB / 1.337 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.378, allocations: 8 kB / 1.337 GB, free: 7.297 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.378, allocations: 3.938 kB / 1.337 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.378, allocations: 0 / 1.337 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005112/0.3785, allocations: 323.4 kB / 1.337 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/0.3786, allocations: 27.78 kB / 1.337 GB, free: 6.934 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.3786, allocations: 8 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.3787, allocations: 19.92 kB / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.459e-05/0.3788, allocations: 23.97 kB / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.3788, allocations: 7.984 kB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001105/0.3789, allocations: 141.5 kB / 1.337 GB, free: 6.738 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3789, allocations: 0 / 1.337 GB, free: 6.738 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003073/0.3792, allocations: 67.73 kB / 1.337 GB, free: 6.672 MB / 1.029 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.0001271/0.3794, allocations: 107.2 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004984/0.3799, allocations: 216.9 kB / 1.338 GB, free: 6.348 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3799, allocations: 0 / 1.338 GB, free: 6.348 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.3801, allocations: 103.8 kB / 1.338 GB, free: 6.246 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.3804, allocations: 23.98 kB / 1.338 GB, free: 6.223 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008782/0.3813, allocations: 0.5126 MB / 1.338 GB, free: 5.672 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.3817, allocations: 0.7751 MB / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.44e-05/0.3818, allocations: 31.44 kB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3818, allocations: 0 / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of Templates: time 0.005231/0.387, allocations: 3.056 MB / 1.342 GB, free: 1.793 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.130292669986375]