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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002099/0.002099, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002186/0.002186, allocations: 193.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.871/2.871, allocations: 482.6 MB / 0.7549 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.003176/0.003176, allocations: 68.17 kB / 0.9242 GB, free: 29.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2919, allocations: 162.3 MB / 1.083 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002337/0.2943, allocations: 0.9938 MB / 1.084 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.2959, allocations: 1.268 MB / 1.085 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.681e-05/0.296, allocations: 7.938 kB / 1.085 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.2964, allocations: 107.6 kB / 1.085 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.2965, allocations: 55.8 kB / 1.085 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005069/0.297, allocations: 174.7 kB / 1.085 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006085/0.2977, allocations: 0.5383 MB / 1.086 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002833/0.298, allocations: 195.6 kB / 1.086 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.2982, allocations: 227.5 kB / 1.086 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.2985, allocations: 183.4 kB / 1.086 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.2986, allocations: 40 kB / 1.086 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.2988, allocations: 63.97 kB / 1.086 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003075/0.2991, allocations: 231.4 kB / 1.087 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002375/0.2993, allocations: 207 kB / 1.087 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006328/0.3, allocations: 0.6469 MB / 1.088 GB, free: 7.898 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3, allocations: 0 / 1.088 GB, free: 7.898 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3, allocations: 8 kB / 1.088 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3, allocations: 0 / 1.088 GB, free: 7.891 MB / 0.8419 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.001159/0.3012, allocations: 0.725 MB / 1.088 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.3012, allocations: 8.031 kB / 1.088 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.581e-05/0.3013, allocations: 54.73 kB / 1.088 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.3014, allocations: 36.56 kB / 1.088 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006066/0.302, allocations: 436.3 kB / 1.089 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.302, allocations: 28.8 kB / 1.089 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.311e-05/0.3021, allocations: 32.38 kB / 1.089 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004797/0.3026, allocations: 303.7 kB / 1.089 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3026, allocations: 7.922 kB / 1.089 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.3027, allocations: 16 kB / 1.089 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.3027, allocations: 4 kB / 1.089 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003978/0.3031, allocations: 253.6 kB / 1.089 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.3047, allocations: 0.9545 MB / 1.09 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000657/0.3053, allocations: 378.3 kB / 1.091 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.3056, allocations: 140.8 kB / 1.091 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.3056, allocations: 0 / 1.091 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003408/0.3059, allocations: 231.1 kB / 1.091 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.3059, allocations: 0 / 1.091 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.0007935/0.3067, allocations: 482.3 kB / 1.091 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.3068, allocations: 59.41 kB / 1.092 GB, free: 3.59 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000541/0.3073, allocations: 473.5 kB / 1.092 GB, free: 3.125 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.071e-05/0.3074, allocations: 37.81 kB / 1.092 GB, free: 3.082 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.3076, allocations: 188.8 kB / 1.092 GB, free: 2.895 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.41e-05/0.3077, allocations: 51.27 kB / 1.092 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.3078, allocations: 109.6 kB / 1.092 GB, free: 2.73 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.308, allocations: 354.7 kB / 1.093 GB, free: 2.375 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.3081, allocations: 91.95 kB / 1.093 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005188/0.3087, allocations: 422.2 kB / 1.093 GB, free: 1.785 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.309, allocations: 227.8 kB / 1.093 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.309, allocations: 7.938 kB / 1.093 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000496/0.3095, allocations: 318.4 kB / 1.094 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3096, allocations: 9.719 kB / 1.094 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3096, allocations: 0 / 1.094 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3096, allocations: 4.188 kB / 1.094 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.3097, allocations: 31.92 kB / 1.094 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.3097, allocations: 4 kB / 1.094 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007361/0.3105, allocations: 73.14 kB / 1.094 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.3105, allocations: 8 kB / 1.094 GB, free: 1.094 MB / 0.8419 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.0002408/0.3108, allocations: 230.1 kB / 1.094 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.3108, allocations: 31.62 kB / 1.094 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005738/0.3114, allocations: 386 kB / 1.094 GB, free: 456 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.3114, allocations: 4 kB / 1.094 GB, free: 452 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3114, allocations: 0 / 1.094 GB, free: 452 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3114, allocations: 0 / 1.094 GB, free: 452 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.3118, allocations: 385.2 kB / 1.095 GB, free: 16 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3118, allocations: 0 / 1.095 GB, free: 16 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.3119, allocations: 23.97 kB / 1.095 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.3119, allocations: 3.938 kB / 1.095 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.312, allocations: 8 kB / 1.095 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.312, allocations: 11.94 kB / 1.095 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.312, allocations: 0 / 1.095 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005224/0.3125, allocations: 391.9 kB / 1.095 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.3126, allocations: 120.7 kB / 1.095 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.3127, allocations: 4 kB / 1.095 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.3128, allocations: 7.984 kB / 1.095 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.3129, allocations: 15.98 kB / 1.095 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.3129, allocations: 16 kB / 1.095 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003831/0.3133, allocations: 343 kB / 1.096 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.226e-06/0.3133, allocations: 0 / 1.096 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003306/0.3136, allocations: 87.77 kB / 1.096 GB, free: 14.97 MB / 0.8575 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.3145, allocations: 0.9322 MB / 1.097 GB, free: 14 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004946/0.315, allocations: 301.9 kB / 1.097 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.315, allocations: 0 / 1.097 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.3152, allocations: 151.9 kB / 1.097 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.3155, allocations: 29.38 kB / 1.097 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004348/0.3199, allocations: 3.678 MB / 1.101 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.3203, allocations: 0.8301 MB / 1.102 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001939/0.3205, allocations: 78.25 kB / 1.102 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.3207, allocations: 103.4 kB / 1.102 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.3207, allocations: 4 kB / 1.102 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.3506, allocations: 8.15 MB / 1.11 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.704/8.055, allocations: 7.938 kB / 1.11 GB, free: 0.7383 MB / 0.8575 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_res.csv --start-time 0 --stop-time 1000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 Buildings_latest_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_res.csv","/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) Reference file matches