Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001079/0.001079, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001477/0.001477, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 63.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.23, allocations: 50.54 MB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005208/0.2352, allocations: 4.947 MB / 413.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.2371, allocations: 1.316 MB / 415 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.2373, allocations: 11.94 kB / 415 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.2377, allocations: 166.6 kB / 415.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005098/0.2382, allocations: 329.2 kB / 415.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/0.2386, allocations: 227.6 kB / 415.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009722/0.2396, allocations: 1.153 MB / 416.9 MB, free: 9.375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004062/0.24, allocations: 338 kB / 417.2 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003801/0.2404, allocations: 446.4 kB / 417.7 MB, free: 8.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005046/0.2409, allocations: 0.4941 MB / 418.2 MB, free: 8.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.2411, allocations: 100 kB / 418.3 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.2412, allocations: 104 kB / 418.4 MB, free: 7.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.2414, allocations: 223.2 kB / 418.6 MB, free: 7.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004425/0.2418, allocations: 0.5133 MB / 419.1 MB, free: 7.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.2428, allocations: 1.182 MB / 420.3 MB, free: 5.973 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2428, allocations: 4 kB / 420.3 MB, free: 5.969 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2429, allocations: 3.938 kB / 420.3 MB, free: 5.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.2429, allocations: 0 / 420.3 MB, free: 5.965 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.002114/0.245, allocations: 1.344 MB / 421.6 MB, free: 4.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.245, allocations: 12.03 kB / 421.6 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001567/0.2452, allocations: 119.9 kB / 421.7 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.2454, allocations: 116.3 kB / 421.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007396/0.2461, allocations: 0.5557 MB / 422.4 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.2463, allocations: 142.9 kB / 422.6 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.209e-05/0.2464, allocations: 64.38 kB / 422.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.2477, allocations: 0.8626 MB / 423.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.2477, allocations: 0 / 423.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.955e-05/0.2478, allocations: 32 kB / 423.5 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.2478, allocations: 16 kB / 423.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.2489, allocations: 0.5595 MB / 424.1 MB, free: 1.91 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.003062/0.252, allocations: 2.136 MB / 426.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.2536, allocations: 0.9631 MB / 427.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006345/0.2543, allocations: 370.7 kB / 427.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.594e-05/0.2543, allocations: 8.656 kB / 427.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.2544, allocations: 51.16 kB / 427.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.924e-06/0.2544, allocations: 0 / 427.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004559/0.259, allocations: 1.75 MB / 429.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003271/0.2593, allocations: 0.8234 MB / 430.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006873/0.26, allocations: 0.6411 MB / 430.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.2601, allocations: 41.7 kB / 430.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.2604, allocations: 337.4 kB / 431.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.2606, allocations: 273.6 kB / 431.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.2608, allocations: 138.8 kB / 431.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2609, allocations: 390.7 kB / 432 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/0.2615, allocations: 249.9 kB / 432.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000753/0.2622, allocations: 0.5273 MB / 432.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.2633, allocations: 0.6349 MB / 433.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2633, allocations: 0 / 433.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002315/0.2656, allocations: 1.056 MB / 434.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.017e-05/0.2657, allocations: 85.11 kB / 434.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.2657, allocations: 0 / 434.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006675/0.2664, allocations: 239.2 kB / 434.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005538/0.2669, allocations: 123.8 kB / 434.9 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007485/0.2744, allocations: 6.948 MB / 441.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008391/0.2753, allocations: 95.52 kB / 441.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/0.2754, allocations: 24 kB / 441.9 MB, free: 14.79 MB / 366.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.0003377/0.2757, allocations: 217.7 kB / 442.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.2759, allocations: 95.41 kB / 442.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.276, allocations: 95.34 kB / 442.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.2761, allocations: 8 kB / 442.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.2761, allocations: 0 / 442.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002167/0.2782, allocations: 1.182 MB / 443.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003448/0.2817, allocations: 1.878 MB / 445.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.2817, allocations: 4 kB / 445.4 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000604/0.2823, allocations: 127.9 kB / 445.5 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005283/0.2829, allocations: 198.5 kB / 445.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.594e-05/0.2829, allocations: 19.98 kB / 445.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005714/0.2887, allocations: 5.315 MB / 451.1 MB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2887, allocations: 3.938 kB / 451.1 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/0.2915, allocations: 1.317 MB / 452.4 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004263/0.292, allocations: 252.3 kB / 452.6 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.2921, allocations: 19.94 kB / 452.7 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006329/0.2928, allocations: 39.91 kB / 452.7 MB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.2929, allocations: 64.58 kB / 452.8 MB, free: 3.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-05/0.293, allocations: 19.98 kB / 452.8 MB, free: 3.281 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005306/0.2935, allocations: 455.1 kB / 453.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2935, allocations: 0 / 453.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008302/0.2944, allocations: 283.8 kB / 453.5 MB, free: 2.566 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.003064/0.2974, allocations: 1.895 MB / 455.4 MB, free: 0.625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001993/0.2994, allocations: 1.293 MB / 456.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.2995, allocations: 0 / 456.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009276/0.3004, allocations: 0.691 MB / 457.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009669/0.3014, allocations: 239.1 kB / 457.6 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/0.3135, allocations: 7.447 MB / 465.1 MB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.3141, allocations: 0.9439 MB / 466 MB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004341/0.3145, allocations: 106.4 kB / 466.1 MB, free: 5.559 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003812/0.3149, allocations: 295.3 kB / 466.4 MB, free: 5.27 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3149, allocations: 0 / 466.4 MB, free: 5.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06046/0.3754, allocations: 25.43 MB / 491.8 MB, free: 12.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.65, allocations: 11.64 kB / 491.8 MB, free: 12.22 MB / 414.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches