Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ParallelCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",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.0017/0.001701, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001927/0.001927, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.517/2.517, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 51.92 kB / 280.7 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1325, allocations: 46.62 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.01146/0.1441, allocations: 4.941 MB / 332.3 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004893/0.149, allocations: 1.325 MB / 333.6 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008931/0.15, allocations: 19.94 kB / 333.7 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009834/0.1511, allocations: 154.6 kB / 333.8 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.1531, allocations: 321.2 kB / 334.1 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.1542, allocations: 227.6 kB / 334.3 MB, free: 13.37 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002965/0.1572, allocations: 1.149 MB / 335.5 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009915/0.1582, allocations: 330 kB / 335.8 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.1596, allocations: 446.4 kB / 336.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001583/0.1612, allocations: 0.4902 MB / 336.7 MB, free: 10.95 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005591/0.1618, allocations: 104 kB / 336.8 MB, free: 10.85 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000791/0.1626, allocations: 104 kB / 336.9 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005322/0.1631, allocations: 223.2 kB / 337.2 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.1644, allocations: 0.5094 MB / 337.7 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001902/0.1664, allocations: 1.168 MB / 338.8 MB, free: 8.848 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.1664, allocations: 0 / 338.8 MB, free: 8.848 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.969e-06/0.1664, allocations: 4 kB / 338.8 MB, free: 8.844 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.246e-05/0.1665, allocations: 0 / 338.8 MB, free: 8.844 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.005286/0.1718, allocations: 1.314 MB / 340.2 MB, free: 7.457 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.721e-05/0.1719, allocations: 8.031 kB / 340.2 MB, free: 7.449 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003842/0.1723, allocations: 119.9 kB / 340.3 MB, free: 7.324 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004568/0.1728, allocations: 111.7 kB / 340.4 MB, free: 7.215 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.1743, allocations: 0.5473 MB / 340.9 MB, free: 6.629 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003837/0.1747, allocations: 143 kB / 341.1 MB, free: 6.469 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.1749, allocations: 64.38 kB / 341.1 MB, free: 6.406 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/0.1774, allocations: 0.8587 MB / 342 MB, free: 5.445 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/0.1774, allocations: 0 / 342 MB, free: 5.445 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.1776, allocations: 32 kB / 342 MB, free: 5.414 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-05/0.1776, allocations: 16 kB / 342 MB, free: 5.398 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/0.18, allocations: 0.5633 MB / 342.6 MB, free: 4.836 MB / 286.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.006613/0.1866, allocations: 2.162 MB / 344.8 MB, free: 2.57 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002775/0.1894, allocations: 0.9627 MB / 345.7 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.1905, allocations: 374.4 kB / 346.1 MB, free: 1.168 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.135e-05/0.1906, allocations: 8.656 kB / 346.1 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.661e-05/0.1907, allocations: 51.16 kB / 346.2 MB, free: 1.102 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 4.518e-06/0.1907, allocations: 4 kB / 346.2 MB, free: 1.098 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.007374/0.1981, allocations: 1.738 MB / 347.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008685/0.199, allocations: 0.8234 MB / 348.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.2008, allocations: 0.6409 MB / 349.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001744/0.201, allocations: 47.34 kB / 349.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004896/0.2016, allocations: 337 kB / 349.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004565/0.202, allocations: 260.2 kB / 350 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004936/0.2026, allocations: 138.7 kB / 350.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002698/0.2029, allocations: 390.8 kB / 350.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.2039, allocations: 245.9 kB / 350.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/0.2055, allocations: 0.5273 MB / 351.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002327/0.2079, allocations: 0.6271 MB / 351.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.2079, allocations: 4 kB / 351.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004573/0.2125, allocations: 1.047 MB / 353 MB, free: 9.816 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.2127, allocations: 85.11 kB / 353 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.2127, allocations: 4 kB / 353 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.214, allocations: 239.2 kB / 353.3 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.2151, allocations: 127.9 kB / 353.4 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01444/0.2295, allocations: 6.931 MB / 360.3 MB, free: 1.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.2313, allocations: 103.2 kB / 360.4 MB, free: 1.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/0.2315, allocations: 20 kB / 360.5 MB, free: 1.723 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 (70): * Single equations (assignments): 63 * 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.0008991/0.2325, allocations: 221.7 kB / 360.7 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004957/0.233, allocations: 90.98 kB / 360.8 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004274/0.2334, allocations: 91.34 kB / 360.8 MB, free: 1.312 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.2335, allocations: 8 kB / 360.9 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.2335, allocations: 4 kB / 360.9 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004109/0.2376, allocations: 1.186 MB / 362 MB, free: 0 / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007153/0.2448, allocations: 1.872 MB / 363.9 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.2449, allocations: 0 / 363.9 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.246, allocations: 131.9 kB / 364 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009972/0.247, allocations: 198.5 kB / 364.2 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.486e-05/0.2471, allocations: 23.92 kB / 364.3 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/0.2586, allocations: 5.303 MB / 369.6 MB, free: 7.984 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2586, allocations: 4.062 kB / 369.6 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005037/0.2637, allocations: 1.315 MB / 370.9 MB, free: 6.629 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009908/0.2647, allocations: 235.9 kB / 371.1 MB, free: 6.379 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004463/0.2652, allocations: 20.19 kB / 371.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.2666, allocations: 51.91 kB / 371.2 MB, free: 6.309 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002812/0.2669, allocations: 56.77 kB / 371.2 MB, free: 6.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.559e-05/0.267, allocations: 27.98 kB / 371.3 MB, free: 6.227 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00106/0.268, allocations: 455.1 kB / 371.7 MB, free: 5.785 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2681, allocations: 0 / 371.7 MB, free: 5.785 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002002/0.2701, allocations: 279.8 kB / 372 MB, free: 5.512 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (61): * Single equations (assignments): 58 * 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.005265/0.2754, allocations: 1.903 MB / 373.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004107/0.2795, allocations: 1.324 MB / 375.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.2796, allocations: 4.125 kB / 375.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00156/0.2811, allocations: 0.6871 MB / 375.9 MB, free: 1.418 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.2832, allocations: 231 kB / 376.1 MB, free: 1.195 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2409/0.5241, allocations: 7.91 MB / 384 MB, free: 50.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005885/0.5247, allocations: 0.9416 MB / 385 MB, free: 49.62 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006528/0.5254, allocations: 102.4 kB / 385.1 MB, free: 49.61 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004139/0.5258, allocations: 293.7 kB / 385.4 MB, free: 49.4 MB / 318.1 MB Notification: Performance of SimCode: time 2.856e-06/0.5258, allocations: 0 / 385.4 MB, free: 49.4 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09621/0.622, allocations: 25.08 MB / 410.4 MB, free: 31.7 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.68/19.3, allocations: 7.781 kB / 410.5 MB, free: 31.69 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches