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.001363/0.001363, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001531/0.001531, allocations: 214.6 kB / 23.04 MB, free: 4.867 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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.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 3.079/3.079, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 177] 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.001977/0.001977, allocations: 68.81 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.361, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002342/0.3633, allocations: 0.9574 MB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001847/0.3652, allocations: 1.276 MB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.658e-05/0.3653, allocations: 7.938 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.3657, allocations: 115.6 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.3658, allocations: 51.8 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.3663, allocations: 176.9 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006923/0.367, allocations: 0.5422 MB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002492/0.3673, allocations: 120.2 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002626/0.3675, allocations: 227.6 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.3678, allocations: 203.4 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.821e-05/0.3679, allocations: 36 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.3681, allocations: 71.97 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003444/0.3684, allocations: 243.4 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.3687, allocations: 171.2 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007421/0.3694, allocations: 0.6735 MB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3694, allocations: 0 / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3694, allocations: 0 / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.3694, allocations: 0 / 1.332 GB, free: 12.15 MB / 1.029 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.001214/0.3706, allocations: 0.6542 MB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.3707, allocations: 16.03 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.3708, allocations: 40.7 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000634/0.3714, allocations: 386.7 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.3715, allocations: 20.81 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.947e-05/0.3716, allocations: 32.38 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004989/0.3721, allocations: 303.7 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3721, allocations: 4.188 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/0.3721, allocations: 11.94 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.3721, allocations: 4 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004163/0.3725, allocations: 261.6 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.3741, allocations: 0.7672 MB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.3747, allocations: 366.3 kB / 1.335 GB, free: 9.207 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.3749, allocations: 132.8 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.375, allocations: 0 / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003685/0.3753, allocations: 239.1 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 1.993e-06/0.3753, allocations: 0 / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0008086/0.3761, allocations: 486.8 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.3762, allocations: 55.52 kB / 1.336 GB, free: 8.281 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004947/0.3767, allocations: 416.4 kB / 1.336 GB, free: 7.859 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.92e-05/0.3767, allocations: 33.7 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.3769, allocations: 192.9 kB / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.3771, allocations: 67.47 kB / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.3773, allocations: 109.6 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.3775, allocations: 342.8 kB / 1.337 GB, free: 7.105 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.3776, allocations: 103.9 kB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008903/0.3785, allocations: 0.9626 MB / 1.338 GB, free: 5.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.3788, allocations: 231.8 kB / 1.338 GB, free: 5.574 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3788, allocations: 0 / 1.338 GB, free: 5.574 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000513/0.3793, allocations: 318.8 kB / 1.338 GB, free: 5.258 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.3794, allocations: 4 kB / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3794, allocations: 8.188 kB / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3794, allocations: 0 / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.3795, allocations: 35.92 kB / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.3796, allocations: 4 kB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006992/0.3803, allocations: 66.52 kB / 1.338 GB, free: 5.145 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.3803, allocations: 8 kB / 1.338 GB, free: 5.137 MB / 1.029 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.0002704/0.3805, allocations: 234.1 kB / 1.339 GB, free: 4.898 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.3806, allocations: 27.81 kB / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005921/0.3812, allocations: 383.9 kB / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3812, allocations: 0 / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3812, allocations: 0 / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3812, allocations: 3.984 kB / 1.339 GB, free: 4.484 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/0.3815, allocations: 273.1 kB / 1.339 GB, free: 4.188 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3815, allocations: 0 / 1.339 GB, free: 4.188 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.894e-05/0.3816, allocations: 23.92 kB / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.3816, allocations: 3.938 kB / 1.339 GB, free: 4.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.3816, allocations: 8 kB / 1.339 GB, free: 4.152 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3816, allocations: 4 kB / 1.339 GB, free: 4.148 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3816, allocations: 0 / 1.339 GB, free: 4.148 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/0.3822, allocations: 390.7 kB / 1.34 GB, free: 3.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.078e-05/0.3823, allocations: 39.75 kB / 1.34 GB, free: 3.711 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.3823, allocations: 4 kB / 1.34 GB, free: 3.707 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3824, allocations: 11.98 kB / 1.34 GB, free: 3.695 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/0.3825, allocations: 23.91 kB / 1.34 GB, free: 3.672 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.3825, allocations: 8 kB / 1.34 GB, free: 3.664 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003623/0.3829, allocations: 303 kB / 1.34 GB, free: 3.371 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3829, allocations: 3.938 kB / 1.34 GB, free: 3.367 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003658/0.3832, allocations: 79.88 kB / 1.34 GB, free: 3.289 MB / 1.029 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.0002057/0.3834, allocations: 119.2 kB / 1.34 GB, free: 3.164 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004882/0.3839, allocations: 262.1 kB / 1.34 GB, free: 2.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3839, allocations: 0 / 1.34 GB, free: 2.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.3841, allocations: 143.9 kB / 1.341 GB, free: 2.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.3844, allocations: 28.58 kB / 1.341 GB, free: 2.738 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.3856, allocations: 0.7255 MB / 1.341 GB, free: 1.98 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.3858, allocations: 211.5 kB / 1.341 GB, free: 1.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.288e-05/0.3859, allocations: 35.42 kB / 1.342 GB, free: 1.715 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3859, allocations: 0 / 1.342 GB, free: 1.715 MB / 1.029 GB Notification: Performance of Templates: time 0.00834/0.3942, allocations: 5.011 MB / 1.346 GB, free: 12.77 MB / 1.045 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/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: 11.528528336901218]