Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001163/0.001163, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 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.001375/0.001375, allocations: 216.7 kB / 23.02 MB, free: 2.969 MB / 13.93 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.02/1.02, allocations: 230.6 MB / 256.8 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.991/1.991, allocations: 0.5045 GB / 0.8104 GB, free: 2.781 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,fileNamePrefix="Buildings_13_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,fileNamePrefix="Buildings_13_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009814/0.0009814, allocations: 71.88 kB / 1.177 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7752/0.7761, allocations: 180 MB / 1.352 GB, free: 1.703 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.001999/0.7781, allocations: 0.9702 MB / 1.353 GB, free: 0.7344 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.7794, allocations: 1.26 MB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.782e-05/0.7795, allocations: 0 / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.7798, allocations: 111.6 kB / 1.355 GB, free: 15.35 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.774e-05/0.7799, allocations: 63.72 kB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.7804, allocations: 170.6 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0004227/0.7808, allocations: 0.55 MB / 1.355 GB, free: 14.57 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.781, allocations: 112.2 kB / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.7812, allocations: 235.5 kB / 1.356 GB, free: 14.23 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.7814, allocations: 207.4 kB / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 6.039e-05/0.7814, allocations: 40 kB / 1.356 GB, free: 13.99 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.7816, allocations: 67.97 kB / 1.356 GB, free: 13.92 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.7818, allocations: 235.5 kB / 1.356 GB, free: 13.69 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.7819, allocations: 175.2 kB / 1.356 GB, free: 13.52 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004708/0.7824, allocations: 0.6679 MB / 1.357 GB, free: 12.85 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7824, allocations: 0 / 1.357 GB, free: 12.85 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7824, allocations: 0 / 1.357 GB, free: 12.85 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.7824, allocations: 4 kB / 1.357 GB, free: 12.85 MB / 1.042 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.0008959/0.7833, allocations: 0.6667 MB / 1.358 GB, free: 12.15 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.7833, allocations: 8.922 kB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.563e-05/0.7833, allocations: 54.73 kB / 1.358 GB, free: 12.08 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.602e-05/0.7834, allocations: 52.64 kB / 1.358 GB, free: 12.03 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.7838, allocations: 374.7 kB / 1.358 GB, free: 11.63 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.7839, allocations: 24.81 kB / 1.358 GB, free: 11.61 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/0.7839, allocations: 28.38 kB / 1.358 GB, free: 11.58 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.7842, allocations: 315.6 kB / 1.359 GB, free: 11.27 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.7843, allocations: 3.938 kB / 1.359 GB, free: 11.27 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.7843, allocations: 8 kB / 1.359 GB, free: 11.26 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.7843, allocations: 12 kB / 1.359 GB, free: 11.25 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002542/0.7845, allocations: 257.6 kB / 1.359 GB, free: 11 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.7857, allocations: 0.8252 MB / 1.36 GB, free: 10.12 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004554/0.7861, allocations: 366.3 kB / 1.36 GB, free: 9.758 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.7862, allocations: 135.5 kB / 1.36 GB, free: 9.625 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.7863, allocations: 4 kB / 1.36 GB, free: 9.621 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.7865, allocations: 237.2 kB / 1.36 GB, free: 9.379 MB / 1.042 GB Notification: Performance of pre-optimization done (n=21): time 1.984e-06/0.7865, allocations: 0 / 1.36 GB, free: 9.379 MB / 1.042 GB Notification: Performance of matching and sorting (n=21): time 0.0005289/0.787, allocations: 489.1 kB / 1.361 GB, free: 8.895 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.7871, allocations: 55.41 kB / 1.361 GB, free: 8.828 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.7874, allocations: 469.6 kB / 1.361 GB, free: 8.359 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.7874, allocations: 33.7 kB / 1.361 GB, free: 8.32 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.7876, allocations: 184.9 kB / 1.362 GB, free: 8.137 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.7876, allocations: 71.58 kB / 1.362 GB, free: 8.066 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.956e-05/0.7877, allocations: 109.6 kB / 1.362 GB, free: 7.953 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.023e-05/0.7878, allocations: 342.8 kB / 1.362 GB, free: 7.609 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.021e-05/0.7879, allocations: 99.94 kB / 1.362 GB, free: 7.512 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/0.7883, allocations: 0.9704 MB / 1.363 GB, free: 6.32 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.7885, allocations: 227.5 kB / 1.363 GB, free: 6.078 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.7885, allocations: 0 / 1.363 GB, free: 6.078 MB / 1.042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002997/0.7888, allocations: 325.1 kB / 1.364 GB, free: 5.754 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.7889, allocations: 4 kB / 1.364 GB, free: 5.75 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.7889, allocations: 4 kB / 1.364 GB, free: 5.746 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.7889, allocations: 0 / 1.364 GB, free: 5.746 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.789, allocations: 31.97 kB / 1.364 GB, free: 5.715 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.789, allocations: 7.938 kB / 1.364 GB, free: 5.707 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.7893, allocations: 64 kB / 1.364 GB, free: 5.645 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.7893, allocations: 15.98 kB / 1.364 GB, free: 5.629 MB / 1.042 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.0001659/0.7895, allocations: 222.2 kB / 1.364 GB, free: 5.402 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.7895, allocations: 27.81 kB / 1.364 GB, free: 5.375 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003571/0.7899, allocations: 386.1 kB / 1.364 GB, free: 4.996 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.7899, allocations: 4 kB / 1.364 GB, free: 4.992 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.7899, allocations: 0 / 1.364 GB, free: 4.992 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7899, allocations: 0 / 1.364 GB, free: 4.992 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.7901, allocations: 324.4 kB / 1.365 GB, free: 4.633 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.7901, allocations: 0 / 1.365 GB, free: 4.633 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.343e-05/0.7902, allocations: 27.92 kB / 1.365 GB, free: 4.605 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.7902, allocations: 4 kB / 1.365 GB, free: 4.602 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.7902, allocations: 4 kB / 1.365 GB, free: 4.598 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.7902, allocations: 3.938 kB / 1.365 GB, free: 4.594 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7902, allocations: 0 / 1.365 GB, free: 4.594 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004648/0.7907, allocations: 402.7 kB / 1.365 GB, free: 4.184 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.706e-05/0.7907, allocations: 35.81 kB / 1.365 GB, free: 4.148 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.7908, allocations: 7.984 kB / 1.365 GB, free: 4.141 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9e-05/0.7909, allocations: 11.94 kB / 1.365 GB, free: 4.129 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.7909, allocations: 19.97 kB / 1.365 GB, free: 4.109 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.7909, allocations: 8 kB / 1.365 GB, free: 4.102 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0003267/0.7913, allocations: 343.1 kB / 1.366 GB, free: 3.77 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/0.7913, allocations: 0 / 1.366 GB, free: 3.77 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003578/0.7916, allocations: 79.83 kB / 1.366 GB, free: 3.691 MB / 1.042 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.0008221/0.7924, allocations: 0.9458 MB / 1.367 GB, free: 2.715 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003883/0.7928, allocations: 259.7 kB / 1.367 GB, free: 2.461 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7928, allocations: 0 / 1.367 GB, free: 2.461 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.793, allocations: 137.5 kB / 1.367 GB, free: 2.328 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.7932, allocations: 31.33 kB / 1.367 GB, free: 2.301 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003033/0.7962, allocations: 3.669 MB / 1.371 GB, free: 14.52 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.7964, allocations: 223.9 kB / 1.371 GB, free: 14.27 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.000137/0.7965, allocations: 82.23 kB / 1.371 GB, free: 14.2 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.7966, allocations: 103.4 kB / 1.371 GB, free: 14.09 MB / 1.057 GB Notification: Performance of SimCode: time 1.503e-06/0.7966, allocations: 0 / 1.371 GB, free: 14.09 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09026/0.8869, allocations: 9.195 MB / 1.38 GB, free: 5.156 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.677/7.564, allocations: 14.61 kB / 1.38 GB, free: 5.145 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe >> ../files/Buildings_13_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint.fmu) > Buildings_13_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_fmpy.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_fmpy_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 ../Buildings_13_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint.fmu) > Buildings_13_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.610323498025537]