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.008108/0.008108, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001913/0.001913, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.461/2.461, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001583, allocations: 63.91 kB / 1.018 GB, free: 9.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7801/0.7817, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05136/0.8331, allocations: 51.51 MB / 1.216 GB, free: 64 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02721/0.8603, allocations: 18.16 MB / 1.234 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002543/0.8629, allocations: 79.56 kB / 1.234 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004972/0.8679, allocations: 1.907 MB / 1.236 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006629/0.8745, allocations: 2.71 MB / 1.239 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004892/0.8794, allocations: 2.103 MB / 1.241 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.02035/0.8998, allocations: 14.07 MB / 1.255 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003278/0.9031, allocations: 1.724 MB / 1.256 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004533/0.9077, allocations: 1.951 MB / 1.258 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002923/0.9106, allocations: 1.51 MB / 1.26 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000881/0.9115, allocations: 212 kB / 1.26 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004308/0.9158, allocations: 1.899 MB / 1.262 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001279/0.9171, allocations: 0.8957 MB / 1.263 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002948/0.9201, allocations: 1.415 MB / 1.264 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007237/0.9273, allocations: 4.541 MB / 1.268 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.9274, allocations: 0 / 1.268 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9274, allocations: 0 / 1.268 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001036/0.9275, allocations: 0 / 1.268 GB, free: 10.75 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.006662/0.9342, allocations: 3.23 MB / 1.272 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.9342, allocations: 16.91 kB / 1.272 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002428/0.9345, allocations: 152.3 kB / 1.272 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005675/0.9401, allocations: 0.9331 MB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0165/0.9567, allocations: 8.856 MB / 1.281 GB, free: 13.4 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.9568, allocations: 86 kB / 1.281 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004052/0.9572, allocations: 120 kB / 1.281 GB, free: 13.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003344/0.9606, allocations: 1.494 MB / 1.283 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.9606, allocations: 0 / 1.283 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.9608, allocations: 44 kB / 1.283 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/0.9608, allocations: 34 kB / 1.283 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003435/0.9643, allocations: 1.323 MB / 1.284 GB, free: 10.25 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.01123/0.9755, allocations: 6.947 MB / 1.291 GB, free: 2.902 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003338/0.9789, allocations: 1.133 MB / 1.292 GB, free: 1.746 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.9802, allocations: 0.4966 MB / 1.293 GB, free: 1.25 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004584/0.9848, allocations: 2.723 MB / 1.295 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.9849, allocations: 47.05 kB / 1.295 GB, free: 14.26 MB / 1.029 GB Notification: Performance of pre-optimization done (n=60): time 2.745e-06/0.9849, allocations: 3.938 kB / 1.295 GB, free: 14.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=60): time 0.00512/0.99, allocations: 1.728 MB / 1.297 GB, free: 12.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.9901, allocations: 59.97 kB / 1.297 GB, free: 12.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004074/0.9942, allocations: 2.621 MB / 1.3 GB, free: 9.793 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001429/0.9943, allocations: 41.7 kB / 1.3 GB, free: 9.746 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008709/0.9952, allocations: 1.04 MB / 1.301 GB, free: 8.695 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002597/0.9955, allocations: 224.9 kB / 1.301 GB, free: 8.473 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006998/0.9962, allocations: 435.1 kB / 1.301 GB, free: 8.043 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 8.732e-05/0.9963, allocations: 309.1 kB / 1.302 GB, free: 7.738 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/0.9983, allocations: 1.149 MB / 1.303 GB, free: 6.586 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002444/1.001, allocations: 1.534 MB / 1.304 GB, free: 4.902 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004266/1.005, allocations: 2.465 MB / 1.307 GB, free: 2.328 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/1.005, allocations: 4 kB / 1.307 GB, free: 2.324 MB / 1.029 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.005438/1.011, allocations: 3.057 MB / 1.31 GB, free: 15.24 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/1.011, allocations: 8 kB / 1.31 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/1.011, allocations: 12 kB / 1.31 GB, free: 15.22 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005031/1.011, allocations: 148.8 kB / 1.31 GB, free: 15.07 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/1.013, allocations: 363.9 kB / 1.31 GB, free: 14.72 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005738/1.013, allocations: 0.6694 MB / 1.311 GB, free: 14.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/1.015, allocations: 214.8 kB / 1.311 GB, free: 13.81 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/1.015, allocations: 99.89 kB / 1.311 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002664/1.018, allocations: 1.507 MB / 1.313 GB, free: 12.21 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001947/1.02, allocations: 1.35 MB / 1.314 GB, free: 10.71 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003444/1.023, allocations: 2.086 MB / 1.316 GB, free: 8.516 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.379e-05/1.023, allocations: 8 kB / 1.316 GB, free: 8.508 MB / 1.045 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.005643/1.029, allocations: 2.705 MB / 1.319 GB, free: 5.793 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/1.029, allocations: 8 kB / 1.319 GB, free: 5.785 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/1.029, allocations: 8 kB / 1.319 GB, free: 5.777 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009383/1.03, allocations: 209.3 kB / 1.319 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/1.031, allocations: 347.5 kB / 1.319 GB, free: 5.23 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005809/1.037, allocations: 3.516 MB / 1.323 GB, free: 1.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/1.039, allocations: 175 kB / 1.323 GB, free: 1.328 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002343/1.039, allocations: 79.97 kB / 1.323 GB, free: 1.25 MB / 1.045 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.000464/1.04, allocations: 259.8 kB / 1.323 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005708/1.041, allocations: 236.8 kB / 1.323 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004094/1.045, allocations: 1.58 MB / 1.325 GB, free: 15.15 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/1.045, allocations: 12 kB / 1.325 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.045, allocations: 0 / 1.325 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/1.045, allocations: 3.984 kB / 1.325 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007162/1.052, allocations: 3.098 MB / 1.328 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/1.052, allocations: 4 kB / 1.328 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009669/1.053, allocations: 167.9 kB / 1.328 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003725/1.053, allocations: 104.8 kB / 1.328 GB, free: 11.69 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.658e-05/1.053, allocations: 27.97 kB / 1.328 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004783/1.054, allocations: 0.642 MB / 1.329 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.054, allocations: 4.062 kB / 1.329 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005054/1.059, allocations: 2.144 MB / 1.331 GB, free: 8.805 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/1.06, allocations: 437.6 kB / 1.331 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005667/1.061, allocations: 20 kB / 1.331 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/1.062, allocations: 75.92 kB / 1.331 GB, free: 8.262 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/1.062, allocations: 56.36 kB / 1.331 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.796e-05/1.062, allocations: 43.97 kB / 1.331 GB, free: 8.164 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003213/1.065, allocations: 1.744 MB / 1.333 GB, free: 6.418 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.21e-07/1.065, allocations: 4 kB / 1.333 GB, free: 6.414 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003835/1.069, allocations: 1.213 MB / 1.334 GB, free: 5.199 MB / 1.061 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.007246/1.077, allocations: 3.306 MB / 1.338 GB, free: 1.855 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006646/1.083, allocations: 3.499 MB / 1.341 GB, free: 14.36 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/1.083, allocations: 0 / 1.341 GB, free: 14.36 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001508/1.085, allocations: 0.5736 MB / 1.342 GB, free: 13.78 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005136/1.09, allocations: 1.151 MB / 1.343 GB, free: 12.67 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03734/1.127, allocations: 19.77 MB / 1.362 GB, free: 8.477 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/1.129, allocations: 1.713 MB / 1.364 GB, free: 6.73 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002466/1.131, allocations: 0.6741 MB / 1.364 GB, free: 6.051 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/1.132, allocations: 0.9874 MB / 1.365 GB, free: 5.062 MB / 1.092 GB Notification: Performance of SimCode: time 5.41e-07/1.132, allocations: 3.938 kB / 1.365 GB, free: 5.059 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1201/1.253, allocations: 70.61 MB / 1.434 GB, free: 15.13 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.47/17.72, allocations: 15.66 kB / 1.434 GB, free: 15.12 MB / 1.17 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