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.001073/0.001073, allocations: 107.3 kB / 16.92 MB, free: 6.117 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.001021/0.001022, allocations: 191.3 kB / 17.85 MB, free: 5.277 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.28/1.28, allocations: 222.9 MB / 241.5 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009633/0.0009634, allocations: 41.36 kB / 300.7 MB, free: 5.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07877/0.07975, allocations: 49.45 MB / 350.2 MB, free: 4.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005423/0.0852, allocations: 4.928 MB / 355.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.08712, allocations: 1.277 MB / 356.4 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000229/0.08736, allocations: 8 kB / 356.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003719/0.08775, allocations: 162.6 kB / 356.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005353/0.0883, allocations: 321.2 kB / 356.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.08869, allocations: 223.6 kB / 357.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009859/0.08968, allocations: 1.16 MB / 358.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004205/0.09011, allocations: 325.9 kB / 358.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003954/0.09052, allocations: 446.5 kB / 359 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005078/0.09103, allocations: 0.494 MB / 359.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.09118, allocations: 107.9 kB / 359.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.09135, allocations: 104 kB / 359.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.09153, allocations: 223.3 kB / 359.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004181/0.09195, allocations: 0.5133 MB / 360.4 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008909/0.09285, allocations: 1.156 MB / 361.6 MB, free: 8.824 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.09286, allocations: 4 kB / 361.6 MB, free: 8.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09287, allocations: 0 / 361.6 MB, free: 8.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.09289, allocations: 0 / 361.6 MB, free: 8.82 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002041/0.09493, allocations: 1.31 MB / 362.9 MB, free: 7.441 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.09498, allocations: 12.03 kB / 362.9 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001615/0.09515, allocations: 119.8 kB / 363 MB, free: 7.301 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.09531, allocations: 111.8 kB / 363.1 MB, free: 7.191 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000685/0.096, allocations: 0.5551 MB / 363.7 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/0.09623, allocations: 155 kB / 363.8 MB, free: 6.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.734e-05/0.09633, allocations: 64.38 kB / 363.9 MB, free: 6.367 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.09755, allocations: 0.8553 MB / 364.8 MB, free: 5.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.09758, allocations: 4 kB / 364.8 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.493e-05/0.09765, allocations: 28 kB / 364.8 MB, free: 5.379 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.09767, allocations: 12 kB / 364.8 MB, free: 5.367 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.09882, allocations: 0.575 MB / 365.4 MB, free: 4.793 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.0031/0.1019, allocations: 2.143 MB / 367.5 MB, free: 2.543 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.1036, allocations: 0.9568 MB / 368.5 MB, free: 1.523 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006955/0.1044, allocations: 379 kB / 368.8 MB, free: 1.148 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.807e-05/0.1044, allocations: 12.72 kB / 368.9 MB, free: 1.137 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.1045, allocations: 55.16 kB / 368.9 MB, free: 1.074 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 1.853e-06/0.1045, allocations: 0 / 368.9 MB, free: 1.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.1359/0.2404, allocations: 1.731 MB / 370.6 MB, free: 25.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.2405, allocations: 0.8223 MB / 371.5 MB, free: 24.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007743/0.2413, allocations: 0.6354 MB / 372.1 MB, free: 24.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.365e-05/0.2414, allocations: 46.66 kB / 372.1 MB, free: 24.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.2416, allocations: 338.7 kB / 372.5 MB, free: 23.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.2418, allocations: 258.6 kB / 372.7 MB, free: 23.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.242, allocations: 147.4 kB / 372.9 MB, free: 23.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.2421, allocations: 389.4 kB / 373.2 MB, free: 23.53 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005208/0.2426, allocations: 245.2 kB / 373.5 MB, free: 23.44 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000687/0.2433, allocations: 0.5287 MB / 374 MB, free: 23.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.2444, allocations: 0.6369 MB / 374.7 MB, free: 22.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2444, allocations: 0 / 374.7 MB, free: 22.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002243/0.2467, allocations: 1.05 MB / 375.7 MB, free: 22.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.414e-05/0.2467, allocations: 84.86 kB / 375.8 MB, free: 22.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.2468, allocations: 2.234 kB / 375.8 MB, free: 22.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006808/0.2474, allocations: 234.1 kB / 376 MB, free: 22.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005509/0.248, allocations: 132 kB / 376.1 MB, free: 22.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006221/0.2542, allocations: 6.934 MB / 383.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007498/0.255, allocations: 88.91 kB / 383.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.2551, allocations: 22.89 kB / 383.2 MB, free: 15.72 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.0002697/0.2553, allocations: 221 kB / 383.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.2555, allocations: 88.56 kB / 383.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.2556, allocations: 96.59 kB / 383.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2556, allocations: 6.469 kB / 383.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.2557, allocations: 1.688 kB / 383.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002007/0.2577, allocations: 1.184 MB / 384.8 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003251/0.2609, allocations: 1.877 MB / 386.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.261, allocations: 0 / 386.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005834/0.2615, allocations: 132.7 kB / 386.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005064/0.2621, allocations: 192.8 kB / 387 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/0.2621, allocations: 19.69 kB / 387 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004979/0.2671, allocations: 5.318 MB / 392.3 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2671, allocations: 1.125 kB / 392.3 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002805/0.2699, allocations: 1.311 MB / 393.6 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/0.2703, allocations: 236.2 kB / 393.9 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.2704, allocations: 20.56 kB / 393.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006008/0.271, allocations: 43.08 kB / 393.9 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.2712, allocations: 67.77 kB / 394 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/0.2712, allocations: 18.39 kB / 394 MB, free: 8.023 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004956/0.2717, allocations: 458.2 kB / 394.4 MB, free: 7.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2718, allocations: 0 / 394.4 MB, free: 7.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008465/0.2726, allocations: 284.9 kB / 394.7 MB, free: 7.777 MB / 302.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.002811/0.2754, allocations: 1.895 MB / 396.6 MB, free: 6.617 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.2774, allocations: 1.325 MB / 397.9 MB, free: 5.727 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2774, allocations: 0 / 397.9 MB, free: 5.727 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007475/0.2781, allocations: 0.6926 MB / 398.6 MB, free: 5.258 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009094/0.2791, allocations: 241.6 kB / 398.9 MB, free: 5.152 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.2894, allocations: 7.9 MB / 406.8 MB, free: 15.33 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005115/0.2899, allocations: 0.944 MB / 407.7 MB, free: 14.36 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004516/0.2904, allocations: 98.42 kB / 407.8 MB, free: 14.26 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/0.2907, allocations: 295.3 kB / 408.1 MB, free: 13.97 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2908, allocations: 4 kB / 408.1 MB, free: 13.96 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05416/0.3449, allocations: 25.07 MB / 433.2 MB, free: 5.301 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.08, allocations: 14.89 kB / 433.2 MB, free: 5.297 MB / 334.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