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.001688/0.001688, 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.001876/0.001876, allocations: 215.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.523/1.523, allocations: 230.6 MB / 256 MB, free: 8.031 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.283/3.283, allocations: 0.49 GB / 0.7951 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 176] 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.002005/0.002005, allocations: 63.44 kB / 1.154 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3139, allocations: 176.1 MB / 1.326 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002316/0.3162, allocations: 1.016 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001883/0.3181, allocations: 1.307 MB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.846e-05/0.3182, allocations: 7.938 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.3185, allocations: 107.6 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.3186, allocations: 59.72 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005645/0.3192, allocations: 171.8 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007107/0.3199, allocations: 0.5617 MB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.3202, allocations: 116.2 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.3205, allocations: 223.6 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.3208, allocations: 199.4 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.3209, allocations: 39.94 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.3211, allocations: 71.95 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003212/0.3214, allocations: 247.5 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002323/0.3216, allocations: 203.1 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007657/0.3224, allocations: 0.6698 MB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3224, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3224, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.501e-05/0.3224, allocations: 0 / 1.331 GB, free: 13.01 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.001277/0.3237, allocations: 0.6611 MB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3237, allocations: 15.97 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.913e-05/0.3238, allocations: 58.73 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.3239, allocations: 40.7 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006883/0.3246, allocations: 382.7 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.171e-05/0.3247, allocations: 24.81 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.91e-05/0.3248, allocations: 28.38 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004861/0.3252, allocations: 307.7 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3253, allocations: 7.875 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.3253, allocations: 8 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.3253, allocations: 4 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003946/0.3257, allocations: 265.5 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.3274, allocations: 0.9148 MB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006454/0.328, allocations: 366.3 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.3282, allocations: 132.8 kB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.3282, allocations: 8 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003446/0.3286, allocations: 228.7 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 2.305e-06/0.3286, allocations: 0 / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0008158/0.3294, allocations: 482.9 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.3295, allocations: 63.39 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005332/0.33, allocations: 469.6 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/0.3301, allocations: 37.7 kB / 1.335 GB, free: 8.402 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.3302, allocations: 180.9 kB / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.031e-05/0.3303, allocations: 63.61 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.3305, allocations: 109.6 kB / 1.335 GB, free: 8.043 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3306, allocations: 346.8 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.3308, allocations: 103.9 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004956/0.3313, allocations: 420.7 kB / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.3316, allocations: 243.1 kB / 1.336 GB, free: 6.836 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3316, allocations: 0 / 1.336 GB, free: 6.836 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004642/0.332, allocations: 306.6 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.3321, allocations: 7.984 kB / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3321, allocations: 4 kB / 1.337 GB, free: 6.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3321, allocations: 4 kB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.3322, allocations: 31.92 kB / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3322, allocations: 4 kB / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000705/0.3329, allocations: 71.98 kB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.333, allocations: 7.984 kB / 1.337 GB, free: 6.402 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.0002451/0.3332, allocations: 230.1 kB / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.3333, allocations: 35.77 kB / 1.337 GB, free: 6.133 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005535/0.3338, allocations: 385.3 kB / 1.338 GB, free: 5.754 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.3338, allocations: 8 kB / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3338, allocations: 0 / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3338, allocations: 0 / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003722/0.3342, allocations: 356.4 kB / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3342, allocations: 0 / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.841e-05/0.3343, allocations: 23.98 kB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.3343, allocations: 4 kB / 1.338 GB, free: 5.328 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.3343, allocations: 4 kB / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3343, allocations: 0 / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3343, allocations: 3.938 kB / 1.338 GB, free: 5.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005149/0.3348, allocations: 406.7 kB / 1.338 GB, free: 4.906 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.889e-05/0.3349, allocations: 39.75 kB / 1.338 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.335, allocations: 3.984 kB / 1.338 GB, free: 4.863 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.3351, allocations: 8 kB / 1.338 GB, free: 4.855 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.3351, allocations: 19.97 kB / 1.338 GB, free: 4.836 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.3351, allocations: 11.98 kB / 1.338 GB, free: 4.824 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003719/0.3355, allocations: 343.1 kB / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3355, allocations: 0 / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003333/0.3358, allocations: 79.83 kB / 1.339 GB, free: 4.41 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.0008858/0.3367, allocations: 0.9502 MB / 1.34 GB, free: 3.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004229/0.3372, allocations: 260 kB / 1.34 GB, free: 3.176 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3372, allocations: 4.062 kB / 1.34 GB, free: 3.172 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.3374, allocations: 142.1 kB / 1.34 GB, free: 3.035 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.3376, allocations: 28.2 kB / 1.34 GB, free: 3.012 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/0.342, allocations: 3.672 MB / 1.344 GB, free: 15.21 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.3425, allocations: 0.8263 MB / 1.344 GB, free: 14.36 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001958/0.3427, allocations: 78.23 kB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.3429, allocations: 107.4 kB / 1.345 GB, free: 14.18 MB / 1.045 GB Notification: Performance of SimCode: time 8.62e-07/0.3429, allocations: 0 / 1.345 GB, free: 14.18 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03608/0.3789, allocations: 8.477 MB / 1.353 GB, free: 5.926 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.83, allocations: 6.188 kB / 1.353 GB, free: 5.922 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.573355010012165]