Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.001658/0.001658, 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.002286/0.002286, allocations: 218 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.315/3.315, allocations: 0.505 GB / 0.8108 GB, free: 22.17 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.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.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.001971/0.001971, allocations: 65.89 kB / 1.178 GB, free: 16.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3625, allocations: 180.2 MB / 1.354 GB, free: 7.984 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002428/0.3649, allocations: 1.016 MB / 1.355 GB, free: 6.969 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.3663, allocations: 1.023 MB / 1.356 GB, free: 5.934 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.216e-05/0.3664, allocations: 0 / 1.356 GB, free: 5.934 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.397e-05/0.3665, allocations: 15.8 kB / 1.356 GB, free: 5.918 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.3666, allocations: 31.72 kB / 1.356 GB, free: 5.887 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.3669, allocations: 67.88 kB / 1.356 GB, free: 5.82 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.3671, allocations: 172 kB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.3673, allocations: 64.56 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.3675, allocations: 75.7 kB / 1.357 GB, free: 5.512 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.3676, allocations: 71.69 kB / 1.357 GB, free: 5.441 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.3676, allocations: 16 kB / 1.357 GB, free: 5.426 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.585e-05/0.3677, allocations: 20 kB / 1.357 GB, free: 5.406 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.081e-05/0.3677, allocations: 39.84 kB / 1.357 GB, free: 5.367 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.802e-05/0.3678, allocations: 75.59 kB / 1.357 GB, free: 5.293 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.3681, allocations: 219 kB / 1.357 GB, free: 5.078 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3681, allocations: 0 / 1.357 GB, free: 5.078 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3681, allocations: 4 kB / 1.357 GB, free: 5.074 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.3681, allocations: 0 / 1.357 GB, free: 5.074 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.0006948/0.3688, allocations: 379.3 kB / 1.357 GB, free: 4.672 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3688, allocations: 8.031 kB / 1.357 GB, free: 4.664 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.369, allocations: 24.84 kB / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.3695, allocations: 198.2 kB / 1.358 GB, free: 4.422 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.3695, allocations: 12.38 kB / 1.358 GB, free: 4.41 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.3695, allocations: 20.36 kB / 1.358 GB, free: 4.391 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.3698, allocations: 146 kB / 1.358 GB, free: 4.242 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3698, allocations: 4.172 kB / 1.358 GB, free: 4.238 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.3699, allocations: 7.938 kB / 1.358 GB, free: 4.23 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3699, allocations: 4 kB / 1.358 GB, free: 4.227 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.3702, allocations: 123.8 kB / 1.358 GB, free: 4.105 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007204/0.3709, allocations: 435.4 kB / 1.358 GB, free: 3.637 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.3712, allocations: 118.5 kB / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.3714, allocations: 52.83 kB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.3714, allocations: 0 / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.3715, allocations: 30.56 kB / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 9.11e-07/0.3715, allocations: 7.938 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0005516/0.372, allocations: 181.4 kB / 1.359 GB, free: 3.227 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.3721, allocations: 59.34 kB / 1.359 GB, free: 3.156 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.3722, allocations: 156.9 kB / 1.359 GB, free: 2.988 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.3722, allocations: 33.7 kB / 1.359 GB, free: 2.949 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.581e-05/0.3723, allocations: 112.4 kB / 1.359 GB, free: 2.836 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.3724, allocations: 43.67 kB / 1.359 GB, free: 2.793 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.3724, allocations: 37.7 kB / 1.359 GB, free: 2.75 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3726, allocations: 326.8 kB / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.3727, allocations: 39.97 kB / 1.359 GB, free: 2.383 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.3729, allocations: 76.88 kB / 1.359 GB, free: 2.297 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.3732, allocations: 119.2 kB / 1.36 GB, free: 2.168 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3732, allocations: 0 / 1.36 GB, free: 2.168 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003762/0.3735, allocations: 149.5 kB / 1.36 GB, free: 2.016 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3736, allocations: 4 kB / 1.36 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.3736, allocations: 0 / 1.36 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3736, allocations: 4 kB / 1.36 GB, free: 2.008 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.3738, allocations: 32 kB / 1.36 GB, free: 1.977 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3738, allocations: 4 kB / 1.36 GB, free: 1.973 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.677e-05/0.3739, allocations: 11.95 kB / 1.36 GB, free: 1.961 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.3739, allocations: 7.984 kB / 1.36 GB, free: 1.953 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.0001261/0.374, allocations: 134.4 kB / 1.36 GB, free: 1.812 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.374, allocations: 7.953 kB / 1.36 GB, free: 1.805 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/0.3741, allocations: 16.72 kB / 1.36 GB, free: 1.789 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.3741, allocations: 4 kB / 1.36 GB, free: 1.785 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3741, allocations: 3.938 kB / 1.36 GB, free: 1.781 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3741, allocations: 3.984 kB / 1.36 GB, free: 1.777 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.3744, allocations: 212.5 kB / 1.36 GB, free: 1.527 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3744, allocations: 3.938 kB / 1.36 GB, free: 1.523 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.3745, allocations: 23.97 kB / 1.36 GB, free: 1.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3745, allocations: 3.984 kB / 1.36 GB, free: 1.496 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.3745, allocations: 4 kB / 1.36 GB, free: 1.492 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3745, allocations: 0 / 1.36 GB, free: 1.492 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3745, allocations: 0 / 1.36 GB, free: 1.492 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.3749, allocations: 231.4 kB / 1.36 GB, free: 1.25 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.023e-05/0.3749, allocations: 15.84 kB / 1.36 GB, free: 1.234 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.375, allocations: 4 kB / 1.36 GB, free: 1.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.3751, allocations: 11.98 kB / 1.36 GB, free: 1.219 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/0.3751, allocations: 15.97 kB / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.3752, allocations: 12 kB / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.273e-05/0.3752, allocations: 114.4 kB / 1.361 GB, free: 1.082 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3752, allocations: 0 / 1.361 GB, free: 1.082 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002624/0.3755, allocations: 39.77 kB / 1.361 GB, free: 1.043 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.0001353/0.3756, allocations: 99.25 kB / 1.361 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003673/0.376, allocations: 107.9 kB / 1.361 GB, free: 0.832 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.376, allocations: 0 / 1.361 GB, free: 0.832 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.3762, allocations: 60.77 kB / 1.361 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.3765, allocations: 12 kB / 1.361 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005906/0.3771, allocations: 303.1 kB / 1.361 GB, free: 444 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.3774, allocations: 0.7162 MB / 1.362 GB, free: 15.69 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.462e-05/0.3775, allocations: 19.44 kB / 1.362 GB, free: 15.67 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.3775, allocations: 0 / 1.362 GB, free: 15.67 MB / 1.061 GB Notification: Performance of Templates: time 0.003565/0.3811, allocations: 1.711 MB / 1.364 GB, free: 13.97 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.4800337679917]