Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.ParallelCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_0_0_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.001127/0.001127, allocations: 108 kB / 17.06 MB, free: 6.02 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.001178/0.001178, allocations: 191 kB / 18 MB, free: 5.102 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.292/1.292, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 47.92 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2423, allocations: 49.43 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005971/0.2483, allocations: 4.946 MB / 405.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.2506, allocations: 1.277 MB / 406.5 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000322/0.2509, allocations: 11.94 kB / 406.5 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004116/0.2514, allocations: 166.6 kB / 406.6 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006025/0.252, allocations: 329.2 kB / 407 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.2524, allocations: 219.6 kB / 407.2 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001079/0.2535, allocations: 1.174 MB / 408.3 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004433/0.254, allocations: 330 kB / 408.7 MB, free: 328 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004687/0.2544, allocations: 446.5 kB / 409.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005377/0.255, allocations: 0.4941 MB / 409.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.2551, allocations: 100 kB / 409.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.2553, allocations: 104 kB / 409.8 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.2555, allocations: 231.2 kB / 410 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004532/0.2559, allocations: 0.5094 MB / 410.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.2571, allocations: 1.182 MB / 411.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2571, allocations: 3.938 kB / 411.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2571, allocations: 0 / 411.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.2571, allocations: 0 / 411.7 MB, free: 13.26 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002246/0.2594, allocations: 1.34 MB / 413.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.2594, allocations: 12.03 kB / 413.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001697/0.2596, allocations: 123.8 kB / 413.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.2598, allocations: 112.3 kB / 413.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008319/0.2606, allocations: 0.5558 MB / 413.8 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001967/0.2608, allocations: 143 kB / 414 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.675e-05/0.2609, allocations: 68.31 kB / 414.1 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.2623, allocations: 0.8704 MB / 414.9 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.2624, allocations: 0 / 414.9 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/0.2624, allocations: 28 kB / 415 MB, free: 9.777 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.2625, allocations: 16 kB / 415 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.2637, allocations: 0.5595 MB / 415.5 MB, free: 9.203 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.003282/0.267, allocations: 2.147 MB / 417.7 MB, free: 6.953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.2688, allocations: 0.9611 MB / 418.6 MB, free: 5.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006811/0.2694, allocations: 375 kB / 419 MB, free: 5.559 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.972e-05/0.2695, allocations: 12.72 kB / 419 MB, free: 5.547 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.2696, allocations: 59.14 kB / 419.1 MB, free: 5.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 3.396e-06/0.2696, allocations: 112 / 419.1 MB, free: 5.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004847/0.2744, allocations: 1.742 MB / 420.8 MB, free: 3.645 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003618/0.2748, allocations: 0.8273 MB / 421.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007732/0.2756, allocations: 0.641 MB / 422.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.266e-05/0.2757, allocations: 45.7 kB / 422.3 MB, free: 1.922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.2759, allocations: 337.4 kB / 422.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.2761, allocations: 277.6 kB / 422.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002403/0.2764, allocations: 142.7 kB / 423.1 MB, free: 1.168 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.2766, allocations: 386.7 kB / 423.4 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/0.2771, allocations: 249.9 kB / 423.7 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007915/0.2779, allocations: 0.5195 MB / 424.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.2791, allocations: 0.6387 MB / 424.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2791, allocations: 0 / 424.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002444/0.2815, allocations: 1.052 MB / 425.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.939e-05/0.2816, allocations: 89.11 kB / 426 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2816, allocations: 3.984 kB / 426 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006945/0.2823, allocations: 227.3 kB / 426.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005712/0.2829, allocations: 131.8 kB / 426.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007851/0.2908, allocations: 6.935 MB / 433.3 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008588/0.2916, allocations: 95.7 kB / 433.4 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-05/0.2917, allocations: 24 kB / 433.4 MB, free: 6.074 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 (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.0003417/0.2921, allocations: 221.7 kB / 433.6 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.2922, allocations: 95.42 kB / 433.7 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.2924, allocations: 91.34 kB / 433.8 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.2924, allocations: 8 kB / 433.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2924, allocations: 0 / 433.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002229/0.2947, allocations: 1.182 MB / 435 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003562/0.2982, allocations: 1.875 MB / 436.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.2983, allocations: 4.062 kB / 436.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006194/0.2989, allocations: 123.9 kB / 437 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005478/0.2994, allocations: 206.5 kB / 437.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.407e-05/0.2995, allocations: 15.94 kB / 437.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006056/0.3056, allocations: 5.311 MB / 442.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3056, allocations: 3.938 kB / 442.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002969/0.3086, allocations: 1.313 MB / 443.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003671/0.3089, allocations: 248.3 kB / 444.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.3091, allocations: 20 kB / 444.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00061/0.3097, allocations: 39.84 kB / 444.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.3099, allocations: 64.58 kB / 444.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.3099, allocations: 19.98 kB / 444.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005326/0.3104, allocations: 463 kB / 444.7 MB, free: 10.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3104, allocations: 0 / 444.7 MB, free: 10.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008629/0.3113, allocations: 283.8 kB / 444.9 MB, free: 9.852 MB / 366.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.003225/0.3145, allocations: 1.892 MB / 446.8 MB, free: 7.914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002009/0.3166, allocations: 1.301 MB / 448.1 MB, free: 6.527 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.3166, allocations: 4 kB / 448.1 MB, free: 6.523 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009759/0.3176, allocations: 0.6871 MB / 448.8 MB, free: 5.797 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.3186, allocations: 239.4 kB / 449.1 MB, free: 5.562 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.3305, allocations: 7.44 MB / 456.5 MB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000496/0.3311, allocations: 0.944 MB / 457.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004173/0.3315, allocations: 106.4 kB / 457.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003911/0.3319, allocations: 295.3 kB / 457.8 MB, free: 12.55 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3319, allocations: 0 / 457.8 MB, free: 12.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05874/0.3906, allocations: 25.43 MB / 483.3 MB, free: 3.551 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/12.99, allocations: 16.52 kB / 483.3 MB, free: 3.535 MB / 398.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches