Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Examples.PumpsSeries,fileNamePrefix="Buildings_11_Buildings_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_11_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.007303/0.007303, allocations: 101.2 kB / 15.73 MB, free: 5.988 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.001424/0.001424, allocations: 186.2 kB / 16.67 MB, free: 5.914 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.923/2.923, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002672/0.002672, allocations: 68.09 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4163, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.7763/1.193, allocations: 51.5 MB / 1.27 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02991/1.223, allocations: 18.15 MB / 1.288 GB, free: 10.1 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00416/1.227, allocations: 74.94 kB / 1.288 GB, free: 10.08 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006789/1.234, allocations: 1.905 MB / 1.29 GB, free: 9.184 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009357/1.243, allocations: 2.719 MB / 1.293 GB, free: 7.613 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006887/1.25, allocations: 2.108 MB / 1.295 GB, free: 6.484 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.024/1.274, allocations: 14.09 MB / 1.309 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003341/1.277, allocations: 1.729 MB / 1.31 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005123/1.282, allocations: 1.951 MB / 1.312 GB, free: 144 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003334/1.286, allocations: 1.522 MB / 1.314 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0006653/1.286, allocations: 215.8 kB / 1.314 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005083/1.292, allocations: 1.902 MB / 1.316 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001379/1.293, allocations: 0.8976 MB / 1.317 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002522/1.295, allocations: 1.409 MB / 1.318 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009207/1.305, allocations: 4.565 MB / 1.322 GB, free: 11.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.305, allocations: 0.9062 kB / 1.322 GB, free: 11.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.485e-06/1.305, allocations: 0 / 1.322 GB, free: 11.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001129/1.305, allocations: 0.8125 kB / 1.322 GB, free: 11.73 MB / 1.029 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.008007/1.313, allocations: 3.34 MB / 1.326 GB, free: 9.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/1.313, allocations: 10.12 kB / 1.326 GB, free: 9.52 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000233/1.313, allocations: 155.8 kB / 1.326 GB, free: 9.414 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006466/1.32, allocations: 0.9498 MB / 1.327 GB, free: 9.199 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01917/1.339, allocations: 8.9 MB / 1.335 GB, free: 3.898 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/1.339, allocations: 89.88 kB / 1.336 GB, free: 3.859 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004261/1.34, allocations: 113.9 kB / 1.336 GB, free: 3.824 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003434/1.343, allocations: 1.486 MB / 1.337 GB, free: 2.918 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/1.343, allocations: 1.375 kB / 1.337 GB, free: 2.918 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/1.343, allocations: 41.78 kB / 1.337 GB, free: 2.887 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.968e-05/1.343, allocations: 36.69 kB / 1.337 GB, free: 2.883 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003522/1.347, allocations: 1.323 MB / 1.338 GB, free: 2.262 MB / 1.029 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.01319/1.36, allocations: 6.967 MB / 1.345 GB, free: 12.54 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003708/1.364, allocations: 1.127 MB / 1.346 GB, free: 11.94 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/1.365, allocations: 0.4941 MB / 1.347 GB, free: 11.71 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008352/1.374, allocations: 2.735 MB / 1.35 GB, free: 9.359 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.826e-05/1.374, allocations: 42.41 kB / 1.35 GB, free: 9.312 MB / 1.045 GB Notification: Performance of pre-optimization done (n=60): time 5.41e-06/1.374, allocations: 0 / 1.35 GB, free: 9.312 MB / 1.045 GB Notification: Performance of matching and sorting (n=60): time 0.00705/1.381, allocations: 1.741 MB / 1.351 GB, free: 8.418 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/1.381, allocations: 62.31 kB / 1.351 GB, free: 8.352 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005429/1.386, allocations: 2.624 MB / 1.354 GB, free: 6.926 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002499/1.387, allocations: 40.58 kB / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001127/1.388, allocations: 1.051 MB / 1.355 GB, free: 5.965 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003634/1.388, allocations: 232.3 kB / 1.355 GB, free: 5.766 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007524/1.389, allocations: 440 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.389, allocations: 309.1 kB / 1.356 GB, free: 5.223 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002205/1.391, allocations: 1.139 MB / 1.357 GB, free: 4.672 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002556/1.394, allocations: 1.544 MB / 1.359 GB, free: 3.648 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004458/1.398, allocations: 2.461 MB / 1.361 GB, free: 2.254 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.927e-05/1.398, allocations: 5.781 kB / 1.361 GB, free: 2.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.006426/1.405, allocations: 3.064 MB / 1.364 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/1.405, allocations: 10.34 kB / 1.364 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/1.405, allocations: 11.69 kB / 1.364 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005804/1.405, allocations: 156.1 kB / 1.364 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/1.407, allocations: 359.2 kB / 1.364 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000686/1.408, allocations: 0.6673 MB / 1.365 GB, free: 4 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002524/1.41, allocations: 223.9 kB / 1.365 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002776/1.411, allocations: 98.48 kB / 1.365 GB, free: 15.83 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003179/1.414, allocations: 1.508 MB / 1.367 GB, free: 14.56 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002206/1.416, allocations: 1.343 MB / 1.368 GB, free: 13.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003729/1.42, allocations: 2.094 MB / 1.37 GB, free: 10.86 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.642e-06/1.42, allocations: 4 kB / 1.37 GB, free: 10.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.006031/1.426, allocations: 2.727 MB / 1.373 GB, free: 8.121 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/1.426, allocations: 8 kB / 1.373 GB, free: 8.113 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/1.426, allocations: 8 kB / 1.373 GB, free: 8.105 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009472/1.427, allocations: 205.3 kB / 1.373 GB, free: 7.902 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/1.428, allocations: 347.5 kB / 1.373 GB, free: 7.562 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006324/1.435, allocations: 3.505 MB / 1.377 GB, free: 3.848 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/1.438, allocations: 175.3 kB / 1.377 GB, free: 3.676 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000388/1.438, allocations: 83.97 kB / 1.377 GB, free: 3.594 MB / 1.061 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.0006007/1.439, allocations: 247.9 kB / 1.377 GB, free: 3.344 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009027/1.44, allocations: 254.2 kB / 1.378 GB, free: 3.094 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004621/1.444, allocations: 1.591 MB / 1.379 GB, free: 1.488 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/1.444, allocations: 4 kB / 1.379 GB, free: 1.484 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/1.444, allocations: 4 kB / 1.379 GB, free: 1.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/1.444, allocations: 3.984 kB / 1.379 GB, free: 1.477 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007591/1.452, allocations: 3.113 MB / 1.382 GB, free: 14.28 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/1.452, allocations: 3.938 kB / 1.382 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009953/1.453, allocations: 167.9 kB / 1.382 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000387/1.453, allocations: 104.8 kB / 1.382 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.23e-05/1.453, allocations: 31.97 kB / 1.382 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005849/1.454, allocations: 0.6344 MB / 1.383 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/1.454, allocations: 8.047 kB / 1.383 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00549/1.459, allocations: 2.153 MB / 1.385 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001659/1.461, allocations: 447.1 kB / 1.386 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003689/1.462, allocations: 16 kB / 1.386 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/1.463, allocations: 75.92 kB / 1.386 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/1.463, allocations: 56.42 kB / 1.386 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/1.463, allocations: 43.97 kB / 1.386 GB, free: 10.47 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003436/1.467, allocations: 1.751 MB / 1.388 GB, free: 8.719 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.42e-07/1.467, allocations: 0 / 1.388 GB, free: 8.719 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00485/1.471, allocations: 1.22 MB / 1.389 GB, free: 7.496 MB / 1.076 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.007752/1.479, allocations: 3.344 MB / 1.392 GB, free: 4.113 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.007591/1.487, allocations: 3.499 MB / 1.395 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/1.487, allocations: 0 / 1.395 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001588/1.488, allocations: 0.5736 MB / 1.396 GB, free: 44 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006003/1.495, allocations: 1.152 MB / 1.397 GB, free: 14.93 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04358/1.538, allocations: 19.85 MB / 1.416 GB, free: 10.65 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002093/1.54, allocations: 1.717 MB / 1.418 GB, free: 8.902 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002798/1.543, allocations: 0.6703 MB / 1.419 GB, free: 8.227 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001591/1.545, allocations: 0.9952 MB / 1.42 GB, free: 7.23 MB / 1.107 GB Notification: Performance of SimCode: time 8.12e-07/1.545, allocations: 0 / 1.42 GB, free: 7.23 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1445/1.689, allocations: 70.63 MB / 1.489 GB, free: 1.395 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.5/19.19, allocations: 26.19 kB / 1.489 GB, free: 1.371 MB / 1.17 GB (rm -f Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Movers_Examples_PumpsSeries.fmu > Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches