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.001372/0.001372, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001565/0.001565, allocations: 213.6 kB / 22.99 MB, free: 4.945 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 3.202/3.202, allocations: 0.5107 GB / 0.8166 GB, free: 17.95 MB / 0.6231 GB " [Timeout remaining time 176] 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.00207/0.00207, allocations: 61.73 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3323, allocations: 181.9 MB / 1.365 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002366/0.3347, allocations: 0.9525 MB / 1.366 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001862/0.3365, allocations: 1.273 MB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.927e-05/0.3366, allocations: 0 / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003933/0.337, allocations: 111.6 kB / 1.367 GB, free: 11.28 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.3371, allocations: 67.73 kB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005734/0.3377, allocations: 165.4 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006579/0.3384, allocations: 0.55 MB / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.3386, allocations: 120.2 kB / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/0.3389, allocations: 235.5 kB / 1.368 GB, free: 10.15 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003285/0.3392, allocations: 203.4 kB / 1.368 GB, free: 9.953 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.3393, allocations: 43.94 kB / 1.368 GB, free: 9.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.3395, allocations: 63.97 kB / 1.368 GB, free: 9.848 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003204/0.3399, allocations: 235.5 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.3401, allocations: 171.2 kB / 1.369 GB, free: 9.449 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007744/0.3409, allocations: 0.6735 MB / 1.369 GB, free: 8.773 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3409, allocations: 0 / 1.369 GB, free: 8.773 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3409, allocations: 0 / 1.369 GB, free: 8.773 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.3409, allocations: 8 kB / 1.369 GB, free: 8.766 MB / 1.061 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.001248/0.3421, allocations: 0.6534 MB / 1.37 GB, free: 8.078 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.3422, allocations: 8.031 kB / 1.37 GB, free: 8.07 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.3423, allocations: 52.64 kB / 1.37 GB, free: 8.02 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007356/0.343, allocations: 374.7 kB / 1.37 GB, free: 7.633 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.3431, allocations: 24.81 kB / 1.37 GB, free: 7.609 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.198e-05/0.3431, allocations: 32.36 kB / 1.37 GB, free: 7.578 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.3437, allocations: 307.7 kB / 1.371 GB, free: 7.273 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3437, allocations: 4.188 kB / 1.371 GB, free: 7.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.95e-05/0.3437, allocations: 11.94 kB / 1.371 GB, free: 7.258 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3437, allocations: 8 kB / 1.371 GB, free: 7.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004309/0.3442, allocations: 257.6 kB / 1.371 GB, free: 6.992 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.3457, allocations: 0.7594 MB / 1.372 GB, free: 6.203 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006774/0.3464, allocations: 366.4 kB / 1.372 GB, free: 5.836 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.3466, allocations: 132.7 kB / 1.372 GB, free: 5.703 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.3467, allocations: 4 kB / 1.372 GB, free: 5.699 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003515/0.347, allocations: 228.3 kB / 1.372 GB, free: 5.465 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.347, allocations: 0 / 1.372 GB, free: 5.465 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.0008309/0.3478, allocations: 483.6 kB / 1.373 GB, free: 4.988 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.3479, allocations: 59.41 kB / 1.373 GB, free: 4.918 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005106/0.3484, allocations: 416.5 kB / 1.373 GB, free: 4.496 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.112e-05/0.3485, allocations: 37.7 kB / 1.373 GB, free: 4.453 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.3487, allocations: 192.8 kB / 1.374 GB, free: 4.262 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.001e-05/0.3487, allocations: 59.59 kB / 1.374 GB, free: 4.203 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.3489, allocations: 121.5 kB / 1.374 GB, free: 4.078 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3491, allocations: 342.8 kB / 1.374 GB, free: 3.734 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.3493, allocations: 99.88 kB / 1.374 GB, free: 3.637 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008833/0.3501, allocations: 0.9623 MB / 1.375 GB, free: 2.453 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.3505, allocations: 231.4 kB / 1.375 GB, free: 2.207 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3505, allocations: 4 kB / 1.375 GB, free: 2.203 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005222/0.351, allocations: 318.8 kB / 1.376 GB, free: 1.887 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.351, allocations: 8 kB / 1.376 GB, free: 1.879 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.351, allocations: 0 / 1.376 GB, free: 1.879 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.351, allocations: 4 kB / 1.376 GB, free: 1.875 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.3512, allocations: 31.92 kB / 1.376 GB, free: 1.844 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.3512, allocations: 7.938 kB / 1.376 GB, free: 1.836 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007062/0.3519, allocations: 72.03 kB / 1.376 GB, free: 1.766 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.3519, allocations: 8 kB / 1.376 GB, free: 1.758 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.0002804/0.3522, allocations: 217.7 kB / 1.376 GB, free: 1.535 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.3523, allocations: 27.81 kB / 1.376 GB, free: 1.508 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000609/0.3529, allocations: 386.5 kB / 1.376 GB, free: 1.125 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3529, allocations: 4 kB / 1.376 GB, free: 1.121 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3529, allocations: 3.984 kB / 1.376 GB, free: 1.117 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3529, allocations: 0 / 1.376 GB, free: 1.117 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.3532, allocations: 277.1 kB / 1.377 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3532, allocations: 0 / 1.377 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.3533, allocations: 23.92 kB / 1.377 GB, free: 0.793 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.3533, allocations: 4 kB / 1.377 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.3534, allocations: 4 kB / 1.377 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.3534, allocations: 4 kB / 1.377 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3534, allocations: 0 / 1.377 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.3539, allocations: 392.7 kB / 1.377 GB, free: 388 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-05/0.354, allocations: 27.8 kB / 1.377 GB, free: 360 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.354, allocations: 7.984 kB / 1.377 GB, free: 352 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3541, allocations: 8 kB / 1.377 GB, free: 344 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.3542, allocations: 23.95 kB / 1.377 GB, free: 320 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.3542, allocations: 15.94 kB / 1.377 GB, free: 304 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003495/0.3546, allocations: 303 kB / 1.377 GB, free: 4 kB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3546, allocations: 0 / 1.377 GB, free: 4 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003805/0.3549, allocations: 79.89 kB / 1.377 GB, free: 15.92 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.0001885/0.3551, allocations: 123 kB / 1.378 GB, free: 15.8 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004785/0.3556, allocations: 262.1 kB / 1.378 GB, free: 15.54 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3556, allocations: 8 kB / 1.378 GB, free: 15.54 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.3558, allocations: 135.9 kB / 1.378 GB, free: 15.4 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.3561, allocations: 32.64 kB / 1.378 GB, free: 15.37 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.3572, allocations: 0.7281 MB / 1.379 GB, free: 14.61 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.3575, allocations: 215.5 kB / 1.379 GB, free: 14.38 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.19e-05/0.3576, allocations: 31.42 kB / 1.379 GB, free: 14.34 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/0.3576, allocations: 3.938 kB / 1.379 GB, free: 14.34 MB / 1.076 GB Notification: Performance of Templates: time 0.008257/0.3658, allocations: 5.018 MB / 1.384 GB, free: 9.391 MB / 1.076 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: 11.625417599920183]