Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Movers.Validation.Pump_y_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_y_stratos,fileNamePrefix="Buildings_11_Buildings_Fluid_Movers_Validation_Pump_y_stratos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.Pump_y_stratos,fileNamePrefix="Buildings_11_Buildings_Fluid_Movers_Validation_Pump_y_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.009195/0.009195, allocations: 96.34 kB / 15.73 MB, free: 6.055 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.002376/0.002376, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.548/1.548, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.939/2.939, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 76.09 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3014, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.Pump_y_stratos): time 0.7963/1.098, allocations: 212.3 MB / 1.427 GB, free: 15.29 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.114/1.212, allocations: 69.94 MB / 1.496 GB, free: 10.89 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01431/1.226, allocations: 370.1 kB / 1.496 GB, free: 10.53 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.01705/1.243, allocations: 5.429 MB / 1.501 GB, free: 5.082 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.03266/1.276, allocations: 11.41 MB / 1.513 GB, free: 9.621 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0218/1.298, allocations: 8.88 MB / 1.521 GB, free: 0.7891 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.09388/1.392, allocations: 58.79 MB / 1.579 GB, free: 5.918 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01894/1.411, allocations: 8.618 MB / 1.587 GB, free: 13.18 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02968/1.44, allocations: 9.396 MB / 1.596 GB, free: 3.781 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01908/1.459, allocations: 7.757 MB / 1.604 GB, free: 11.99 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.005097/1.465, allocations: 1.125 MB / 1.605 GB, free: 10.86 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01636/1.481, allocations: 4.026 MB / 1.609 GB, free: 6.836 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.01006/1.491, allocations: 5.445 MB / 1.614 GB, free: 1.375 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01515/1.506, allocations: 8.073 MB / 1.622 GB, free: 9.258 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.03531/1.542, allocations: 22.63 MB / 1.644 GB, free: 2.551 MB / 1.326 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.542, allocations: 4 kB / 1.644 GB, free: 2.547 MB / 1.326 GB Notification: Performance of FrontEnd: time 1.613e-06/1.542, allocations: 4 kB / 1.644 GB, free: 2.543 MB / 1.326 GB Notification: Performance of Transformations before backend: time 0.0005108/1.542, allocations: 0 / 1.644 GB, free: 2.543 MB / 1.326 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1254 * Number of variables: 1254 Notification: Performance of Generate backend data structure: time 0.04026/1.582, allocations: 17.34 MB / 1.661 GB, free: 0.9766 MB / 1.342 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/1.583, allocations: 15.98 kB / 1.661 GB, free: 0.9609 MB / 1.342 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001165/1.584, allocations: 0.6388 MB / 1.662 GB, free: 320 kB / 1.342 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02851/1.612, allocations: 4.875 MB / 1.666 GB, free: 11.42 MB / 1.357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05342/1.666, allocations: 25.65 MB / 1.692 GB, free: 1.668 MB / 1.373 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005995/1.666, allocations: 437.7 kB / 1.692 GB, free: 1.238 MB / 1.373 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001889/1.668, allocations: 0.5663 MB / 1.692 GB, free: 0.6719 MB / 1.373 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0178/1.686, allocations: 7.748 MB / 1.7 GB, free: 8.676 MB / 1.389 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.511e-05/1.686, allocations: 11.88 kB / 1.7 GB, free: 8.664 MB / 1.389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006285/1.687, allocations: 204 kB / 1.7 GB, free: 8.465 MB / 1.389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001837/1.687, allocations: 193.2 kB / 1.7 GB, free: 8.273 MB / 1.389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01921/1.706, allocations: 6.238 MB / 1.707 GB, free: 2.02 MB / 1.389 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.07029/1.776, allocations: 36.35 MB / 1.742 GB, free: 11.95 MB / 1.436 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01788/1.794, allocations: 5.213 MB / 1.747 GB, free: 6.73 MB / 1.436 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007371/1.802, allocations: 2.435 MB / 1.749 GB, free: 4.289 MB / 1.436 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02365/1.825, allocations: 11.89 MB / 1.761 GB, free: 7.727 MB / 1.451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.077e-05/1.826, allocations: 68.59 kB / 1.761 GB, free: 7.648 MB / 1.451 GB Notification: Performance of pre-optimization done (n=257): time 4.248e-06/1.826, allocations: 3.938 kB / 1.761 GB, free: 7.645 MB / 1.451 GB Notification: Performance of matching and sorting (n=257): time 0.02633/1.852, allocations: 7.89 MB / 1.769 GB, free: 15.69 MB / 1.467 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.995e-05/1.852, allocations: 77.44 kB / 1.769 GB, free: 15.6 MB / 1.467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03948/1.892, allocations: 20.43 MB / 1.789 GB, free: 11.27 MB / 1.482 GB Notification: Performance of collectPreVariables (initialization): time 0.001085/1.893, allocations: 109.7 kB / 1.789 GB, free: 11.15 MB / 1.482 GB Notification: Performance of collectInitialEqns (initialization): time 0.008346/1.901, allocations: 6.354 MB / 1.795 GB, free: 4.777 MB / 1.482 GB Notification: Performance of collectInitialBindings (initialization): time 0.001765/1.903, allocations: 0.9996 MB / 1.796 GB, free: 3.77 MB / 1.482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003887/1.907, allocations: 2.204 MB / 1.798 GB, free: 1.555 MB / 1.482 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.907, allocations: 309.1 kB / 1.799 GB, free: 1.25 MB / 1.482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01228/1.919, allocations: 6.035 MB / 1.805 GB, free: 11.2 MB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01626/1.935, allocations: 8.594 MB / 1.813 GB, free: 1.613 MB / 1.498 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5695/2.505, allocations: 13.49 MB / 1.826 GB, free: 487.3 MB / 1.498 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.87e-05/2.505, allocations: 22.47 kB / 1.826 GB, free: 487.3 MB / 1.498 GB Notification: Performance of matching and sorting (n=1277) (initialization): time 0.03594/2.541, allocations: 16.02 MB / 1.842 GB, free: 484.8 MB / 1.498 GB Notification: Performance of prepare postOptimizeDAE: time 7.018e-05/2.541, allocations: 32.39 kB / 1.842 GB, free: 484.8 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001085/2.541, allocations: 63.53 kB / 1.842 GB, free: 484.8 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/2.541, allocations: 99.19 kB / 1.842 GB, free: 484.8 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009335/2.551, allocations: 1.969 MB / 1.844 GB, free: 484.7 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003719/2.551, allocations: 140.2 kB / 1.844 GB, free: 484.6 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01283/2.564, allocations: 1.228 MB / 1.845 GB, free: 484.5 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001897/2.566, allocations: 457.8 kB / 1.846 GB, free: 484.5 MB / 1.498 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01816/2.584, allocations: 8.447 MB / 1.854 GB, free: 481.1 MB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01275/2.597, allocations: 8.015 MB / 1.862 GB, free: 476.3 MB / 1.498 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0205/2.618, allocations: 12.34 MB / 1.874 GB, free: 470 MB / 1.498 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.329e-05/2.618, allocations: 21.41 kB / 1.874 GB, free: 470 MB / 1.498 GB Notification: Performance of matching and sorting (n=1277) (initialization_lambda0): time 0.02934/2.647, allocations: 14.84 MB / 1.888 GB, free: 464.9 MB / 1.498 GB Notification: Performance of prepare postOptimizeDAE: time 6.981e-05/2.647, allocations: 31.69 kB / 1.888 GB, free: 464.9 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/2.647, allocations: 59.22 kB / 1.888 GB, free: 464.9 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/2.647, allocations: 98.73 kB / 1.888 GB, free: 464.9 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007753/2.655, allocations: 1.91 MB / 1.89 GB, free: 464.7 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002111/2.655, allocations: 133.2 kB / 1.89 GB, free: 464.7 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01109/2.666, allocations: 0.9794 MB / 1.891 GB, free: 464.4 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/2.668, allocations: 422.6 kB / 1.892 GB, free: 464.4 MB / 1.498 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 281 * 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 (902): * Single equations (assignments): 882 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 10 * 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.002133/2.67, allocations: 0.583 MB / 1.892 GB, free: 463.9 MB / 1.498 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003647/2.673, allocations: 1.352 MB / 1.894 GB, free: 463.1 MB / 1.498 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0196/2.693, allocations: 6.976 MB / 1.901 GB, free: 460.9 MB / 1.498 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-05/2.693, allocations: 39 kB / 1.901 GB, free: 460.9 MB / 1.498 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-05/2.693, allocations: 3.969 kB / 1.901 GB, free: 460.9 MB / 1.498 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.341e-05/2.693, allocations: 15.23 kB / 1.901 GB, free: 460.9 MB / 1.498 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03401/2.727, allocations: 15.16 MB / 1.915 GB, free: 455.2 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/2.727, allocations: 7.188 kB / 1.915 GB, free: 455.2 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005061/2.732, allocations: 0.8489 MB / 1.916 GB, free: 455.2 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.256e-05/2.732, allocations: 11.41 kB / 1.916 GB, free: 455.2 MB / 1.498 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004839/2.733, allocations: 127.3 kB / 1.916 GB, free: 455.1 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.59e-05/2.733, allocations: 14.88 kB / 1.916 GB, free: 455.1 MB / 1.498 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/2.733, allocations: 3.062 kB / 1.916 GB, free: 455.1 MB / 1.498 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02307/2.756, allocations: 9.611 MB / 1.926 GB, free: 448.5 MB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005795/2.762, allocations: 2.326 MB / 1.928 GB, free: 446.5 MB / 1.498 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003812/2.766, allocations: 71.88 kB / 1.928 GB, free: 446.4 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008607/2.774, allocations: 447.7 kB / 1.929 GB, free: 446.1 MB / 1.498 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004983/2.775, allocations: 190.2 kB / 1.929 GB, free: 446 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000562/2.775, allocations: 171.8 kB / 1.929 GB, free: 445.9 MB / 1.498 GB Notification: Performance of sorting global known variables: time 0.02155/2.797, allocations: 14.23 MB / 1.943 GB, free: 432.6 MB / 1.498 GB Notification: Performance of sort global known variables: time 2.3e-07/2.797, allocations: 4 kB / 1.943 GB, free: 432.6 MB / 1.498 GB Notification: Performance of remove unused functions: time 0.01782/2.815, allocations: 5.338 MB / 1.948 GB, free: 427.4 MB / 1.498 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (pump1.filter.s[1],pump1.filter.s[2],pump2.filter.s[1],pump2.filter.s[2],pump3.filter.s[1],pump3.filter.s[2],pump4.filter.s[1],pump4.filter.s[2],pump5.filter.s[1],pump5.filter.s[2],forcedPump1.filter.s[1],forcedPump1.filter.s[2],forcedPump2.filter.s[1],forcedPump2.filter.s[2],forcedPump3.filter.s[1],forcedPump3.filter.s[2],forcedPump4.filter.s[1],forcedPump4.filter.s[2],forcedPump5.filter.s[1],forcedPump5.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 (314): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * When equations: 0 * 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.02533/2.84, allocations: 11.25 MB / 1.959 GB, free: 416.2 MB / 1.498 GB Notification: Performance of simCode: created initialization part: time 0.028/2.868, allocations: 16.99 MB / 1.976 GB, free: 399.2 MB / 1.498 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/2.868, allocations: 0 / 1.976 GB, free: 399.2 MB / 1.498 GB Notification: Performance of simCode: created simulation system equations: time 0.006564/2.875, allocations: 2.633 MB / 1.978 GB, free: 396.6 MB / 1.498 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0288/2.904, allocations: 6.967 MB / 1.985 GB, free: 389.9 MB / 1.498 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1888/3.093, allocations: 124.8 MB / 2.107 GB, free: 262.7 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005862/3.098, allocations: 6.752 MB / 2.113 GB, free: 255.9 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.01451/3.113, allocations: 3.845 MB / 2.117 GB, free: 252.1 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009888/3.123, allocations: 6.603 MB / 2.124 GB, free: 245.5 MB / 1.498 GB Notification: Performance of SimCode: time 8.71e-07/3.123, allocations: 3.938 kB / 2.124 GB, free: 245.5 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.601/4.724, allocations: 358 MB / 2.473 GB, free: 483.8 MB / 1.529 GB Notification: Performance of buildModelFMU: Generate platform static: time 58.18/62.91, allocations: 9.625 kB / 2.473 GB, free: 483.8 MB / 1.529 GB (rm -f Buildings_11_Buildings.Fluid.Movers.Validation.Pump_y_stratos.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.Validation.Pump_y_stratos.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.Validation.Pump_y_stratos.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.Validation.Pump_y_stratos.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Movers.Validation.Pump_y_stratos_res.csv --start-time 0 --stop-time 1000 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.4 Buildings_11_Buildings_Fluid_Movers_Validation_Pump_y_stratos.fmu > Buildings_11_Buildings.Fluid.Movers.Validation.Pump_y_stratos.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Movers.Validation.Pump_y_stratos_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Movers_Validation_Pump_y_stratos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Movers.Validation.Pump_y_stratos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches