Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.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.00178/0.00178, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002109/0.002109, allocations: 157.8 kB / 23 MB, free: 4.605 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.473/1.473, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.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 2.814/2.814, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 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.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u1Equ.y.1.|u1Equ.y.2.|setFloMin.ratFloMinEna.1..y|setFloMin.ratFloMinEna.2..y|setFloMin.maxRatFloMinEna.y|setFloMin.V_flow_min.1.|setFloMin.V_flow_min.2.|setFloMin.VPriSet_flow",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint") translateModel(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u1Equ.y.1.|u1Equ.y.2.|setFloMin.ratFloMinEna.1..y|setFloMin.ratFloMinEna.2..y|setFloMin.maxRatFloMinEna.y|setFloMin.V_flow_min.1.|setFloMin.V_flow_min.2.|setFloMin.VPriSet_flow",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint") [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.002231/0.002231, allocations: 63.89 kB / 0.9819 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.004, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002787/1.007, allocations: 0.9635 MB / 1.155 GB, free: 32.73 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001839/1.009, allocations: 1.27 MB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.829e-05/1.009, allocations: 10.84 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004114/1.009, allocations: 111.7 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.617e-05/1.01, allocations: 55.16 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/1.01, allocations: 176.9 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005265/1.011, allocations: 0.5444 MB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/1.011, allocations: 125 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/1.011, allocations: 222.2 kB / 1.157 GB, free: 31.31 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/1.011, allocations: 205.5 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.953e-05/1.011, allocations: 37.72 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/1.012, allocations: 70.56 kB / 1.158 GB, free: 31.22 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000268/1.012, allocations: 246.4 kB / 1.158 GB, free: 31.13 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001812/1.012, allocations: 175 kB / 1.158 GB, free: 31.03 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005615/1.013, allocations: 0.6645 MB / 1.159 GB, free: 30.81 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/1.013, allocations: 0 / 1.159 GB, free: 30.81 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.613e-06/1.013, allocations: 0 / 1.159 GB, free: 30.81 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.005e-05/1.013, allocations: 2.844 kB / 1.159 GB, free: 30.81 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001051/1.014, allocations: 0.657 MB / 1.159 GB, free: 30.35 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/1.014, allocations: 11.25 kB / 1.159 GB, free: 30.35 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/1.014, allocations: 44.7 kB / 1.159 GB, free: 30.33 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005834/1.014, allocations: 387.7 kB / 1.16 GB, free: 30.09 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/1.014, allocations: 21.31 kB / 1.16 GB, free: 30.08 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.251e-05/1.014, allocations: 32.03 kB / 1.16 GB, free: 30.07 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/1.015, allocations: 305 kB / 1.16 GB, free: 29.96 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/1.015, allocations: 192 / 1.16 GB, free: 29.96 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/1.015, allocations: 22.38 kB / 1.16 GB, free: 29.94 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/1.015, allocations: 3.062 kB / 1.16 GB, free: 29.94 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000329/1.015, allocations: 255.8 kB / 1.16 GB, free: 29.86 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/1.016, allocations: 0.7613 MB / 1.161 GB, free: 29.46 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005502/1.017, allocations: 368.1 kB / 1.161 GB, free: 29.32 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/1.017, allocations: 136.3 kB / 1.162 GB, free: 29.27 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/1.017, allocations: 112 / 1.162 GB, free: 29.27 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002774/1.017, allocations: 230.6 kB / 1.162 GB, free: 29.17 MB / 1.076 GB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/1.017, allocations: 3.031 kB / 1.162 GB, free: 29.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=21): time 0.000684/1.018, allocations: 480.2 kB / 1.162 GB, free: 28.99 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/1.018, allocations: 62.44 kB / 1.162 GB, free: 28.92 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003844/1.019, allocations: 415.3 kB / 1.163 GB, free: 28.74 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/1.019, allocations: 35.17 kB / 1.163 GB, free: 28.7 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/1.019, allocations: 189.8 kB / 1.163 GB, free: 28.55 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/1.019, allocations: 59.64 kB / 1.163 GB, free: 28.5 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/1.019, allocations: 112.5 kB / 1.163 GB, free: 28.46 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.836e-05/1.019, allocations: 347.9 kB / 1.163 GB, free: 28.13 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/1.019, allocations: 101.6 kB / 1.163 GB, free: 28.1 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004747/1.02, allocations: 0.9638 MB / 1.164 GB, free: 27.12 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/1.02, allocations: 228.4 kB / 1.165 GB, free: 27 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.02, allocations: 0 / 1.165 GB, free: 27 MB / 1.076 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003829/1.02, allocations: 317.7 kB / 1.165 GB, free: 26.86 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/1.02, allocations: 7.875 kB / 1.165 GB, free: 26.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.02, allocations: 192 / 1.165 GB, free: 26.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.134e-05/1.02, allocations: 6.625 kB / 1.165 GB, free: 26.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/1.02, allocations: 35.03 kB / 1.165 GB, free: 26.85 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/1.02, allocations: 2.625 kB / 1.165 GB, free: 26.85 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006693/1.021, allocations: 68.66 kB / 1.165 GB, free: 26.83 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/1.021, allocations: 11.88 kB / 1.165 GB, free: 26.83 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,u1Equ.intTimTab.idx,$PRE.u1Equ.intTimTab.idx,u1Equ.intTimTab.y[2],$PRE.u1Equ.intTimTab.y[2],u1Equ.intTimTab.y[1],$PRE.u1Equ.intTimTab.y[1],u1Equ.y[2],u1Equ.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001835/1.021, allocations: 223.1 kB / 1.165 GB, free: 26.67 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/1.021, allocations: 32.94 kB / 1.165 GB, free: 26.65 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004431/1.022, allocations: 383.1 kB / 1.166 GB, free: 26.5 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/1.022, allocations: 6 kB / 1.166 GB, free: 26.5 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.022, allocations: 4 kB / 1.166 GB, free: 26.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.022, allocations: 0 / 1.166 GB, free: 26.5 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/1.022, allocations: 283.7 kB / 1.166 GB, free: 26.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.022, allocations: 2.625 kB / 1.166 GB, free: 26.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.831e-05/1.022, allocations: 23.06 kB / 1.166 GB, free: 26.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/1.022, allocations: 0 / 1.166 GB, free: 26.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/1.022, allocations: 6.625 kB / 1.166 GB, free: 26.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/1.022, allocations: 4 kB / 1.166 GB, free: 26.29 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/1.022, allocations: 0 / 1.166 GB, free: 26.29 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/1.023, allocations: 393 kB / 1.166 GB, free: 26.12 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/1.023, allocations: 31.19 kB / 1.166 GB, free: 26.1 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/1.023, allocations: 10.28 kB / 1.166 GB, free: 26.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-05/1.023, allocations: 2.688 kB / 1.166 GB, free: 26.09 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.74e-05/1.023, allocations: 23.06 kB / 1.166 GB, free: 26.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/1.023, allocations: 15.05 kB / 1.166 GB, free: 26.08 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000249/1.023, allocations: 300.8 kB / 1.167 GB, free: 25.95 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.023, allocations: 0 / 1.167 GB, free: 25.95 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003214/1.023, allocations: 80.11 kB / 1.167 GB, free: 25.93 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,u1Equ.y[1],u1Equ.y[2],u1Equ.intTimTab.y[1],u1Equ.intTimTab.y[2],u1Equ.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001545/1.024, allocations: 114.6 kB / 1.167 GB, free: 25.84 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003684/1.024, allocations: 261.7 kB / 1.167 GB, free: 25.76 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.024, allocations: 0 / 1.167 GB, free: 25.76 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/1.024, allocations: 130.5 kB / 1.167 GB, free: 25.72 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/1.024, allocations: 39.22 kB / 1.167 GB, free: 25.7 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009159/1.025, allocations: 0.6938 MB / 1.168 GB, free: 25.34 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/1.025, allocations: 220.8 kB / 1.168 GB, free: 25.23 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001502/1.026, allocations: 79.44 kB / 1.168 GB, free: 25.23 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.388e-05/1.026, allocations: 24.25 kB / 1.168 GB, free: 25.22 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/1.026, allocations: 0 / 1.168 GB, free: 25.22 MB / 1.076 GB Notification: Performance of Templates: time 0.0109/1.037, allocations: 5.088 MB / 1.173 GB, free: 24.65 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.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.278593421913683]