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.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.001475/0.001475, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001393/0.001393, allocations: 215.3 kB / 23.01 MB, free: 4.602 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.318/1.318, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 179] 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 2.937/2.937, allocations: 0.505 GB / 0.8108 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 177] 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.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: 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.001955/0.001955, allocations: 66.58 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2957, allocations: 180.2 MB / 1.354 GB, free: 7.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002173/0.2979, allocations: 0.9931 MB / 1.355 GB, free: 6.973 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.2995, allocations: 1.307 MB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.963e-05/0.2996, allocations: 7.938 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.2999, allocations: 107.6 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.3, allocations: 63.73 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005189/0.3006, allocations: 171.6 kB / 1.357 GB, free: 5.309 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006167/0.3012, allocations: 0.5617 MB / 1.357 GB, free: 4.746 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.3014, allocations: 120.2 kB / 1.357 GB, free: 4.629 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.3016, allocations: 223.6 kB / 1.358 GB, free: 4.41 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.3019, allocations: 195.4 kB / 1.358 GB, free: 4.219 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.305e-05/0.302, allocations: 43.94 kB / 1.358 GB, free: 4.176 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.3022, allocations: 71.95 kB / 1.358 GB, free: 4.105 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002929/0.3024, allocations: 243.5 kB / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.3027, allocations: 199.1 kB / 1.358 GB, free: 3.672 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006684/0.3033, allocations: 0.6696 MB / 1.359 GB, free: 3 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3033, allocations: 4 kB / 1.359 GB, free: 2.996 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3033, allocations: 0 / 1.359 GB, free: 2.996 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.3033, allocations: 0 / 1.359 GB, free: 2.996 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001078/0.3044, allocations: 0.6611 MB / 1.36 GB, free: 2.301 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 2.799e-05/0.3044, allocations: 11.97 kB / 1.36 GB, free: 2.289 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.3046, allocations: 48.7 kB / 1.36 GB, free: 2.242 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006383/0.3052, allocations: 374.8 kB / 1.36 GB, free: 1.848 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.3052, allocations: 28.81 kB / 1.36 GB, free: 1.82 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.219e-05/0.3053, allocations: 28.38 kB / 1.36 GB, free: 1.793 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000454/0.3058, allocations: 307.7 kB / 1.36 GB, free: 1.484 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3058, allocations: 192 / 1.36 GB, free: 1.484 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.3058, allocations: 7.938 kB / 1.36 GB, free: 1.477 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.3058, allocations: 11.94 kB / 1.36 GB, free: 1.465 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003788/0.3062, allocations: 257.6 kB / 1.361 GB, free: 1.211 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.3077, allocations: 0.9264 MB / 1.361 GB, free: 248 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000603/0.3083, allocations: 368.4 kB / 1.362 GB, free: 15.88 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.3085, allocations: 132.8 kB / 1.362 GB, free: 15.74 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.3085, allocations: 4 kB / 1.362 GB, free: 15.74 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003198/0.3088, allocations: 235.6 kB / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.3088, allocations: 0 / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.0007277/0.3095, allocations: 479.9 kB / 1.363 GB, free: 15.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.3096, allocations: 59.39 kB / 1.363 GB, free: 14.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004974/0.3101, allocations: 469.6 kB / 1.363 GB, free: 14.49 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.643e-05/0.3101, allocations: 33.7 kB / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.3103, allocations: 192.9 kB / 1.363 GB, free: 14.26 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.599e-05/0.3104, allocations: 55.66 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.3105, allocations: 109.6 kB / 1.364 GB, free: 14.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.3107, allocations: 346.8 kB / 1.364 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.3108, allocations: 103.9 kB / 1.364 GB, free: 13.64 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004809/0.3113, allocations: 421.2 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.3116, allocations: 235.9 kB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3116, allocations: 4 kB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004468/0.312, allocations: 310.8 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.312, allocations: 4 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.312, allocations: 4 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3121, allocations: 4.094 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.3122, allocations: 39.86 kB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3122, allocations: 7.984 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006276/0.3128, allocations: 63.97 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.3128, allocations: 12 kB / 1.365 GB, free: 12.45 MB / 1.061 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.0002298/0.3131, allocations: 233.5 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.3131, allocations: 27.81 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005348/0.3136, allocations: 384.8 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3137, allocations: 11.94 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3137, allocations: 0 / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3137, allocations: 0 / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000351/0.314, allocations: 360.4 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.314, allocations: 0 / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.841e-05/0.3141, allocations: 19.98 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3141, allocations: 0 / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.3141, allocations: 8 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3141, allocations: 0 / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3141, allocations: 0 / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004949/0.3146, allocations: 406.7 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-05/0.3147, allocations: 35.75 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.3147, allocations: 8 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.866e-05/0.3148, allocations: 11.92 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.3149, allocations: 19.97 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.3149, allocations: 4 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003628/0.3153, allocations: 347.1 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3153, allocations: 0 / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003/0.3156, allocations: 75.89 kB / 1.367 GB, free: 10.46 MB / 1.061 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.0001544/0.3157, allocations: 121.4 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000416/0.3161, allocations: 263.7 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.3161, allocations: 0 / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.3163, allocations: 139.9 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.3166, allocations: 37.67 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.3176, allocations: 0.733 MB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.318, allocations: 0.8201 MB / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.229e-05/0.3181, allocations: 35.42 kB / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3181, allocations: 4 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of Templates: time 0.007231/0.3253, allocations: 5.079 MB / 1.374 GB, free: 3.238 MB / 1.061 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 -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/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: 10.461569004983176]