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.001325/0.001325, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001544/0.001544, allocations: 214.2 kB / 22.25 MB, free: 5.082 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 8.023 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.354/3.354, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,fileNamePrefix="Buildings_latest_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.002208/0.002208, allocations: 68.73 kB / 1.177 GB, free: 17.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3302, allocations: 180.2 MB / 1.353 GB, free: 8.492 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002436/0.3326, allocations: 1.009 MB / 1.354 GB, free: 7.484 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001923/0.3345, allocations: 1.311 MB / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.3346, allocations: 4 kB / 1.355 GB, free: 6.156 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004106/0.335, allocations: 103.6 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.3352, allocations: 63.73 kB / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006062/0.3358, allocations: 179.8 kB / 1.355 GB, free: 5.82 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006777/0.3365, allocations: 0.5539 MB / 1.356 GB, free: 5.266 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002469/0.3367, allocations: 121.4 kB / 1.356 GB, free: 5.148 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003427/0.3371, allocations: 227.5 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003305/0.3374, allocations: 199.4 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.3375, allocations: 40 kB / 1.357 GB, free: 4.691 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.3377, allocations: 67.97 kB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003229/0.338, allocations: 243.4 kB / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.3383, allocations: 203.1 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007313/0.339, allocations: 0.6738 MB / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.339, allocations: 0 / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.262e-06/0.339, allocations: 0 / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.339, allocations: 0 / 1.358 GB, free: 3.512 MB / 1.045 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.001285/0.3403, allocations: 0.6611 MB / 1.358 GB, free: 2.816 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3404, allocations: 8.031 kB / 1.358 GB, free: 2.809 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.439e-05/0.3404, allocations: 54.73 kB / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.3406, allocations: 48.7 kB / 1.358 GB, free: 2.699 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007057/0.3413, allocations: 378.7 kB / 1.359 GB, free: 2.301 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.3413, allocations: 24.81 kB / 1.359 GB, free: 2.277 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.286e-05/0.3414, allocations: 32.31 kB / 1.359 GB, free: 2.246 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/0.3419, allocations: 307.7 kB / 1.359 GB, free: 1.938 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3419, allocations: 3.938 kB / 1.359 GB, free: 1.934 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.3419, allocations: 11.94 kB / 1.359 GB, free: 1.922 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.3419, allocations: 8 kB / 1.359 GB, free: 1.914 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004069/0.3423, allocations: 257.6 kB / 1.359 GB, free: 1.66 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.344, allocations: 0.9071 MB / 1.36 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006463/0.3446, allocations: 370.2 kB / 1.361 GB, free: 348 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.3448, allocations: 134.5 kB / 1.361 GB, free: 212 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.3449, allocations: 4 kB / 1.361 GB, free: 208 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003638/0.3452, allocations: 240.5 kB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.3452, allocations: 0 / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.0008166/0.3461, allocations: 486.3 kB / 1.361 GB, free: 15.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.3461, allocations: 55.41 kB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005728/0.3467, allocations: 473.6 kB / 1.362 GB, free: 14.94 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.972e-05/0.3467, allocations: 33.7 kB / 1.362 GB, free: 14.9 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.3469, allocations: 197 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.564e-05/0.347, allocations: 51.59 kB / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.3472, allocations: 109.6 kB / 1.362 GB, free: 14.54 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3473, allocations: 342.8 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.3475, allocations: 103.9 kB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000553/0.348, allocations: 422.3 kB / 1.363 GB, free: 13.6 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/0.3484, allocations: 235.5 kB / 1.363 GB, free: 13.35 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3484, allocations: 4 kB / 1.363 GB, free: 13.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005078/0.3489, allocations: 313.2 kB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3489, allocations: 4 kB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3489, allocations: 4.109 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3489, allocations: 3.938 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.3491, allocations: 35.92 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3491, allocations: 4 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007/0.3498, allocations: 75.94 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.3498, allocations: 12 kB / 1.364 GB, free: 12.89 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.0002531/0.35, allocations: 225.5 kB / 1.364 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.3501, allocations: 27.81 kB / 1.364 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005827/0.3507, allocations: 384.8 kB / 1.364 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3507, allocations: 4 kB / 1.364 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.3507, allocations: 7.984 kB / 1.364 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3507, allocations: 0 / 1.364 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.3511, allocations: 356.4 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3511, allocations: 3.984 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.3512, allocations: 23.92 kB / 1.365 GB, free: 11.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3512, allocations: 0 / 1.365 GB, free: 11.83 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.3512, allocations: 4 kB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.3512, allocations: 0 / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3512, allocations: 0 / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/0.3517, allocations: 402.5 kB / 1.365 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.877e-05/0.3518, allocations: 39.73 kB / 1.365 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.3519, allocations: 8 kB / 1.365 GB, free: 11.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.352, allocations: 7.984 kB / 1.365 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.352, allocations: 15.98 kB / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.352, allocations: 7.984 kB / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004268/0.3525, allocations: 351 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3525, allocations: 3.938 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003424/0.3528, allocations: 75.89 kB / 1.366 GB, free: 10.91 MB / 1.061 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.0009252/0.3537, allocations: 0.9498 MB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004545/0.3542, allocations: 261.5 kB / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3542, allocations: 384 / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.3544, allocations: 141.7 kB / 1.367 GB, free: 9.543 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.3547, allocations: 29.42 kB / 1.367 GB, free: 9.516 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004613/0.3593, allocations: 3.668 MB / 1.371 GB, free: 5.719 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.3598, allocations: 0.8302 MB / 1.371 GB, free: 4.863 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001963/0.3599, allocations: 78.25 kB / 1.372 GB, free: 4.781 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.3601, allocations: 103.4 kB / 1.372 GB, free: 4.684 MB / 1.061 GB Notification: Performance of SimCode: time 7.62e-07/0.3601, allocations: 0 / 1.372 GB, free: 4.684 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04131/0.4014, allocations: 8.466 MB / 1.38 GB, free: 12.42 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.07, allocations: 12.62 kB / 1.38 GB, free: 12.41 MB / 1.076 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe 2>&1) [Timeout 840.0] 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: 18.93181768897921]