Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.Validation.Pump_stratos.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Fluid.Movers.Validation.Pump_stratos,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_Validation_Pump_stratos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.Pump_stratos,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_Validation_Pump_stratos",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.007592/0.007592, allocations: 99.11 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2796, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.Pump_stratos): time 0.7339/1.014, allocations: 103.3 MB / 1.267 GB, free: 23.85 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03162/1.045, allocations: 20.65 MB / 1.287 GB, free: 23.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00466/1.05, allocations: 88.81 kB / 1.287 GB, free: 23.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007688/1.058, allocations: 2.321 MB / 1.29 GB, free: 23.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01057/1.068, allocations: 3.256 MB / 1.293 GB, free: 21.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007228/1.076, allocations: 2.377 MB / 1.295 GB, free: 20.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02912/1.105, allocations: 17.37 MB / 1.312 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003396/1.108, allocations: 1.966 MB / 1.314 GB, free: 15 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005838/1.114, allocations: 2.49 MB / 1.316 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003331/1.117, allocations: 1.993 MB / 1.318 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008076/1.118, allocations: 286.1 kB / 1.319 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005686/1.124, allocations: 2.3 MB / 1.321 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001619/1.126, allocations: 1.376 MB / 1.322 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003819/1.129, allocations: 2.047 MB / 1.324 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01044/1.14, allocations: 6.297 MB / 1.33 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.14, allocations: 0.8438 kB / 1.33 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.293e-06/1.14, allocations: 0 / 1.33 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001587/1.14, allocations: 0 / 1.33 GB, free: 7.789 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.01181/1.152, allocations: 4.716 MB / 1.335 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/1.152, allocations: 9.344 kB / 1.335 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002765/1.152, allocations: 180.1 kB / 1.335 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006221/1.158, allocations: 1.078 MB / 1.336 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01192/1.17, allocations: 6.562 MB / 1.343 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/1.171, allocations: 107.5 kB / 1.343 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004467/1.171, allocations: 139.7 kB / 1.343 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004088/1.175, allocations: 1.96 MB / 1.345 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/1.175, allocations: 6.547 kB / 1.345 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/1.175, allocations: 47.69 kB / 1.345 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.14e-05/1.175, allocations: 32.25 kB / 1.345 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003945/1.179, allocations: 1.434 MB / 1.346 GB, free: 13.72 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01703/1.196, allocations: 9.345 MB / 1.355 GB, free: 6.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003719/1.2, allocations: 1.235 MB / 1.357 GB, free: 5.414 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001692/1.202, allocations: 0.6634 MB / 1.357 GB, free: 5.105 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.006761/1.209, allocations: 3.282 MB / 1.36 GB, free: 1.914 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/1.209, allocations: 43.12 kB / 1.36 GB, free: 1.863 MB / 1.014 GB Notification: Performance of pre-optimization done (n=61): time 2.124e-06/1.209, allocations: 0 / 1.36 GB, free: 1.863 MB / 1.014 GB Notification: Performance of matching and sorting (n=61): time 0.007952/1.217, allocations: 2.483 MB / 1.363 GB, free: 15.33 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/1.217, allocations: 59.97 kB / 1.363 GB, free: 15.26 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01061/1.227, allocations: 5.45 MB / 1.368 GB, free: 9.781 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0003292/1.228, allocations: 49.7 kB / 1.368 GB, free: 9.727 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001952/1.23, allocations: 1.539 MB / 1.37 GB, free: 8.191 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004888/1.23, allocations: 243.8 kB / 1.37 GB, free: 7.957 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001361/1.232, allocations: 0.4918 MB / 1.37 GB, free: 7.457 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001034/1.232, allocations: 305.1 kB / 1.371 GB, free: 7.156 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002808/1.235, allocations: 1.547 MB / 1.372 GB, free: 5.605 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00329/1.238, allocations: 2.196 MB / 1.374 GB, free: 3.156 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00538/1.243, allocations: 3.464 MB / 1.378 GB, free: 15.51 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-05/1.243, allocations: 4 kB / 1.378 GB, free: 15.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.008247/1.252, allocations: 4.468 MB / 1.382 GB, free: 11.04 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/1.252, allocations: 12 kB / 1.382 GB, free: 11.03 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/1.252, allocations: 19.98 kB / 1.382 GB, free: 11.01 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001748/1.253, allocations: 0.7654 MB / 1.383 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/1.255, allocations: 367.5 kB / 1.383 GB, free: 9.879 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/1.257, allocations: 1.756 MB / 1.385 GB, free: 8.074 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003318/1.26, allocations: 270.8 kB / 1.385 GB, free: 7.809 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003927/1.261, allocations: 120 kB / 1.385 GB, free: 7.691 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004014/1.265, allocations: 2.155 MB / 1.387 GB, free: 5.527 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002963/1.268, allocations: 1.997 MB / 1.389 GB, free: 3.277 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004705/1.272, allocations: 3.057 MB / 1.392 GB, free: 28 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.599e-05/1.272, allocations: 4 kB / 1.392 GB, free: 24 kB / 1.045 GB Notification: Performance of matching and sorting (n=276) (initialization_lambda0): time 0.008581/1.281, allocations: 4.14 MB / 1.396 GB, free: 11.88 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/1.281, allocations: 8 kB / 1.396 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/1.281, allocations: 16 kB / 1.397 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002021/1.283, allocations: 0.8024 MB / 1.397 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/1.285, allocations: 355.4 kB / 1.398 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/1.3, allocations: 11.42 MB / 1.409 GB, free: 14.92 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003879/1.304, allocations: 216.9 kB / 1.409 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005952/1.305, allocations: 104 kB / 1.409 GB, free: 14.61 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 176 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0007388/1.305, allocations: 275.7 kB / 1.409 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001208/1.307, allocations: 349.5 kB / 1.41 GB, free: 13.99 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005557/1.312, allocations: 2 MB / 1.412 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/1.312, allocations: 8 kB / 1.412 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.312, allocations: 3.938 kB / 1.412 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003816/1.316, allocations: 1.752 MB / 1.413 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/1.328, allocations: 4.19 MB / 1.417 GB, free: 5.883 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.158e-06/1.328, allocations: 0 / 1.417 GB, free: 5.883 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/1.329, allocations: 179.7 kB / 1.418 GB, free: 5.707 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008054/1.33, allocations: 332.7 kB / 1.418 GB, free: 5.379 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/1.33, allocations: 23.98 kB / 1.418 GB, free: 5.355 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/1.331, allocations: 1.617 MB / 1.42 GB, free: 3.691 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/1.331, allocations: 3.984 kB / 1.42 GB, free: 3.688 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00676/1.338, allocations: 2.732 MB / 1.422 GB, free: 0.9258 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002592/1.34, allocations: 0.6233 MB / 1.423 GB, free: 288 kB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001437/1.342, allocations: 15.94 kB / 1.423 GB, free: 272 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002429/1.344, allocations: 83.97 kB / 1.423 GB, free: 188 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/1.345, allocations: 56.58 kB / 1.423 GB, free: 128 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001705/1.345, allocations: 35.97 kB / 1.423 GB, free: 92 kB / 1.076 GB Notification: Performance of sorting global known variables: time 0.006921/1.352, allocations: 3.86 MB / 1.427 GB, free: 12.22 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.31e-07/1.352, allocations: 3.938 kB / 1.427 GB, free: 12.22 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00644/1.358, allocations: 1.583 MB / 1.428 GB, free: 10.63 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (floMacDyn.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008721/1.367, allocations: 3.83 MB / 1.432 GB, free: 6.812 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.008095/1.375, allocations: 4.448 MB / 1.436 GB, free: 2.34 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/1.375, allocations: 0 / 1.436 GB, free: 2.34 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001705/1.377, allocations: 0.6447 MB / 1.437 GB, free: 1.695 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008724/1.386, allocations: 1.829 MB / 1.439 GB, free: 15.91 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06689/1.452, allocations: 34.92 MB / 1.473 GB, free: 12.38 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003117/1.456, allocations: 2.167 MB / 1.475 GB, free: 10.19 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.004289/1.46, allocations: 0.8866 MB / 1.476 GB, free: 9.297 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002748/1.463, allocations: 1.436 MB / 1.477 GB, free: 7.859 MB / 1.139 GB Notification: Performance of SimCode: time 7.72e-07/1.463, allocations: 0 / 1.477 GB, free: 7.859 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1673/1.63, allocations: 105.2 MB / 1.58 GB, free: 15.9 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.09/21.72, allocations: 4 kB / 1.58 GB, free: 15.9 MB / 1.248 GB (rm -f Buildings_10_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Validation.Pump_stratos.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Movers.Validation.Pump_stratos_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Movers_Validation_Pump_stratos.fmu > Buildings_10_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Validation.Pump_stratos_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Validation_Pump_stratos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.Pump_stratos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches