Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.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.Examples.PumpsSeries,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_Examples_PumpsSeries",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.004516/0.004516, allocations: 97.61 kB / 15.73 MB, free: 6.047 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.001085/0.001085, allocations: 194.1 kB / 16.67 MB, free: 5.969 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.696/2.696, allocations: 437.1 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 63.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3525, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05302/0.4056, allocations: 51.51 MB / 1.216 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02894/0.4346, allocations: 18.15 MB / 1.234 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003775/0.4384, allocations: 75.62 kB / 1.234 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005694/0.4441, allocations: 1.921 MB / 1.236 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007826/0.452, allocations: 2.819 MB / 1.239 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005698/0.4577, allocations: 2.103 MB / 1.241 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.8732/1.331, allocations: 14.08 MB / 1.255 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004317/1.335, allocations: 1.73 MB / 1.256 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007272/1.343, allocations: 1.976 MB / 1.258 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004614/1.347, allocations: 1.524 MB / 1.26 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001126/1.348, allocations: 213.4 kB / 1.26 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00732/1.356, allocations: 1.903 MB / 1.262 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002761/1.359, allocations: 0.895 MB / 1.263 GB, free: 13 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004429/1.363, allocations: 1.417 MB / 1.264 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01308/1.376, allocations: 4.556 MB / 1.269 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/1.376, allocations: 0.75 kB / 1.269 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.685e-06/1.376, allocations: 1.469 kB / 1.269 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001593/1.376, allocations: 0 / 1.269 GB, free: 11.96 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.01242/1.389, allocations: 3.33 MB / 1.272 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/1.389, allocations: 14.12 kB / 1.272 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002817/1.389, allocations: 156.4 kB / 1.272 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006035/1.395, allocations: 0.9424 MB / 1.273 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0211/1.416, allocations: 8.889 MB / 1.282 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001618/1.417, allocations: 86.59 kB / 1.282 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005382/1.417, allocations: 110.2 kB / 1.282 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003643/1.421, allocations: 1.484 MB / 1.283 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/1.421, allocations: 4.656 kB / 1.283 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/1.421, allocations: 40.97 kB / 1.283 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.101e-05/1.421, allocations: 40.05 kB / 1.283 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003779/1.425, allocations: 1.318 MB / 1.285 GB, free: 8.973 MB / 0.9981 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.01322/1.438, allocations: 6.963 MB / 1.291 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003254/1.441, allocations: 1.142 MB / 1.292 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/1.443, allocations: 0.4914 MB / 1.293 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005597/1.448, allocations: 2.733 MB / 1.296 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/1.448, allocations: 41.03 kB / 1.296 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=60): time 2.765e-06/1.448, allocations: 0 / 1.296 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60): time 0.005468/1.454, allocations: 1.737 MB / 1.297 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/1.454, allocations: 61.72 kB / 1.297 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005135/1.459, allocations: 2.634 MB / 1.3 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003713/1.459, allocations: 43.42 kB / 1.3 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009498/1.46, allocations: 1.054 MB / 1.301 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003685/1.461, allocations: 230.6 kB / 1.301 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008243/1.462, allocations: 444.3 kB / 1.302 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.076e-05/1.462, allocations: 302.3 kB / 1.302 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002314/1.464, allocations: 1.144 MB / 1.303 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002615/1.467, allocations: 1.54 MB / 1.305 GB, free: 256 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004963/1.472, allocations: 2.482 MB / 1.307 GB, free: 15.15 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.749e-05/1.472, allocations: 2.312 kB / 1.307 GB, free: 15.15 MB / 1.014 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.006787/1.478, allocations: 3.063 MB / 1.31 GB, free: 14.01 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/1.478, allocations: 12.62 kB / 1.31 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-05/1.479, allocations: 8.75 kB / 1.31 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005642/1.479, allocations: 151.3 kB / 1.31 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/1.481, allocations: 362.5 kB / 1.311 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006827/1.481, allocations: 0.6604 MB / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002492/1.484, allocations: 226.2 kB / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002493/1.484, allocations: 99.05 kB / 1.312 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003127/1.487, allocations: 1.508 MB / 1.313 GB, free: 12.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002123/1.489, allocations: 1.347 MB / 1.314 GB, free: 11.81 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003426/1.493, allocations: 2.087 MB / 1.316 GB, free: 10.79 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.281e-05/1.493, allocations: 6.156 kB / 1.316 GB, free: 10.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.005551/1.498, allocations: 2.715 MB / 1.319 GB, free: 9.773 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.498, allocations: 9.125 kB / 1.319 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/1.498, allocations: 8.375 kB / 1.319 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008836/1.499, allocations: 223.7 kB / 1.319 GB, free: 9.723 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/1.501, allocations: 341.5 kB / 1.32 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005699/1.506, allocations: 3.511 MB / 1.323 GB, free: 7.324 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00289/1.509, allocations: 184.5 kB / 1.323 GB, free: 7.238 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004168/1.51, allocations: 81.05 kB / 1.323 GB, free: 7.227 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (167): * Single equations (assignments): 162 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0007521/1.51, allocations: 254.6 kB / 1.323 GB, free: 7.008 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009603/1.511, allocations: 250.7 kB / 1.324 GB, free: 6.867 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004593/1.516, allocations: 1.578 MB / 1.325 GB, free: 6.328 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/1.516, allocations: 12.39 kB / 1.325 GB, free: 6.328 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.516, allocations: 4 kB / 1.325 GB, free: 6.324 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/1.516, allocations: 6.281 kB / 1.325 GB, free: 6.32 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008698/1.525, allocations: 3.101 MB / 1.328 GB, free: 5.004 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/1.525, allocations: 2.938 kB / 1.328 GB, free: 5.004 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009276/1.526, allocations: 159.9 kB / 1.328 GB, free: 5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003621/1.526, allocations: 114.7 kB / 1.329 GB, free: 4.965 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-05/1.526, allocations: 35.44 kB / 1.329 GB, free: 4.949 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004705/1.527, allocations: 0.6366 MB / 1.329 GB, free: 4.383 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.527, allocations: 4.969 kB / 1.329 GB, free: 4.383 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005027/1.532, allocations: 2.156 MB / 1.331 GB, free: 3.336 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/1.533, allocations: 445.6 kB / 1.332 GB, free: 2.973 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008681/1.534, allocations: 20.77 kB / 1.332 GB, free: 2.957 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001763/1.536, allocations: 70.36 kB / 1.332 GB, free: 2.926 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/1.536, allocations: 52.91 kB / 1.332 GB, free: 2.895 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/1.536, allocations: 47.33 kB / 1.332 GB, free: 2.879 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.004269/1.541, allocations: 1.749 MB / 1.334 GB, free: 1.93 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.3e-07/1.541, allocations: 3.938 kB / 1.334 GB, free: 1.926 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0067/1.547, allocations: 1.216 MB / 1.335 GB, free: 1.676 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.s[1],floMac1.filter.s[2],floMac2.filter.s[1],floMac2.filter.s[2]) * 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 (67): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008621/1.556, allocations: 3.343 MB / 1.338 GB, free: 15.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007827/1.564, allocations: 3.499 MB / 1.342 GB, free: 14.13 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.924e-06/1.564, allocations: 0 / 1.342 GB, free: 14.13 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001543/1.566, allocations: 0.5777 MB / 1.342 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006811/1.572, allocations: 1.166 MB / 1.343 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04288/1.615, allocations: 19.84 MB / 1.363 GB, free: 9.344 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001928/1.617, allocations: 1.717 MB / 1.364 GB, free: 7.594 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.003262/1.621, allocations: 0.6664 MB / 1.365 GB, free: 6.922 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001819/1.622, allocations: 0.9942 MB / 1.366 GB, free: 5.93 MB / 1.045 GB Notification: Performance of SimCode: time 1.443e-06/1.622, allocations: 0 / 1.366 GB, free: 5.93 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1338/1.756, allocations: 70.61 MB / 1.435 GB, free: 328 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.03/18.79, allocations: 7.938 kB / 1.435 GB, free: 320 kB / 1.107 GB (rm -f Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.12 Buildings_10_Buildings_Fluid_Movers_Examples_PumpsSeries.fmu > Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches