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.001224/0.001225, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.001258/0.001258, allocations: 184.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001253/0.001253, allocations: 59.92 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08981/0.09107, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.00727/0.09838, allocations: 4.933 MB / 379.6 MB, free: 136 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1796/0.278, allocations: 1.321 MB / 380.9 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00036/0.2784, allocations: 10.97 kB / 380.9 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004527/0.279, allocations: 167.2 kB / 381.1 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007381/0.2797, allocations: 326.7 kB / 381.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005811/0.2803, allocations: 227.4 kB / 381.6 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001283/0.2816, allocations: 1.164 MB / 382.8 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005304/0.2821, allocations: 330.4 kB / 383.1 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005649/0.2827, allocations: 447.8 kB / 383.5 MB, free: 8.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005478/0.2833, allocations: 0.4969 MB / 384 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.2834, allocations: 101.7 kB / 384.1 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.2836, allocations: 107.8 kB / 384.2 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.2838, allocations: 223.7 kB / 384.5 MB, free: 8.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004528/0.2842, allocations: 0.509 MB / 385 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.2856, allocations: 1.189 MB / 386.2 MB, free: 7.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.2856, allocations: 0 / 386.2 MB, free: 7.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2856, allocations: 1.031 kB / 386.2 MB, free: 7.426 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.754e-05/0.2856, allocations: 2.703 kB / 386.2 MB, free: 7.426 MB / 318.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.002265/0.2879, allocations: 1.335 MB / 387.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.2879, allocations: 8.844 kB / 387.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001754/0.2881, allocations: 121.3 kB / 387.6 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001974/0.2883, allocations: 116.4 kB / 387.7 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008031/0.2891, allocations: 0.5573 MB / 388.3 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/0.2893, allocations: 148.1 kB / 388.4 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.904e-05/0.2894, allocations: 62.41 kB / 388.5 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.2907, allocations: 0.8596 MB / 389.4 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.2907, allocations: 0 / 389.4 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.615e-05/0.2908, allocations: 29.41 kB / 389.4 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.2908, allocations: 18.03 kB / 389.4 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.2919, allocations: 0.5647 MB / 390 MB, free: 5.059 MB / 318.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.003106/0.295, allocations: 2.138 MB / 392.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.2967, allocations: 0.9658 MB / 393.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006796/0.2974, allocations: 372.8 kB / 393.4 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.258e-05/0.2975, allocations: 14.42 kB / 393.5 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.2975, allocations: 54.91 kB / 393.5 MB, free: 3.066 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 2.775e-06/0.2975, allocations: 9.25 kB / 393.5 MB, free: 3.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.004732/0.3023, allocations: 1.736 MB / 395.3 MB, free: 2.234 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/0.3024, allocations: 0.8231 MB / 396.1 MB, free: 1.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008079/0.3032, allocations: 0.638 MB / 396.7 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.952e-05/0.3033, allocations: 45.55 kB / 396.8 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.3036, allocations: 341.8 kB / 397.1 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.3038, allocations: 268.9 kB / 397.4 MB, free: 436 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.304, allocations: 142.7 kB / 397.5 MB, free: 364 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.3041, allocations: 388.6 kB / 397.9 MB, free: 8 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007149/0.3048, allocations: 263.9 kB / 398.1 MB, free: 0 / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.3059, allocations: 0.5484 MB / 398.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.307, allocations: 0.6296 MB / 399.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.307, allocations: 4 kB / 399.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002731/0.3097, allocations: 1.058 MB / 400.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.022e-05/0.3098, allocations: 87.92 kB / 400.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.3099, allocations: 4 kB / 400.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007712/0.3106, allocations: 233.2 kB / 400.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/0.3112, allocations: 133 kB / 400.8 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/0.3217, allocations: 6.927 MB / 407.7 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.3231, allocations: 99.48 kB / 407.8 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/0.3233, allocations: 20.47 kB / 407.9 MB, free: 8.277 MB / 334.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.000726/0.324, allocations: 228 kB / 408.1 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/0.3244, allocations: 97.88 kB / 408.2 MB, free: 8.039 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.3247, allocations: 89.69 kB / 408.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.3247, allocations: 6.562 kB / 408.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.3247, allocations: 1.094 kB / 408.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00249/0.3272, allocations: 1.191 MB / 409.5 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004364/0.3316, allocations: 1.872 MB / 411.3 MB, free: 5.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.3316, allocations: 0 / 411.3 MB, free: 5.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006331/0.3322, allocations: 128.5 kB / 411.5 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000574/0.3328, allocations: 207.2 kB / 411.7 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.855e-05/0.3329, allocations: 11.84 kB / 411.7 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007273/0.3402, allocations: 5.316 MB / 417 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3402, allocations: 1 kB / 417 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003544/0.3438, allocations: 1.315 MB / 418.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006412/0.3444, allocations: 246.6 kB / 418.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002716/0.3447, allocations: 19.38 kB / 418.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007881/0.3455, allocations: 46.75 kB / 418.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.3457, allocations: 54.89 kB / 418.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.853e-05/0.3458, allocations: 24.8 kB / 418.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006382/0.3464, allocations: 460.5 kB / 419.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3464, allocations: 0 / 419.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001156/0.3476, allocations: 283.3 kB / 419.4 MB, free: 15.21 MB / 350.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.003455/0.351, allocations: 1.895 MB / 421.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002453/0.3535, allocations: 1.296 MB / 422.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/0.3535, allocations: 1.25 kB / 422.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.3548, allocations: 0.6962 MB / 423.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.3563, allocations: 235.7 kB / 423.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/0.3704, allocations: 7.463 MB / 431 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006278/0.371, allocations: 0.9362 MB / 431.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004985/0.3715, allocations: 110.4 kB / 432 MB, free: 3.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.372, allocations: 291.3 kB / 432.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of SimCode: time 2.184e-06/0.372, allocations: 0 / 432.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0617/0.4337, allocations: 25.43 MB / 457.8 MB, free: 9.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.34, allocations: 11.8 kB / 457.8 MB, free: 9.449 MB / 382.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