Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.001782/0.001782, allocations: 110.2 kB / 19.69 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.00211/0.00211, allocations: 215.3 kB / 23.01 MB, free: 4.566 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.252/3.252, allocations: 0.505 GB / 0.8108 GB, free: 22 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.CoolingOnly.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|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.002076/0.002076, allocations: 67.02 kB / 1.178 GB, free: 16.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3976, allocations: 180.2 MB / 1.354 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002458/0.4, allocations: 1.034 MB / 1.355 GB, free: 6.883 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.4013, allocations: 1.027 MB / 1.356 GB, free: 5.844 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.485e-05/0.4014, allocations: 4 kB / 1.356 GB, free: 5.84 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.126e-05/0.4015, allocations: 19.73 kB / 1.356 GB, free: 5.82 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.299e-05/0.4015, allocations: 15.81 kB / 1.356 GB, free: 5.805 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.4018, allocations: 71.86 kB / 1.356 GB, free: 5.734 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.402, allocations: 168 kB / 1.356 GB, free: 5.57 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.4021, allocations: 68.67 kB / 1.356 GB, free: 5.5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.4023, allocations: 83.7 kB / 1.357 GB, free: 5.418 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.4024, allocations: 75.62 kB / 1.357 GB, free: 5.344 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.4025, allocations: 16 kB / 1.357 GB, free: 5.328 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.442e-05/0.4025, allocations: 20 kB / 1.357 GB, free: 5.309 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.554e-05/0.4026, allocations: 39.89 kB / 1.357 GB, free: 5.27 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.92e-05/0.4026, allocations: 75.61 kB / 1.357 GB, free: 5.195 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.4029, allocations: 223 kB / 1.357 GB, free: 4.977 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4029, allocations: 0 / 1.357 GB, free: 4.977 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4029, allocations: 4 kB / 1.357 GB, free: 4.973 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.4029, allocations: 0 / 1.357 GB, free: 4.973 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006942/0.4036, allocations: 389.5 kB / 1.357 GB, free: 4.559 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.4037, allocations: 11.97 kB / 1.357 GB, free: 4.547 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.4038, allocations: 32.78 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.4042, allocations: 182.2 kB / 1.358 GB, free: 4.312 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.4043, allocations: 12.36 kB / 1.358 GB, free: 4.301 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.4043, allocations: 16.38 kB / 1.358 GB, free: 4.285 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003385/0.4046, allocations: 154 kB / 1.358 GB, free: 4.129 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4046, allocations: 192 / 1.358 GB, free: 4.129 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.4046, allocations: 7.938 kB / 1.358 GB, free: 4.121 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4047, allocations: 4 kB / 1.358 GB, free: 4.117 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.405, allocations: 119.8 kB / 1.358 GB, free: 4 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006797/0.4057, allocations: 455.3 kB / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.406, allocations: 110.6 kB / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.4061, allocations: 48.83 kB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.4061, allocations: 0 / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.4062, allocations: 42.56 kB / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 9.12e-07/0.4062, allocations: 0 / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0005433/0.4067, allocations: 173.4 kB / 1.359 GB, free: 3.117 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.4068, allocations: 55.34 kB / 1.359 GB, free: 3.051 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.4069, allocations: 159.5 kB / 1.359 GB, free: 2.879 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.4069, allocations: 29.7 kB / 1.359 GB, free: 2.844 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.267e-05/0.407, allocations: 128.3 kB / 1.359 GB, free: 2.715 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.4071, allocations: 35.69 kB / 1.359 GB, free: 2.68 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.351e-05/0.4071, allocations: 37.7 kB / 1.359 GB, free: 2.637 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.4073, allocations: 326.8 kB / 1.359 GB, free: 2.309 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.4074, allocations: 39.97 kB / 1.359 GB, free: 2.27 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.4076, allocations: 79.39 kB / 1.36 GB, free: 2.18 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.4079, allocations: 103.3 kB / 1.36 GB, free: 2.066 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4079, allocations: 0 / 1.36 GB, free: 2.066 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003597/0.4083, allocations: 157.5 kB / 1.36 GB, free: 1.906 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.4083, allocations: 4 kB / 1.36 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4083, allocations: 0 / 1.36 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.4083, allocations: 4 kB / 1.36 GB, free: 1.898 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.4085, allocations: 27.91 kB / 1.36 GB, free: 1.871 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.4085, allocations: 4 kB / 1.36 GB, free: 1.867 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.705e-05/0.4086, allocations: 23.98 kB / 1.36 GB, free: 1.844 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.4086, allocations: 7.984 kB / 1.36 GB, free: 1.836 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.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.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.0001277/0.4087, allocations: 140.4 kB / 1.36 GB, free: 1.691 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.4087, allocations: 11.91 kB / 1.36 GB, free: 1.68 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.4088, allocations: 12.72 kB / 1.36 GB, free: 1.668 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4088, allocations: 3.938 kB / 1.36 GB, free: 1.664 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4088, allocations: 3.938 kB / 1.36 GB, free: 1.66 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.4088, allocations: 11.98 kB / 1.36 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.4091, allocations: 208.6 kB / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4091, allocations: 0 / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.4092, allocations: 23.97 kB / 1.36 GB, free: 1.379 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4092, allocations: 0 / 1.36 GB, free: 1.379 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.4092, allocations: 4 kB / 1.36 GB, free: 1.375 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.4092, allocations: 0 / 1.36 GB, free: 1.375 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4092, allocations: 0 / 1.36 GB, free: 1.375 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.4096, allocations: 239.8 kB / 1.36 GB, free: 1.125 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.4096, allocations: 15.89 kB / 1.36 GB, free: 1.109 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.4096, allocations: 4 kB / 1.36 GB, free: 1.105 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.4097, allocations: 7.984 kB / 1.36 GB, free: 1.098 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/0.4098, allocations: 19.97 kB / 1.361 GB, free: 1.078 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.4098, allocations: 4 kB / 1.361 GB, free: 1.074 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.41e-05/0.4099, allocations: 113.2 kB / 1.361 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4099, allocations: 4 kB / 1.361 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002511/0.4102, allocations: 27.95 kB / 1.361 GB, free: 0.9336 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.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.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.000114/0.4103, allocations: 99.25 kB / 1.361 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003662/0.4106, allocations: 111.9 kB / 1.361 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4106, allocations: 8.188 kB / 1.361 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.4108, allocations: 59.83 kB / 1.361 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.4111, allocations: 14.03 kB / 1.361 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005966/0.4117, allocations: 308.4 kB / 1.361 GB, free: 316 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.4121, allocations: 0.7162 MB / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/0.4122, allocations: 15.44 kB / 1.362 GB, free: 15.55 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/0.4122, allocations: 0 / 1.362 GB, free: 15.55 MB / 1.061 GB Notification: Performance of Templates: time 0.003556/0.4157, allocations: 1.716 MB / 1.364 GB, free: 13.84 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.511518903018441]