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.001597/0.001597, allocations: 111.7 kB / 17.06 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.001706/0.001707, allocations: 195.9 kB / 18 MB, free: 5.074 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.488/1.488, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 43.92 kB / 350.8 MB, free: 3.773 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2201, allocations: 49.44 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006397/0.2266, allocations: 5.193 MB / 405.4 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.2289, allocations: 1.328 MB / 406.8 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002989/0.2292, allocations: 11.94 kB / 406.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004212/0.2296, allocations: 174.5 kB / 406.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006337/0.2303, allocations: 333.1 kB / 407.3 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.2307, allocations: 247.6 kB / 407.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.232, allocations: 1.222 MB / 408.7 MB, free: 312 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000494/0.2325, allocations: 346.1 kB / 409.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005134/0.2331, allocations: 462.4 kB / 409.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000658/0.2337, allocations: 0.533 MB / 410 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.2339, allocations: 108 kB / 410.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.2341, allocations: 112 kB / 410.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.2343, allocations: 235.2 kB / 410.5 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005333/0.2349, allocations: 0.5443 MB / 411 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.2362, allocations: 1.26 MB / 412.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2362, allocations: 0 / 412.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2362, allocations: 0 / 412.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.2362, allocations: 0 / 412.3 MB, free: 12.7 MB / 334.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.002631/0.2389, allocations: 1.413 MB / 413.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.2389, allocations: 8.031 kB / 413.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001949/0.2391, allocations: 135.8 kB / 413.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.2393, allocations: 116.3 kB / 414 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.2403, allocations: 0.6071 MB / 414.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002101/0.2406, allocations: 147 kB / 414.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.2407, allocations: 68.33 kB / 414.8 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.2423, allocations: 0.9133 MB / 415.7 MB, free: 9.062 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.2423, allocations: 4 kB / 415.7 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.96e-05/0.2424, allocations: 28 kB / 415.7 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.2424, allocations: 16 kB / 415.7 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.244, allocations: 0.6375 MB / 416.4 MB, free: 8.379 MB / 334.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.003596/0.2476, allocations: 2.21 MB / 418.6 MB, free: 6.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.2495, allocations: 1.011 MB / 419.6 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009234/0.2504, allocations: 415.2 kB / 420 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.072e-05/0.2505, allocations: 16.66 kB / 420 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.2506, allocations: 47.22 kB / 420.1 MB, free: 4.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=77): time 2.535e-06/0.2506, allocations: 0 / 420.1 MB, free: 4.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=77): time 0.005379/0.256, allocations: 1.848 MB / 421.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004376/0.2564, allocations: 0.8234 MB / 422.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008736/0.2573, allocations: 0.6569 MB / 423.4 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.428e-05/0.2574, allocations: 49.7 kB / 423.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/0.2577, allocations: 373.2 kB / 423.8 MB, free: 480 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.258, allocations: 273.6 kB / 424.1 MB, free: 204 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/0.2582, allocations: 154.6 kB / 424.2 MB, free: 44 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.2584, allocations: 333.9 kB / 424.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007211/0.2591, allocations: 285.8 kB / 424.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.2602, allocations: 0.5585 MB / 425.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.2617, allocations: 0.7012 MB / 426.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.2617, allocations: 0 / 426.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002868/0.2646, allocations: 1.13 MB / 427.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.461e-05/0.2647, allocations: 89.09 kB / 427.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2647, allocations: 0 / 427.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007299/0.2654, allocations: 235.2 kB / 427.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006979/0.2661, allocations: 147.8 kB / 427.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008606/0.2747, allocations: 6.928 MB / 434.6 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009496/0.2757, allocations: 107.7 kB / 434.7 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.626e-05/0.2758, allocations: 27.94 kB / 434.7 MB, free: 4.758 MB / 350.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.0003776/0.2762, allocations: 221.7 kB / 435 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.2764, allocations: 95.44 kB / 435 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.2765, allocations: 100.5 kB / 435.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.2766, allocations: 8 kB / 435.2 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2766, allocations: 0 / 435.2 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002689/0.2793, allocations: 1.264 MB / 436.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004194/0.2835, allocations: 1.998 MB / 438.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.2835, allocations: 0 / 438.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007431/0.2843, allocations: 147.8 kB / 438.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005737/0.2848, allocations: 198.5 kB / 438.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.903e-05/0.2849, allocations: 12 kB / 438.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00706/0.292, allocations: 5.353 MB / 444.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.292, allocations: 8.062 kB / 444.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0036/0.2956, allocations: 1.442 MB / 445.6 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004435/0.2961, allocations: 252.3 kB / 445.8 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.2962, allocations: 20 kB / 445.8 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000673/0.2969, allocations: 51.89 kB / 445.9 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/0.2971, allocations: 68.56 kB / 446 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.928e-05/0.2971, allocations: 23.98 kB / 446 MB, free: 8.848 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006252/0.2978, allocations: 475 kB / 446.4 MB, free: 8.391 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2978, allocations: 4 kB / 446.4 MB, free: 8.387 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008597/0.2986, allocations: 287.8 kB / 446.7 MB, free: 8.105 MB / 366.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.003883/0.3025, allocations: 2.018 MB / 448.7 MB, free: 6.047 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00245/0.305, allocations: 1.379 MB / 450.1 MB, free: 4.586 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.305, allocations: 0 / 450.1 MB, free: 4.586 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00154/0.3066, allocations: 0.7848 MB / 450.9 MB, free: 3.758 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.3077, allocations: 247.1 kB / 451.1 MB, free: 3.512 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/0.3217, allocations: 7.821 MB / 459 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006256/0.3223, allocations: 0.9597 MB / 459.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004922/0.3228, allocations: 102.7 kB / 460 MB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004552/0.3233, allocations: 323.3 kB / 460.3 MB, free: 10.1 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3233, allocations: 8 kB / 460.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06749/0.3908, allocations: 26.61 MB / 487 MB, free: 15.94 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/13.68, allocations: 4.562 kB / 487 MB, free: 15.93 MB / 414.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