Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.001313/0.001313, 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.001783/0.001783, allocations: 216.1 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 8.07 MB / 206.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 3.325/3.325, allocations: 0.505 GB / 0.8108 GB, free: 22.25 MB / 0.6231 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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.002114/0.002114, allocations: 67.03 kB / 1.178 GB, free: 16.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3645, allocations: 180.2 MB / 1.354 GB, free: 8.066 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002343/0.3669, allocations: 1.018 MB / 1.355 GB, free: 7.051 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.3682, allocations: 1.019 MB / 1.356 GB, free: 6.02 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.753e-05/0.3683, allocations: 8 kB / 1.356 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.663e-05/0.3684, allocations: 15.8 kB / 1.356 GB, free: 5.996 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.3685, allocations: 27.73 kB / 1.356 GB, free: 5.969 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.3687, allocations: 67.81 kB / 1.356 GB, free: 5.902 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.3689, allocations: 164 kB / 1.356 GB, free: 5.742 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.3691, allocations: 72.53 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.3693, allocations: 79.72 kB / 1.357 GB, free: 5.59 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.3694, allocations: 67.67 kB / 1.357 GB, free: 5.523 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.3695, allocations: 24 kB / 1.357 GB, free: 5.5 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.1e-05/0.3695, allocations: 27.94 kB / 1.357 GB, free: 5.473 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.626e-05/0.3696, allocations: 31.92 kB / 1.357 GB, free: 5.441 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.462e-05/0.3696, allocations: 71.59 kB / 1.357 GB, free: 5.371 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.3699, allocations: 215 kB / 1.357 GB, free: 5.16 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3699, allocations: 4 kB / 1.357 GB, free: 5.156 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3699, allocations: 0 / 1.357 GB, free: 5.156 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.3699, allocations: 0 / 1.357 GB, free: 5.156 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0006646/0.3706, allocations: 381.6 kB / 1.357 GB, free: 4.75 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.3706, allocations: 12.03 kB / 1.357 GB, free: 4.738 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.3708, allocations: 28.83 kB / 1.357 GB, free: 4.711 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/0.3712, allocations: 186.2 kB / 1.358 GB, free: 4.504 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.3712, allocations: 12.38 kB / 1.358 GB, free: 4.492 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.3713, allocations: 12.38 kB / 1.358 GB, free: 4.48 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.3716, allocations: 154 kB / 1.358 GB, free: 4.324 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3716, allocations: 192 / 1.358 GB, free: 4.324 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.3716, allocations: 15.88 kB / 1.358 GB, free: 4.309 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3717, allocations: 4 kB / 1.358 GB, free: 4.305 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003357/0.372, allocations: 115.9 kB / 1.358 GB, free: 4.191 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006998/0.3727, allocations: 439.4 kB / 1.358 GB, free: 3.719 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.373, allocations: 122.5 kB / 1.358 GB, free: 3.59 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.3732, allocations: 44.81 kB / 1.358 GB, free: 3.543 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.3732, allocations: 8 kB / 1.358 GB, free: 3.535 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.3732, allocations: 30.56 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.3732, allocations: 4 kB / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0005592/0.3738, allocations: 181.7 kB / 1.359 GB, free: 3.309 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.3738, allocations: 51.41 kB / 1.359 GB, free: 3.246 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.374, allocations: 160.9 kB / 1.359 GB, free: 3.074 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.374, allocations: 25.7 kB / 1.359 GB, free: 3.043 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.323e-05/0.3741, allocations: 116.4 kB / 1.359 GB, free: 2.926 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.3741, allocations: 39.69 kB / 1.359 GB, free: 2.887 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/0.3742, allocations: 41.7 kB / 1.359 GB, free: 2.84 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3743, allocations: 322.8 kB / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.3745, allocations: 43.97 kB / 1.359 GB, free: 2.473 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.3746, allocations: 75.33 kB / 1.359 GB, free: 2.387 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.3749, allocations: 119.2 kB / 1.36 GB, free: 2.258 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3749, allocations: 0 / 1.36 GB, free: 2.258 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003733/0.3753, allocations: 149.5 kB / 1.36 GB, free: 2.105 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3753, allocations: 11.98 kB / 1.36 GB, free: 2.094 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3753, allocations: 3.984 kB / 1.36 GB, free: 2.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3753, allocations: 3.938 kB / 1.36 GB, free: 2.086 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.3755, allocations: 23.98 kB / 1.36 GB, free: 2.062 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.3755, allocations: 3.984 kB / 1.36 GB, free: 2.059 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.752e-05/0.3756, allocations: 19.94 kB / 1.36 GB, free: 2.039 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.3756, allocations: 8.094 kB / 1.36 GB, free: 2.031 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.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 (15): * Single equations (assignments): 15 * 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.000133/0.3758, allocations: 141.6 kB / 1.36 GB, free: 1.883 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.3758, allocations: 15.95 kB / 1.36 GB, free: 1.867 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.3758, allocations: 16.7 kB / 1.36 GB, free: 1.852 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.3758, allocations: 4 kB / 1.36 GB, free: 1.848 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3758, allocations: 0 / 1.36 GB, free: 1.848 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3758, allocations: 0 / 1.36 GB, free: 1.848 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.3761, allocations: 216.4 kB / 1.36 GB, free: 1.594 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3761, allocations: 4 kB / 1.36 GB, free: 1.59 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.3762, allocations: 19.98 kB / 1.36 GB, free: 1.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3762, allocations: 0 / 1.36 GB, free: 1.57 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.3762, allocations: 7.984 kB / 1.36 GB, free: 1.562 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3763, allocations: 4 kB / 1.36 GB, free: 1.559 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3763, allocations: 0 / 1.36 GB, free: 1.559 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.3766, allocations: 235.3 kB / 1.36 GB, free: 1.312 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.447e-05/0.3767, allocations: 11.91 kB / 1.36 GB, free: 1.301 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.3767, allocations: 0 / 1.36 GB, free: 1.301 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.3768, allocations: 7.984 kB / 1.36 GB, free: 1.293 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.584e-05/0.3769, allocations: 23.97 kB / 1.36 GB, free: 1.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.3769, allocations: 0 / 1.36 GB, free: 1.27 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.061e-05/0.377, allocations: 117.2 kB / 1.361 GB, free: 1.156 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.377, allocations: 0 / 1.361 GB, free: 1.156 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002613/0.3772, allocations: 27.89 kB / 1.361 GB, free: 1.129 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001181/0.3773, allocations: 112.6 kB / 1.361 GB, free: 1.012 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003608/0.3777, allocations: 107.9 kB / 1.361 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3777, allocations: 0 / 1.361 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.3779, allocations: 56.09 kB / 1.361 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.3782, allocations: 12 kB / 1.361 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005771/0.3788, allocations: 303.3 kB / 1.361 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.3791, allocations: 0.72 MB / 1.362 GB, free: 15.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.24e-05/0.3792, allocations: 19.42 kB / 1.362 GB, free: 15.75 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.3792, allocations: 0 / 1.362 GB, free: 15.75 MB / 1.061 GB Notification: Performance of Templates: time 0.003652/0.3828, allocations: 1.707 MB / 1.364 GB, free: 14.05 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.731998510018457]