Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00138/0.00138, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001534/0.001534, allocations: 213 kB / 22.99 MB, free: 4.957 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.56/1.56, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.457/3.457, allocations: 0.49 GB / 0.7959 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 176] 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.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_12_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_12_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.002067/0.002067, allocations: 69.61 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3913, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002739/0.3941, allocations: 0.9755 MB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.3956, allocations: 1.011 MB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.395e-05/0.3957, allocations: 4 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.381e-05/0.3958, allocations: 15.8 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.3959, allocations: 31.72 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.3962, allocations: 67.88 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.3964, allocations: 164 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.3966, allocations: 68.67 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.3968, allocations: 83.69 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.3969, allocations: 71.69 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.3969, allocations: 19.94 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.822e-05/0.397, allocations: 31.94 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.397, allocations: 31.92 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.633e-05/0.3971, allocations: 67.64 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.3974, allocations: 219 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3974, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3974, allocations: 3.938 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.617e-06/0.3974, allocations: 0 / 1.33 GB, free: 14.14 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007801/0.3982, allocations: 381.6 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.3983, allocations: 12.03 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.3984, allocations: 24.84 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004811/0.3989, allocations: 195.4 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.3989, allocations: 12.38 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.399, allocations: 12.38 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/0.3994, allocations: 162 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3994, allocations: 192 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.3994, allocations: 7.938 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3994, allocations: 8 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003409/0.3997, allocations: 111.9 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006993/0.4004, allocations: 387.9 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.4008, allocations: 114.6 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.4009, allocations: 56.77 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.4009, allocations: 8 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.401, allocations: 30.56 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.401, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0005931/0.4016, allocations: 177.8 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.4016, allocations: 55.41 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.4018, allocations: 152.2 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.4018, allocations: 29.7 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.645e-05/0.4019, allocations: 124.3 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.4019, allocations: 39.69 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.76e-05/0.402, allocations: 37.7 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.4022, allocations: 326.8 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.4023, allocations: 39.97 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.4025, allocations: 71.39 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.4028, allocations: 119.4 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.4028, allocations: 4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003696/0.4032, allocations: 153.4 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.4032, allocations: 4 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.4032, allocations: 4.094 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.4032, allocations: 4 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.4034, allocations: 27.91 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.4034, allocations: 4 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.938e-05/0.4035, allocations: 15.89 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.4035, allocations: 11.98 kB / 1.333 GB, free: 11.08 MB / 1.029 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.0001223/0.4036, allocations: 132.3 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.4037, allocations: 11.91 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.362e-05/0.4037, allocations: 20.72 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.4037, allocations: 0 / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4037, allocations: 0 / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.4037, allocations: 3.984 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.4039, allocations: 165.2 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4039, allocations: 4 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.4041, allocations: 15.98 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4041, allocations: 0 / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.4041, allocations: 4 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4041, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4041, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.4045, allocations: 243.2 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.4045, allocations: 11.89 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.4045, allocations: 3.984 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.4047, allocations: 12 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.337e-05/0.4047, allocations: 15.97 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.4048, allocations: 4 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.028e-05/0.4048, allocations: 111.2 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4048, allocations: 4 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002734/0.4051, allocations: 23.95 kB / 1.333 GB, free: 10.25 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: 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.0001388/0.4053, allocations: 103.2 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003752/0.4056, allocations: 115.7 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4056, allocations: 0 / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.4058, allocations: 64.08 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.4061, allocations: 14.48 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006047/0.4067, allocations: 285.6 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.4069, allocations: 107.1 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.514e-05/0.4069, allocations: 25.06 kB / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.407, allocations: 23.42 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.407, allocations: 0 / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of Templates: time 0.004502/0.4115, allocations: 1.368 MB / 1.335 GB, free: 8.152 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.40217415499501]