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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.892/2.892, allocations: 496 MB / 0.7835 GB, free: 33.5 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 66.2 kB / 1.138 GB, free: 33.8 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3133, allocations: 173.6 MB / 1.307 GB, free: 1.855 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002235/0.3155, allocations: 1.012 MB / 1.308 GB, free: 0.8438 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001664/0.3172, allocations: 1.279 MB / 1.309 GB, free: 15.55 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.717e-05/0.3173, allocations: 4 kB / 1.309 GB, free: 15.55 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0003619/0.3177, allocations: 111.5 kB / 1.31 GB, free: 15.44 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 9.691e-05/0.3178, allocations: 55.8 kB / 1.31 GB, free: 15.38 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005434/0.3183, allocations: 182.2 kB / 1.31 GB, free: 15.21 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0006007/0.3189, allocations: 0.5539 MB / 1.31 GB, free: 14.65 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/0.3191, allocations: 116.2 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.3193, allocations: 231.5 kB / 1.311 GB, free: 14.31 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002635/0.3196, allocations: 203.4 kB / 1.311 GB, free: 14.11 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 7.939e-05/0.3197, allocations: 40 kB / 1.311 GB, free: 14.07 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.3198, allocations: 71.95 kB / 1.311 GB, free: 14 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002769/0.3201, allocations: 231.5 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.3203, allocations: 215 kB / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.000648/0.321, allocations: 0.6579 MB / 1.312 GB, free: 12.9 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.321, allocations: 0 / 1.312 GB, free: 12.9 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.353e-06/0.321, allocations: 0 / 1.312 GB, free: 12.9 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.005e-06/0.321, allocations: 0 / 1.312 GB, free: 12.9 MB / 1.014 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.001165/0.3222, allocations: 0.6612 MB / 1.313 GB, free: 12.21 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3222, allocations: 12.92 kB / 1.313 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.3223, allocations: 44.66 kB / 1.313 GB, free: 12.15 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006037/0.3229, allocations: 382.7 kB / 1.313 GB, free: 11.75 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.323, allocations: 24.75 kB / 1.313 GB, free: 11.73 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.844e-05/0.323, allocations: 32.38 kB / 1.313 GB, free: 11.7 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/0.3235, allocations: 303.7 kB / 1.313 GB, free: 11.39 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3235, allocations: 192 / 1.313 GB, free: 11.39 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.3235, allocations: 15.94 kB / 1.313 GB, free: 11.38 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3236, allocations: 8 kB / 1.314 GB, free: 11.37 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003768/0.3239, allocations: 257.6 kB / 1.314 GB, free: 11.12 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.3254, allocations: 0.9032 MB / 1.315 GB, free: 10.18 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005875/0.3259, allocations: 374.2 kB / 1.315 GB, free: 9.801 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.3261, allocations: 136.8 kB / 1.315 GB, free: 9.664 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.3262, allocations: 4.109 kB / 1.315 GB, free: 9.66 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003225/0.3265, allocations: 239.9 kB / 1.315 GB, free: 9.414 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.3265, allocations: 0 / 1.315 GB, free: 9.414 MB / 1.014 GB
Notification: Performance of matching and sorting (n=21): time 0.0007256/0.3272, allocations: 484.9 kB / 1.316 GB, free: 8.938 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.3272, allocations: 55.41 kB / 1.316 GB, free: 8.871 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005015/0.3277, allocations: 477.6 kB / 1.316 GB, free: 8.395 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 5.411e-05/0.3278, allocations: 33.7 kB / 1.316 GB, free: 8.355 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.328, allocations: 188.8 kB / 1.317 GB, free: 8.168 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/0.328, allocations: 63.52 kB / 1.317 GB, free: 8.105 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.3282, allocations: 109.6 kB / 1.317 GB, free: 7.992 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001525/0.3283, allocations: 342.8 kB / 1.317 GB, free: 7.648 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.3285, allocations: 99.94 kB / 1.317 GB, free: 7.551 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004831/0.3289, allocations: 422.3 kB / 1.318 GB, free: 7.051 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.3292, allocations: 235.3 kB / 1.318 GB, free: 6.801 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3292, allocations: 0 / 1.318 GB, free: 6.801 MB / 1.014 GB
Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004408/0.3297, allocations: 315 kB / 1.318 GB, free: 6.488 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3297, allocations: 9.875 kB / 1.318 GB, free: 6.48 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3297, allocations: 0 / 1.318 GB, free: 6.48 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.3297, allocations: 8 kB / 1.318 GB, free: 6.473 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.3299, allocations: 32.11 kB / 1.318 GB, free: 6.441 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.3299, allocations: 11.98 kB / 1.318 GB, free: 6.43 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006/0.3305, allocations: 67.77 kB / 1.318 GB, free: 6.363 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.3305, allocations: 8 kB / 1.318 GB, free: 6.355 MB / 1.014 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.0002233/0.3307, allocations: 226.9 kB / 1.318 GB, free: 6.125 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.3307, allocations: 31.81 kB / 1.318 GB, free: 6.094 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005211/0.3313, allocations: 388.8 kB / 1.319 GB, free: 5.711 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3313, allocations: 4 kB / 1.319 GB, free: 5.707 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3313, allocations: 0 / 1.319 GB, free: 5.707 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3313, allocations: 3.984 kB / 1.319 GB, free: 5.703 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.3316, allocations: 360.3 kB / 1.319 GB, free: 5.309 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3316, allocations: 0 / 1.319 GB, free: 5.309 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.186e-05/0.3317, allocations: 23.92 kB / 1.319 GB, free: 5.285 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3317, allocations: 0 / 1.319 GB, free: 5.285 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.3317, allocations: 8 kB / 1.319 GB, free: 5.277 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3318, allocations: 0 / 1.319 GB, free: 5.277 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3318, allocations: 4 kB / 1.319 GB, free: 5.273 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.3322, allocations: 399.1 kB / 1.32 GB, free: 4.867 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.3323, allocations: 43.73 kB / 1.32 GB, free: 4.824 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.3323, allocations: 4 kB / 1.32 GB, free: 4.82 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.387e-05/0.3324, allocations: 4 kB / 1.32 GB, free: 4.816 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.3325, allocations: 19.97 kB / 1.32 GB, free: 4.797 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.3325, allocations: 11.98 kB / 1.32 GB, free: 4.785 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0003561/0.3329, allocations: 351 kB / 1.32 GB, free: 4.445 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.3329, allocations: 0 / 1.32 GB, free: 4.445 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.000313/0.3332, allocations: 75.89 kB / 1.32 GB, free: 4.371 MB / 1.014 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.0002064/0.3334, allocations: 115.2 kB / 1.32 GB, free: 4.246 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0005669/0.334, allocations: 263.7 kB / 1.32 GB, free: 3.988 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.334, allocations: 0 / 1.32 GB, free: 3.988 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.3342, allocations: 131.2 kB / 1.321 GB, free: 3.863 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.3344, allocations: 49.3 kB / 1.321 GB, free: 3.816 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.3357, allocations: 0.6924 MB / 1.321 GB, free: 3.094 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.3361, allocations: 0.8263 MB / 1.322 GB, free: 2.242 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001795/0.3363, allocations: 78.23 kB / 1.322 GB, free: 2.164 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.41e-05/0.3364, allocations: 31.44 kB / 1.322 GB, free: 2.133 MB / 1.014 GB
Notification: Performance of SimCode: time 3.71e-07/0.3364, allocations: 4 kB / 1.322 GB, free: 2.129 MB / 1.014 GB
Notification: Performance of Templates: time 0.009309/0.3457, allocations: 5.075 MB / 1.327 GB, free: 13.1 MB / 1.029 GB
"
[Timeout remaining time 300]
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  -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/jenkins/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: 8.189577139914036]