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.001237/0.001237, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.00166/0.00166, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.9195/0.9195, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.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.903/1.903, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 178] 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 2.104e-06/2.104e-06, allocations: 0 / 1.001 GB, free: 13.6 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.661e-05, allocations: 2.281 kB / 1.001 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.001488/0.001505, allocations: 0.9564 MB / 1.002 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.002796, allocations: 1.275 MB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.511e-05/0.002881, allocations: 0 / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.003244, allocations: 115.5 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.203e-05/0.003316, allocations: 63.67 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.003737, allocations: 177.5 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004171/0.004155, allocations: 0.5578 MB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.00436, allocations: 112.3 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.004583, allocations: 299.5 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.004797, allocations: 187.6 kB / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.021e-05/0.004858, allocations: 36 kB / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.004986, allocations: 67.91 kB / 1.004 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.005177, allocations: 243.5 kB / 1.005 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.0053, allocations: 155.6 kB / 1.005 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005077/0.005807, allocations: 0.7129 MB / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.005809, allocations: 0 / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.11e-07/0.00581, allocations: 0 / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.005816, allocations: 0 / 1.005 GB, free: 8.656 MB / 0.9636 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.0008137/0.006629, allocations: 0.6612 MB / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.006665, allocations: 13.34 kB / 1.006 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.025e-05/0.006715, allocations: 54.73 kB / 1.006 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.512e-05/0.006801, allocations: 44.7 kB / 1.006 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/0.007216, allocations: 378 kB / 1.007 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.007243, allocations: 20.88 kB / 1.007 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.007288, allocations: 32.38 kB / 1.007 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.00761, allocations: 312.5 kB / 1.007 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.007619, allocations: 192 / 1.007 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.007636, allocations: 4.375 kB / 1.007 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.007644, allocations: 8.125 kB / 1.007 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002617/0.007906, allocations: 265.8 kB / 1.007 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009821/0.008888, allocations: 0.8294 MB / 1.008 GB, free: 5.941 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/0.009343, allocations: 370.3 kB / 1.008 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.009473, allocations: 132.8 kB / 1.008 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.009491, allocations: 4 kB / 1.008 GB, free: 5.434 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.009715, allocations: 220.7 kB / 1.009 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=21): time 1.943e-06/0.009717, allocations: 0 / 1.009 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of matching and sorting (n=21): time 0.0005241/0.01024, allocations: 489.8 kB / 1.009 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.01028, allocations: 59.41 kB / 1.009 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.01062, allocations: 469.6 kB / 1.01 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.01066, allocations: 41.69 kB / 1.01 GB, free: 4.141 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.01077, allocations: 180.9 kB / 1.01 GB, free: 3.957 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.01081, allocations: 59.61 kB / 1.01 GB, free: 3.898 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.01091, allocations: 113.6 kB / 1.01 GB, free: 3.781 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.693e-05/0.01101, allocations: 346.8 kB / 1.01 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.644e-05/0.01111, allocations: 95.94 kB / 1.01 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.01159, allocations: 0.9734 MB / 1.011 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.01179, allocations: 243.8 kB / 1.012 GB, free: 1.887 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01179, allocations: 0 / 1.012 GB, free: 1.887 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003193/0.01211, allocations: 317 kB / 1.012 GB, free: 1.57 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.01213, allocations: 8 kB / 1.012 GB, free: 1.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01213, allocations: 0 / 1.012 GB, free: 1.562 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.01215, allocations: 4.188 kB / 1.012 GB, free: 1.559 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.467e-05/0.01225, allocations: 39.92 kB / 1.012 GB, free: 1.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.01225, allocations: 0 / 1.012 GB, free: 1.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.0126, allocations: 71.78 kB / 1.012 GB, free: 1.449 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.01261, allocations: 12 kB / 1.012 GB, free: 1.438 MB / 0.9636 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.0001575/0.01277, allocations: 217.7 kB / 1.012 GB, free: 1.215 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.0128, allocations: 39.75 kB / 1.012 GB, free: 1.176 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003608/0.01317, allocations: 386.2 kB / 1.013 GB, free: 0.793 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.01317, allocations: 4 kB / 1.013 GB, free: 0.7891 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.01317, allocations: 0 / 1.013 GB, free: 0.7891 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.01318, allocations: 0 / 1.013 GB, free: 0.7891 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.0134, allocations: 316.5 kB / 1.013 GB, free: 448 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.0134, allocations: 0 / 1.013 GB, free: 448 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.475e-05/0.01345, allocations: 19.94 kB / 1.013 GB, free: 428 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.01345, allocations: 0 / 1.013 GB, free: 428 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.01347, allocations: 11.98 kB / 1.013 GB, free: 416 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01347, allocations: 0 / 1.013 GB, free: 416 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01347, allocations: 0 / 1.013 GB, free: 416 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.01379, allocations: 398 kB / 1.013 GB, free: 0 / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.01384, allocations: 43.73 kB / 1.013 GB, free: 15.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.01386, allocations: 4 kB / 1.013 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.505e-05/0.01392, allocations: 7.984 kB / 1.013 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.01396, allocations: 19.97 kB / 1.013 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.01398, allocations: 4 kB / 1.013 GB, free: 15.92 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002482/0.01423, allocations: 347.1 kB / 1.014 GB, free: 15.58 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.01423, allocations: 0 / 1.014 GB, free: 15.58 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002323/0.01446, allocations: 75.89 kB / 1.014 GB, free: 15.51 MB / 0.9792 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.0006102/0.01507, allocations: 0.9502 MB / 1.015 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003136/0.01538, allocations: 267.2 kB / 1.015 GB, free: 14.27 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01538, allocations: 0 / 1.015 GB, free: 14.27 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.01551, allocations: 135.8 kB / 1.015 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.0157, allocations: 33.42 kB / 1.015 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/0.01871, allocations: 3.678 MB / 1.019 GB, free: 10.31 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.01886, allocations: 219.8 kB / 1.019 GB, free: 10.08 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.01898, allocations: 82.22 kB / 1.019 GB, free: 9.996 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.0191, allocations: 104.5 kB / 1.019 GB, free: 9.891 MB / 0.9792 GB Notification: Performance of SimCode: time 7.71e-07/0.0191, allocations: 0 / 1.019 GB, free: 9.891 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09022/0.1093, allocations: 9.321 MB / 1.028 GB, free: 0.8203 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.034/7.143, allocations: 2.031 kB / 1.028 GB, free: 0.8203 MB / 0.9792 GB " [Timeout remaining time 293] (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: 11.780274847522378]