Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001486/0.001486, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001546/0.001546, allocations: 193.2 kB / 22.17 MB, free: 5.656 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.305/1.305, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.932/2.932, allocations: 497.2 MB / 0.7845 GB, free: 33.7 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 75.56 kB / 1.139 GB, free: 33.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2893, allocations: 173.9 MB / 1.309 GB, free: 4 kB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.00238/0.2917, allocations: 1.005 MB / 1.31 GB, free: 14.99 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001819/0.2935, allocations: 1.279 MB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.2936, allocations: 3.938 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004008/0.294, allocations: 111.6 kB / 1.312 GB, free: 13.59 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.2941, allocations: 51.81 kB / 1.312 GB, free: 13.54 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.2947, allocations: 175.6 kB / 1.312 GB, free: 13.36 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006309/0.2954, allocations: 0.55 MB / 1.312 GB, free: 12.81 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002232/0.2956, allocations: 112.4 kB / 1.312 GB, free: 12.7 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.2958, allocations: 231.5 kB / 1.313 GB, free: 12.47 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.2961, allocations: 199.4 kB / 1.313 GB, free: 12.28 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.489e-05/0.2962, allocations: 36 kB / 1.313 GB, free: 12.24 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.2964, allocations: 63.97 kB / 1.313 GB, free: 12.18 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003004/0.2967, allocations: 247.4 kB / 1.313 GB, free: 11.94 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000237/0.2969, allocations: 203 kB / 1.313 GB, free: 11.74 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007116/0.2976, allocations: 0.6619 MB / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2976, allocations: 3.938 kB / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2976, allocations: 0 / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.457e-06/0.2976, allocations: 0 / 1.314 GB, free: 11.07 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.001293/0.2989, allocations: 0.7403 MB / 1.315 GB, free: 10.28 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.2989, allocations: 8.922 kB / 1.315 GB, free: 10.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.2991, allocations: 48.64 kB / 1.315 GB, free: 10.22 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006976/0.2998, allocations: 436.5 kB / 1.315 GB, free: 9.758 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.2998, allocations: 20.81 kB / 1.315 GB, free: 9.738 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.451e-05/0.2999, allocations: 32.38 kB / 1.315 GB, free: 9.707 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004819/0.3004, allocations: 307.7 kB / 1.316 GB, free: 9.398 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3004, allocations: 192 / 1.316 GB, free: 9.398 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.3004, allocations: 19.92 kB / 1.316 GB, free: 9.379 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3004, allocations: 4 kB / 1.316 GB, free: 9.375 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004495/0.3009, allocations: 257.6 kB / 1.316 GB, free: 9.121 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.3025, allocations: 0.9469 MB / 1.317 GB, free: 8.125 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005961/0.3031, allocations: 370.3 kB / 1.317 GB, free: 7.754 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.3033, allocations: 136.8 kB / 1.317 GB, free: 7.617 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3033, allocations: 80 / 1.317 GB, free: 7.617 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003192/0.3036, allocations: 233.4 kB / 1.317 GB, free: 7.379 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 1.393e-06/0.3036, allocations: 0 / 1.317 GB, free: 7.379 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.0007466/0.3044, allocations: 485.1 kB / 1.318 GB, free: 6.898 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.3044, allocations: 59.41 kB / 1.318 GB, free: 6.828 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005415/0.3049, allocations: 465.6 kB / 1.318 GB, free: 6.367 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.439e-05/0.305, allocations: 41.69 kB / 1.318 GB, free: 6.32 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.3052, allocations: 185 kB / 1.319 GB, free: 6.137 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.917e-05/0.3052, allocations: 67.47 kB / 1.319 GB, free: 6.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.3054, allocations: 113.6 kB / 1.319 GB, free: 5.953 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3056, allocations: 338.8 kB / 1.319 GB, free: 5.613 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.3057, allocations: 107.9 kB / 1.319 GB, free: 5.508 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005126/0.3062, allocations: 411.9 kB / 1.32 GB, free: 5.02 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.3065, allocations: 240.7 kB / 1.32 GB, free: 4.766 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3065, allocations: 0 / 1.32 GB, free: 4.766 MB / 1.014 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004659/0.307, allocations: 313.1 kB / 1.32 GB, free: 4.453 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.307, allocations: 8 kB / 1.32 GB, free: 4.445 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.307, allocations: 192 / 1.32 GB, free: 4.445 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.307, allocations: 8 kB / 1.32 GB, free: 4.438 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.3071, allocations: 35.92 kB / 1.32 GB, free: 4.402 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.3072, allocations: 0 / 1.32 GB, free: 4.402 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006838/0.3078, allocations: 75.78 kB / 1.32 GB, free: 4.328 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.3079, allocations: 12 kB / 1.32 GB, free: 4.316 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.0002328/0.3081, allocations: 225.6 kB / 1.321 GB, free: 4.086 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.3081, allocations: 31.77 kB / 1.321 GB, free: 4.055 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000545/0.3087, allocations: 387 kB / 1.321 GB, free: 3.676 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3087, allocations: 0 / 1.321 GB, free: 3.676 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3087, allocations: 0 / 1.321 GB, free: 3.676 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.3087, allocations: 3.984 kB / 1.321 GB, free: 3.672 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003727/0.3091, allocations: 385.3 kB / 1.321 GB, free: 3.246 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3091, allocations: 3.938 kB / 1.321 GB, free: 3.242 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.181e-05/0.3092, allocations: 23.92 kB / 1.321 GB, free: 3.219 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3092, allocations: 4 kB / 1.321 GB, free: 3.215 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.3092, allocations: 4 kB / 1.321 GB, free: 3.211 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3092, allocations: 0 / 1.321 GB, free: 3.211 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3092, allocations: 0 / 1.321 GB, free: 3.211 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004944/0.3097, allocations: 402.1 kB / 1.322 GB, free: 2.801 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.3098, allocations: 120.8 kB / 1.322 GB, free: 2.664 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.3098, allocations: 4 kB / 1.322 GB, free: 2.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3099, allocations: 4 kB / 1.322 GB, free: 2.656 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.31, allocations: 23.91 kB / 1.322 GB, free: 2.633 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.31, allocations: 12 kB / 1.322 GB, free: 2.621 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003752/0.3104, allocations: 347.1 kB / 1.322 GB, free: 2.281 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3104, allocations: 0 / 1.322 GB, free: 2.281 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003184/0.3107, allocations: 75.83 kB / 1.322 GB, free: 2.207 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.0001711/0.3109, allocations: 111.2 kB / 1.322 GB, free: 2.09 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004298/0.3113, allocations: 265.5 kB / 1.323 GB, free: 1.832 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3113, allocations: 4.125 kB / 1.323 GB, free: 1.828 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.3115, allocations: 138.1 kB / 1.323 GB, free: 1.695 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.3117, allocations: 33.31 kB / 1.323 GB, free: 1.664 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.3128, allocations: 0.7017 MB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.3132, allocations: 0.8263 MB / 1.324 GB, free: 80 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001851/0.3134, allocations: 86.27 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.898e-05/0.3134, allocations: 27.44 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.3134, allocations: 0 / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of Templates: time 0.009463/0.3229, allocations: 5.03 MB / 1.329 GB, free: 10.98 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint -abortSlowSimulation -alarm=800 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.946726399939507]