Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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) 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(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",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.001567/0.001567, allocations: 103.8 kB / 16.92 MB, free: 5.855 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.001469/0.001469, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.673/1.673, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 39.47 kB / 300.7 MB, free: 5.801 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08213/0.08329, allocations: 49.45 MB / 350.2 MB, free: 4.34 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005633/0.08895, allocations: 5.186 MB / 355.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.09094, allocations: 1.32 MB / 356.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002542/0.09121, allocations: 8 kB / 356.7 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003688/0.0916, allocations: 170.5 kB / 356.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005543/0.09216, allocations: 337.1 kB / 357.2 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.09256, allocations: 243.6 kB / 357.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.09358, allocations: 1.219 MB / 358.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004363/0.09403, allocations: 350 kB / 359 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004296/0.09447, allocations: 470.3 kB / 359.4 MB, free: 11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005196/0.095, allocations: 0.5291 MB / 360 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.09516, allocations: 112 kB / 360.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.09534, allocations: 108 kB / 360.2 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.09552, allocations: 235.2 kB / 360.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004581/0.09599, allocations: 0.5405 MB / 360.9 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009571/0.09695, allocations: 1.238 MB / 362.2 MB, free: 8.242 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.09697, allocations: 0 / 362.2 MB, free: 8.242 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09697, allocations: 3.938 kB / 362.2 MB, free: 8.238 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.09699, allocations: 0 / 362.2 MB, free: 8.238 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002369/0.09937, allocations: 1.387 MB / 363.6 MB, free: 6.781 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.09941, allocations: 8.031 kB / 363.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000173/0.09959, allocations: 115.9 kB / 363.7 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.09979, allocations: 119.6 kB / 363.8 MB, free: 6.531 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008636/0.1007, allocations: 0.6026 MB / 364.4 MB, free: 5.891 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003092/0.101, allocations: 166.9 kB / 364.6 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.622e-05/0.1011, allocations: 64.38 kB / 364.6 MB, free: 5.648 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.1026, allocations: 0.9255 MB / 365.6 MB, free: 4.621 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.1026, allocations: 4 kB / 365.6 MB, free: 4.617 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.1027, allocations: 32 kB / 365.6 MB, free: 4.586 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.1027, allocations: 20 kB / 365.6 MB, free: 4.566 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.1043, allocations: 0.6531 MB / 366.3 MB, free: 3.914 MB / 302.1 MB 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.003366/0.1077, allocations: 2.232 MB / 368.5 MB, free: 1.574 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.1095, allocations: 1.019 MB / 369.5 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008821/0.1104, allocations: 435.2 kB / 370 MB, free: 68 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.546e-05/0.1104, allocations: 12.64 kB / 370 MB, free: 56 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1407/0.2511, allocations: 51.22 kB / 370 MB, free: 25.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 8.526e-06/0.2512, allocations: 0 / 370 MB, free: 25.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.00535/0.2565, allocations: 1.862 MB / 371.9 MB, free: 25.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/0.2567, allocations: 0.8232 MB / 372.7 MB, free: 24.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007796/0.2575, allocations: 0.6619 MB / 373.4 MB, free: 23.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.538e-05/0.2576, allocations: 45.55 kB / 373.4 MB, free: 23.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.2578, allocations: 360.3 kB / 373.8 MB, free: 23.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.2579, allocations: 269.4 kB / 374 MB, free: 23.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.2582, allocations: 145.6 kB / 374.2 MB, free: 23.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.014e-05/0.2582, allocations: 334 kB / 374.5 MB, free: 23.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006768/0.2589, allocations: 300.1 kB / 374.8 MB, free: 23.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008434/0.2597, allocations: 0.5672 MB / 375.4 MB, free: 22.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.2611, allocations: 0.7295 MB / 376.1 MB, free: 22.31 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2611, allocations: 4.875 kB / 376.1 MB, free: 22.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002533/0.2636, allocations: 1.156 MB / 377.2 MB, free: 21.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/0.2637, allocations: 88.02 kB / 377.3 MB, free: 21.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.2637, allocations: 1.625 kB / 377.3 MB, free: 21.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006377/0.2644, allocations: 240.3 kB / 377.6 MB, free: 21.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006544/0.265, allocations: 152 kB / 377.7 MB, free: 21.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005928/0.271, allocations: 6.932 MB / 384.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007658/0.2717, allocations: 106.1 kB / 384.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/0.2718, allocations: 27.16 kB / 384.8 MB, free: 15.27 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002561/0.2721, allocations: 228.7 kB / 385 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.2722, allocations: 89.81 kB / 385.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.2724, allocations: 98.88 kB / 385.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.2724, allocations: 7.984 kB / 385.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.2724, allocations: 0 / 385.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002337/0.2747, allocations: 1.285 MB / 386.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003768/0.2785, allocations: 2.022 MB / 388.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2785, allocations: 0 / 388.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007038/0.2792, allocations: 158.9 kB / 388.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005047/0.2797, allocations: 199.4 kB / 388.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-05/0.2798, allocations: 17.69 kB / 388.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005003/0.2848, allocations: 5.353 MB / 394.2 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2848, allocations: 0 / 394.2 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003125/0.288, allocations: 1.476 MB / 395.7 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003235/0.2883, allocations: 250.8 kB / 395.9 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.2885, allocations: 22.94 kB / 396 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006789/0.2891, allocations: 55.69 kB / 396 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.2893, allocations: 66.75 kB / 396.1 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.2894, allocations: 22.45 kB / 396.1 MB, free: 7.438 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005219/0.2899, allocations: 480.3 kB / 396.6 MB, free: 7.168 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2899, allocations: 4 kB / 396.6 MB, free: 7.164 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008466/0.2907, allocations: 293.4 kB / 396.9 MB, free: 7.121 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * 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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003116/0.2939, allocations: 2.049 MB / 398.9 MB, free: 5.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002381/0.2963, allocations: 1.432 MB / 400.3 MB, free: 4.707 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.2963, allocations: 1.281 kB / 400.3 MB, free: 4.707 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.2976, allocations: 0.8017 MB / 401.1 MB, free: 4.133 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009896/0.2986, allocations: 248.1 kB / 401.4 MB, free: 4 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/0.3109, allocations: 8.399 MB / 409.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005754/0.3115, allocations: 0.9637 MB / 410.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004876/0.312, allocations: 106.7 kB / 410.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003991/0.3124, allocations: 319.3 kB / 411.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3124, allocations: 0 / 411.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06072/0.3731, allocations: 26.31 MB / 437.5 MB, free: 1.055 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.83, allocations: 8.062 kB / 437.5 MB, free: 1.047 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches