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.0007851/0.0007851, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.0008544/0.0008544, allocations: 165.9 kB / 22.45 MB, free: 2.102 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.8638/0.8638, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.753/1.753, allocations: 389.1 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 3.317e-06/3.317e-06, allocations: 0 / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/3.02e-05, allocations: 6.219 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.00194/0.00197, allocations: 0.9433 MB / 1.001 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.00343, allocations: 1.279 MB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.003532, allocations: 4 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000414/0.003946, allocations: 111.5 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.776e-05/0.004024, allocations: 59.69 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005391/0.004563, allocations: 186.6 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004377/0.005001, allocations: 0.55 MB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002021/0.005203, allocations: 124.2 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.005461, allocations: 291.6 kB / 1.003 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.005695, allocations: 191.6 kB / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.936e-05/0.005754, allocations: 39.98 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.00589, allocations: 71.91 kB / 1.003 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.006096, allocations: 239.5 kB / 1.004 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.006217, allocations: 143.7 kB / 1.004 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005914/0.006808, allocations: 0.7207 MB / 1.004 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.006812, allocations: 0 / 1.004 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.523e-06/0.006814, allocations: 0 / 1.004 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.006822, allocations: 0 / 1.004 GB, free: 8.602 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.0009603/0.007782, allocations: 0.6651 MB / 1.005 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.007824, allocations: 8.75 kB / 1.005 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.995e-05/0.007874, allocations: 54.73 kB / 1.005 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.421e-05/0.007968, allocations: 40.7 kB / 1.005 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.008406, allocations: 382 kB / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.008434, allocations: 24.88 kB / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.008482, allocations: 32.31 kB / 1.006 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.008829, allocations: 308.5 kB / 1.006 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.008839, allocations: 4.188 kB / 1.006 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.008856, allocations: 4.375 kB / 1.006 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.008864, allocations: 8.125 kB / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002559/0.00912, allocations: 257.8 kB / 1.006 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.01019, allocations: 0.8216 MB / 1.007 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004769/0.01067, allocations: 370.3 kB / 1.007 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.01079, allocations: 132.8 kB / 1.007 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.01081, allocations: 4 kB / 1.007 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004734/0.01129, allocations: 223.2 kB / 1.008 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=21): time 2.315e-06/0.01129, allocations: 0 / 1.008 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=21): time 0.0005487/0.01184, allocations: 491.5 kB / 1.008 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.01188, allocations: 55.41 kB / 1.008 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.01223, allocations: 473.7 kB / 1.009 GB, free: 4.137 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.01227, allocations: 37.64 kB / 1.009 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.01239, allocations: 189 kB / 1.009 GB, free: 3.902 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.01242, allocations: 55.55 kB / 1.009 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.01253, allocations: 109.6 kB / 1.009 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.127e-05/0.01262, allocations: 350.8 kB / 1.009 GB, free: 3.383 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.485e-05/0.01271, allocations: 99.94 kB / 1.009 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004712/0.01318, allocations: 0.9746 MB / 1.01 GB, free: 2.086 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.01339, allocations: 236 kB / 1.011 GB, free: 1.836 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01339, allocations: 0 / 1.011 GB, free: 1.836 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003226/0.01371, allocations: 326.9 kB / 1.011 GB, free: 1.512 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.01373, allocations: 5.719 kB / 1.011 GB, free: 1.508 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.01374, allocations: 0 / 1.011 GB, free: 1.508 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.01375, allocations: 4 kB / 1.011 GB, free: 1.504 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.884e-05/0.01385, allocations: 39.91 kB / 1.011 GB, free: 1.465 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.01386, allocations: 0 / 1.011 GB, free: 1.465 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/0.01421, allocations: 67.98 kB / 1.011 GB, free: 1.398 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.01422, allocations: 16 kB / 1.011 GB, free: 1.383 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.0001804/0.0144, allocations: 217.7 kB / 1.011 GB, free: 1.16 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.01444, allocations: 31.77 kB / 1.011 GB, free: 1.129 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003934/0.01483, allocations: 380.8 kB / 1.012 GB, free: 0.75 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.01483, allocations: 4 kB / 1.012 GB, free: 0.7461 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.01484, allocations: 0 / 1.012 GB, free: 0.7461 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.01484, allocations: 3.984 kB / 1.012 GB, free: 0.7422 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.01508, allocations: 316.5 kB / 1.012 GB, free: 400 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01508, allocations: 0 / 1.012 GB, free: 400 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.559e-05/0.01515, allocations: 27.92 kB / 1.012 GB, free: 372 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01515, allocations: 0 / 1.012 GB, free: 372 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.01516, allocations: 7.938 kB / 1.012 GB, free: 364 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01516, allocations: 0 / 1.012 GB, free: 364 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01516, allocations: 0 / 1.012 GB, free: 364 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.01549, allocations: 407 kB / 1.012 GB, free: 15.94 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.01554, allocations: 43.73 kB / 1.012 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.01556, allocations: 4 kB / 1.012 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.117e-05/0.01563, allocations: 4 kB / 1.012 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.01568, allocations: 19.97 kB / 1.012 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.0157, allocations: 19.98 kB / 1.012 GB, free: 15.85 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002413/0.01594, allocations: 343.1 kB / 1.013 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.01594, allocations: 0 / 1.013 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002518/0.01619, allocations: 75.89 kB / 1.013 GB, free: 15.45 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.0005773/0.01677, allocations: 0.9384 MB / 1.014 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002996/0.01707, allocations: 267.7 kB / 1.014 GB, free: 14.22 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01707, allocations: 0 / 1.014 GB, free: 14.22 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.0172, allocations: 140.2 kB / 1.014 GB, free: 14.08 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.0174, allocations: 37.42 kB / 1.014 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/0.02063, allocations: 3.673 MB / 1.018 GB, free: 10.25 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.02078, allocations: 223.8 kB / 1.018 GB, free: 10.01 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001396/0.02092, allocations: 74.25 kB / 1.018 GB, free: 9.938 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.02103, allocations: 108.5 kB / 1.018 GB, free: 9.828 MB / 0.9792 GB Notification: Performance of SimCode: time 9.41e-07/0.02104, allocations: 0 / 1.018 GB, free: 9.828 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.04211, allocations: 9.31 MB / 1.027 GB, free: 0.7773 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.585/6.627, allocations: 5.875 kB / 1.027 GB, free: 0.7734 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 10.616031525656581]