Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_y_stratos,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_Validation_Pump_y_stratos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.Pump_y_stratos,fileNamePrefix="Buildings_10_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.007761/0.007761, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001924/0.001924, allocations: 187.4 kB / 16.67 MB, free: 5.465 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.16 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.675/2.675, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 59.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.4205, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.Pump_y_stratos): time 1.169/1.589, allocations: 212.3 MB / 1.373 GB, free: 2.922 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1477/1.737, allocations: 69.92 MB / 1.442 GB, free: 10.2 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02272/1.76, allocations: 370.1 kB / 1.442 GB, free: 9.84 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.01969/1.78, allocations: 5.448 MB / 1.447 GB, free: 4.367 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.05011/1.83, allocations: 11.72 MB / 1.459 GB, free: 8.602 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.03129/1.861, allocations: 8.888 MB / 1.468 GB, free: 15.76 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.105/1.966, allocations: 58.8 MB / 1.525 GB, free: 4.875 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02313/1.989, allocations: 8.591 MB / 1.533 GB, free: 12.16 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03293/2.022, allocations: 9.592 MB / 1.543 GB, free: 2.566 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0162/2.039, allocations: 7.768 MB / 1.55 GB, free: 10.77 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.006525/2.045, allocations: 1.125 MB / 1.551 GB, free: 9.641 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01683/2.062, allocations: 4.018 MB / 1.555 GB, free: 5.617 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.01061/2.073, allocations: 5.453 MB / 1.561 GB, free: 152 kB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.02331/2.096, allocations: 8.073 MB / 1.569 GB, free: 8.035 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.04454/2.141, allocations: 22.63 MB / 1.591 GB, free: 1.316 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/2.141, allocations: 0 / 1.591 GB, free: 1.316 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.986e-06/2.141, allocations: 0 / 1.591 GB, free: 1.316 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.000977/2.142, allocations: 0 / 1.591 GB, free: 1.316 MB / 1.248 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.06046/2.202, allocations: 17.34 MB / 1.608 GB, free: 15.75 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 6.903e-05/2.202, allocations: 16.02 kB / 1.608 GB, free: 15.73 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003018/2.205, allocations: 0.6388 MB / 1.608 GB, free: 15.09 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03016/2.236, allocations: 4.868 MB / 1.613 GB, free: 10.2 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06081/2.296, allocations: 25.66 MB / 1.638 GB, free: 444 kB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006737/2.297, allocations: 437.7 kB / 1.638 GB, free: 4 kB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002534/2.3, allocations: 0.5624 MB / 1.639 GB, free: 15.44 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02304/2.323, allocations: 7.748 MB / 1.647 GB, free: 7.445 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002356/2.323, allocations: 11.88 kB / 1.647 GB, free: 7.434 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002092/2.325, allocations: 208 kB / 1.647 GB, free: 7.23 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002729/2.325, allocations: 189.2 kB / 1.647 GB, free: 7.043 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02413/2.35, allocations: 6.242 MB / 1.653 GB, free: 0.7852 MB / 1.311 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.08798/2.438, allocations: 36.36 MB / 1.689 GB, free: 10.72 MB / 1.357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01903/2.457, allocations: 5.22 MB / 1.694 GB, free: 5.496 MB / 1.357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007718/2.465, allocations: 2.424 MB / 1.696 GB, free: 3.062 MB / 1.357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03227/2.497, allocations: 11.9 MB / 1.708 GB, free: 6.488 MB / 1.373 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.908e-05/2.497, allocations: 60.59 kB / 1.708 GB, free: 6.418 MB / 1.373 GB Notification: Performance of pre-optimization done (n=257): time 4.899e-06/2.497, allocations: 0 / 1.708 GB, free: 6.418 MB / 1.373 GB Notification: Performance of matching and sorting (n=257): time 0.03261/2.53, allocations: 7.894 MB / 1.715 GB, free: 14.46 MB / 1.389 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.949e-05/2.53, allocations: 77.44 kB / 1.715 GB, free: 14.37 MB / 1.389 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05201/2.582, allocations: 20.43 MB / 1.735 GB, free: 10.04 MB / 1.404 GB Notification: Performance of collectPreVariables (initialization): time 0.001636/2.583, allocations: 113.6 kB / 1.736 GB, free: 9.918 MB / 1.404 GB Notification: Performance of collectInitialEqns (initialization): time 0.01093/2.594, allocations: 6.354 MB / 1.742 GB, free: 3.539 MB / 1.404 GB Notification: Performance of collectInitialBindings (initialization): time 0.0025/2.597, allocations: 0.9958 MB / 1.743 GB, free: 2.535 MB / 1.404 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01073/2.608, allocations: 2.212 MB / 1.745 GB, free: 320 kB / 1.404 GB Notification: Performance of setup shared object (initialization): time 0.0001541/2.608, allocations: 305.1 kB / 1.745 GB, free: 12 kB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01376/2.622, allocations: 6.035 MB / 1.751 GB, free: 9.965 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01743/2.639, allocations: 8.606 MB / 1.759 GB, free: 380 kB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02809/2.667, allocations: 13.49 MB / 1.773 GB, free: 1.988 MB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/2.668, allocations: 23.94 kB / 1.773 GB, free: 1.965 MB / 1.436 GB Notification: Performance of matching and sorting (n=1277) (initialization): time 0.03937/2.707, allocations: 16.02 MB / 1.788 GB, free: 1.895 MB / 1.451 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/2.707, allocations: 33.88 kB / 1.788 GB, free: 1.863 MB / 1.451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001591/2.707, allocations: 60 kB / 1.788 GB, free: 1.805 MB / 1.451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/2.707, allocations: 100 kB / 1.788 GB, free: 1.707 MB / 1.451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009647/2.717, allocations: 1.966 MB / 1.79 GB, free: 15.74 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002588/2.717, allocations: 139.5 kB / 1.791 GB, free: 15.6 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01519/2.733, allocations: 1.236 MB / 1.792 GB, free: 14.36 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002422/2.735, allocations: 451.8 kB / 1.792 GB, free: 13.92 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02226/2.757, allocations: 8.446 MB / 1.8 GB, free: 5.465 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.733/3.491, allocations: 8.013 MB / 1.808 GB, free: 0.4944 GB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02629/3.517, allocations: 12.35 MB / 1.82 GB, free: 0.4919 GB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002052/3.517, allocations: 18.06 kB / 1.82 GB, free: 0.4919 GB / 1.467 GB Notification: Performance of matching and sorting (n=1277) (initialization_lambda0): time 0.03673/3.554, allocations: 14.84 MB / 1.835 GB, free: 499.2 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001864/3.554, allocations: 31.62 kB / 1.835 GB, free: 499.2 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002387/3.554, allocations: 64.62 kB / 1.835 GB, free: 499.2 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003174/3.555, allocations: 98.19 kB / 1.835 GB, free: 499.2 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009341/3.564, allocations: 1.9 MB / 1.837 GB, free: 499 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000364/3.564, allocations: 140.9 kB / 1.837 GB, free: 499 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01375/3.578, allocations: 0.9822 MB / 1.838 GB, free: 498.9 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002282/3.581, allocations: 420 kB / 1.838 GB, free: 498.8 MB / 1.467 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.00299/3.584, allocations: 0.5776 MB / 1.839 GB, free: 498.4 MB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004537/3.588, allocations: 1.359 MB / 1.84 GB, free: 498.2 MB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0378/3.626, allocations: 6.966 MB / 1.847 GB, free: 496 MB / 1.467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001508/3.626, allocations: 36.09 kB / 1.847 GB, free: 496 MB / 1.467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.693e-05/3.626, allocations: 3.938 kB / 1.847 GB, free: 496 MB / 1.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000164/3.626, allocations: 15 kB / 1.847 GB, free: 496 MB / 1.467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07251/3.699, allocations: 15.17 MB / 1.862 GB, free: 490.3 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.117e-05/3.699, allocations: 8.156 kB / 1.862 GB, free: 490.3 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007515/3.707, allocations: 0.8615 MB / 1.863 GB, free: 490.3 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.45e-05/3.707, allocations: 7.906 kB / 1.863 GB, free: 490.3 MB / 1.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001231/3.708, allocations: 124.9 kB / 1.863 GB, free: 490.2 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.382e-05/3.708, allocations: 11.41 kB / 1.863 GB, free: 490.2 MB / 1.467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/3.708, allocations: 2.656 kB / 1.863 GB, free: 490.2 MB / 1.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03837/3.747, allocations: 9.62 MB / 1.872 GB, free: 486.5 MB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01102/3.758, allocations: 2.326 MB / 1.875 GB, free: 485.1 MB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00612/3.764, allocations: 66.8 kB / 1.875 GB, free: 485 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0126/3.776, allocations: 444.3 kB / 1.875 GB, free: 485 MB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009184/3.777, allocations: 193.7 kB / 1.875 GB, free: 485 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001132/3.779, allocations: 174.3 kB / 1.875 GB, free: 484.9 MB / 1.467 GB Notification: Performance of sorting global known variables: time 0.03094/3.81, allocations: 14.24 MB / 1.889 GB, free: 479.8 MB / 1.467 GB Notification: Performance of sort global known variables: time 1.223e-06/3.81, allocations: 0 / 1.889 GB, free: 479.8 MB / 1.467 GB Notification: Performance of remove unused functions: time 0.02243/3.832, allocations: 5.337 MB / 1.895 GB, free: 479.2 MB / 1.467 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.03141/3.863, allocations: 11.24 MB / 1.906 GB, free: 471.3 MB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.03123/3.895, allocations: 16.99 MB / 1.922 GB, free: 456 MB / 1.467 GB Notification: Performance of simCode: created event and clocks part: time 1.597e-05/3.895, allocations: 8.062 kB / 1.922 GB, free: 456 MB / 1.467 GB Notification: Performance of simCode: created simulation system equations: time 0.007572/3.902, allocations: 2.626 MB / 1.925 GB, free: 453.4 MB / 1.467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03388/3.936, allocations: 6.963 MB / 1.931 GB, free: 446.7 MB / 1.467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2345/4.171, allocations: 124.8 MB / 2.053 GB, free: 319.5 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01091/4.182, allocations: 6.748 MB / 2.06 GB, free: 312.8 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.0175/4.199, allocations: 3.857 MB / 2.064 GB, free: 308.9 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01112/4.211, allocations: 6.607 MB / 2.07 GB, free: 302.3 MB / 1.467 GB Notification: Performance of SimCode: time 7.41e-07/4.211, allocations: 0 / 2.07 GB, free: 302.3 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.709/5.92, allocations: 358.1 MB / 2.42 GB, free: 456.6 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 59.8/65.72, allocations: 5.141 kB / 2.42 GB, free: 456.6 MB / 1.467 GB (rm -f Buildings_10_Buildings.Fluid.Movers.Validation.Pump_y_stratos.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Validation.Pump_y_stratos.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Validation.Pump_y_stratos.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Validation.Pump_y_stratos.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Movers.Validation.Pump_y_stratos_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.4 Buildings_10_Buildings_Fluid_Movers_Validation_Pump_y_stratos.fmu > Buildings_10_Buildings.Fluid.Movers.Validation.Pump_y_stratos.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Validation.Pump_y_stratos_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Validation_Pump_y_stratos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.Pump_y_stratos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches