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.001415/0.001415, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001642/0.001642, allocations: 211.7 kB / 22.24 MB, free: 5.242 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.805 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.097/3.097, allocations: 0.4892 GB / 0.7943 GB, free: 35.72 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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint",fmuType="me",version="2.0",platforms={"static"}) [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.002142/0.002142, allocations: 61.64 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3178, allocations: 176.1 MB / 1.325 GB, free: 2.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002714/0.3205, allocations: 0.9512 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.3228, allocations: 1.276 MB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.3229, allocations: 7.938 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004348/0.3234, allocations: 115.6 kB / 1.327 GB, free: 96 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.3235, allocations: 55.73 kB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006751/0.3242, allocations: 182.7 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006789/0.3249, allocations: 0.5538 MB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002579/0.3251, allocations: 116.2 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003226/0.3254, allocations: 231.5 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003485/0.3258, allocations: 199.4 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.3259, allocations: 36 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.3262, allocations: 79.89 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003414/0.3265, allocations: 235.5 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003021/0.3268, allocations: 175.2 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008643/0.3277, allocations: 0.666 MB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3277, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3277, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.554e-05/0.3277, allocations: 0 / 1.33 GB, free: 13.59 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.001602/0.3293, allocations: 0.665 MB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.3294, allocations: 12.03 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.806e-05/0.3294, allocations: 58.73 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.3296, allocations: 40.7 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008994/0.3305, allocations: 378.8 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.3306, allocations: 24.75 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.597e-05/0.3307, allocations: 32.38 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/0.3312, allocations: 303.7 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.3312, allocations: 3.938 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.3313, allocations: 8 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3313, allocations: 4 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004622/0.3317, allocations: 265.5 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.3335, allocations: 0.8213 MB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006966/0.3342, allocations: 370.3 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.3344, allocations: 128.8 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.3345, allocations: 3.984 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000391/0.3349, allocations: 232.6 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 2.375e-06/0.3349, allocations: 0 / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0009154/0.3358, allocations: 487.1 kB / 1.333 GB, free: 9.652 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.3358, allocations: 59.41 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006321/0.3365, allocations: 469.6 kB / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.992e-05/0.3365, allocations: 37.69 kB / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.3367, allocations: 181 kB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.738e-05/0.3368, allocations: 63.55 kB / 1.334 GB, free: 8.824 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.337, allocations: 113.6 kB / 1.334 GB, free: 8.707 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3372, allocations: 338.8 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.3373, allocations: 107.8 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008621/0.3382, allocations: 0.9592 MB / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.3385, allocations: 239.7 kB / 1.336 GB, free: 6.824 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3385, allocations: 7.875 kB / 1.336 GB, free: 6.816 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005144/0.3391, allocations: 309.2 kB / 1.336 GB, free: 6.508 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3391, allocations: 8 kB / 1.336 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.3391, allocations: 4.188 kB / 1.336 GB, free: 6.496 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3391, allocations: 4 kB / 1.336 GB, free: 6.492 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.3393, allocations: 31.92 kB / 1.336 GB, free: 6.461 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3393, allocations: 4 kB / 1.336 GB, free: 6.457 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007355/0.34, allocations: 67.8 kB / 1.336 GB, free: 6.391 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.34, allocations: 12 kB / 1.336 GB, free: 6.379 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.0002901/0.3403, allocations: 234.1 kB / 1.337 GB, free: 6.141 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/0.3404, allocations: 35.77 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006234/0.341, allocations: 384.8 kB / 1.337 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.341, allocations: 4 kB / 1.337 GB, free: 5.723 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.341, allocations: 3.984 kB / 1.337 GB, free: 5.719 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.341, allocations: 0 / 1.337 GB, free: 5.719 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.3414, allocations: 324.5 kB / 1.337 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3414, allocations: 0 / 1.337 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.3415, allocations: 19.98 kB / 1.337 GB, free: 5.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3415, allocations: 0 / 1.337 GB, free: 5.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.3415, allocations: 8 kB / 1.337 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3415, allocations: 4 kB / 1.337 GB, free: 5.328 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3415, allocations: 0 / 1.337 GB, free: 5.328 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005665/0.3421, allocations: 394.3 kB / 1.338 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.176e-05/0.3422, allocations: 39.75 kB / 1.338 GB, free: 4.887 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.3422, allocations: 8 kB / 1.338 GB, free: 4.879 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.3424, allocations: 11.98 kB / 1.338 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.3424, allocations: 11.97 kB / 1.338 GB, free: 4.855 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.3424, allocations: 12 kB / 1.338 GB, free: 4.844 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004077/0.3429, allocations: 343.1 kB / 1.338 GB, free: 4.512 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3429, allocations: 0 / 1.338 GB, free: 4.512 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003664/0.3432, allocations: 75.89 kB / 1.338 GB, free: 4.438 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.001006/0.3442, allocations: 0.9539 MB / 1.339 GB, free: 3.453 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000484/0.3447, allocations: 267.1 kB / 1.339 GB, free: 3.195 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3447, allocations: 0 / 1.339 GB, free: 3.195 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.3449, allocations: 127.9 kB / 1.34 GB, free: 3.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.3452, allocations: 37.36 kB / 1.34 GB, free: 3.035 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00486/0.35, allocations: 3.674 MB / 1.343 GB, free: 15.23 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.3503, allocations: 219.8 kB / 1.343 GB, free: 15 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002079/0.3505, allocations: 78.23 kB / 1.343 GB, free: 14.92 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.3507, allocations: 107.4 kB / 1.344 GB, free: 14.82 MB / 1.045 GB Notification: Performance of SimCode: time 7.71e-07/0.3507, allocations: 0 / 1.344 GB, free: 14.82 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0407/0.3914, allocations: 9.215 MB / 1.353 GB, free: 5.859 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.01, allocations: 2.5 kB / 1.353 GB, free: 5.859 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint.fmu > Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe 2>&1) [Timeout 420.0] 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: 18.68076451215893]