Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",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.001066/0.001071, allocations: 102.6 kB / 16.92 MB, free: 6.184 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.001037/0.001037, allocations: 191.3 kB / 17.85 MB, free: 5.32 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.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009802/0.0009802, allocations: 50.84 kB / 300.7 MB, free: 5.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08066/0.08166, allocations: 49.45 MB / 350.2 MB, free: 4.316 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006271/0.08797, allocations: 5.608 MB / 355.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002331/0.09034, allocations: 1.414 MB / 357.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003284/0.09068, allocations: 11.94 kB / 357.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004596/0.09119, allocations: 198.3 kB / 357.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006436/0.09184, allocations: 392.6 kB / 357.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.09229, allocations: 255.6 kB / 358 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.09352, allocations: 1.358 MB / 359.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005468/0.09408, allocations: 415.1 kB / 359.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006015/0.0947, allocations: 0.5099 MB / 360.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006386/0.09534, allocations: 0.5757 MB / 360.9 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.09553, allocations: 116 kB / 361 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.09576, allocations: 120 kB / 361.1 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002497/0.09601, allocations: 271 kB / 361.4 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006349/0.09666, allocations: 0.6066 MB / 362 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.09803, allocations: 1.382 MB / 363.4 MB, free: 7.039 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.09804, allocations: 0 / 363.4 MB, free: 7.039 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.09806, allocations: 4 kB / 363.4 MB, free: 7.035 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.06e-05/0.09808, allocations: 0 / 363.4 MB, free: 7.035 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002624/0.1007, allocations: 1.485 MB / 364.8 MB, free: 5.477 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.1008, allocations: 15.89 kB / 364.9 MB, free: 5.461 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002213/0.101, allocations: 132.6 kB / 365 MB, free: 5.324 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.1012, allocations: 127.5 kB / 365.1 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000938/0.1022, allocations: 0.6265 MB / 365.7 MB, free: 4.531 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002057/0.1024, allocations: 151.6 kB / 365.9 MB, free: 4.363 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.937e-05/0.1025, allocations: 76.38 kB / 366 MB, free: 4.289 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.1039, allocations: 0.9744 MB / 366.9 MB, free: 3.199 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.104, allocations: 4 kB / 366.9 MB, free: 3.195 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.666e-05/0.1041, allocations: 40 kB / 367 MB, free: 3.156 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.1041, allocations: 16 kB / 367 MB, free: 3.141 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.1053, allocations: 0.6246 MB / 367.6 MB, free: 2.516 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.1425/0.2479, allocations: 2.669 MB / 370.3 MB, free: 24.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002675/0.2506, allocations: 0.8589 MB / 371.1 MB, free: 24.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006962/0.2513, allocations: 358.2 kB / 371.5 MB, free: 24.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.042e-05/0.2514, allocations: 14.77 kB / 371.5 MB, free: 24.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.2514, allocations: 50.62 kB / 371.6 MB, free: 24.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.485e-06/0.2514, allocations: 3.828 kB / 371.6 MB, free: 24.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002452/0.2539, allocations: 1.402 MB / 373 MB, free: 23.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/0.254, allocations: 0.9516 MB / 373.9 MB, free: 22.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008467/0.2549, allocations: 0.7911 MB / 374.7 MB, free: 22.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/0.255, allocations: 45.95 kB / 374.8 MB, free: 22.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.2552, allocations: 413.9 kB / 375.2 MB, free: 22.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.2553, allocations: 252.2 kB / 375.4 MB, free: 21.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/0.2556, allocations: 160 kB / 375.6 MB, free: 21.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.532e-05/0.2556, allocations: 332.7 kB / 375.9 MB, free: 21.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005137/0.2562, allocations: 255 kB / 376.1 MB, free: 21.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006984/0.2569, allocations: 0.5876 MB / 376.7 MB, free: 21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.2579, allocations: 0.6675 MB / 377.4 MB, free: 20.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2579, allocations: 1.031 kB / 377.4 MB, free: 20.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001515/0.2595, allocations: 0.9503 MB / 378.3 MB, free: 20.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.2595, allocations: 86.16 kB / 378.4 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.2595, allocations: 1.438 kB / 378.4 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002913/0.2598, allocations: 126.6 kB / 378.6 MB, free: 19.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/0.2605, allocations: 156 kB / 378.7 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003831/0.2643, allocations: 7.331 MB / 386 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000857/0.2652, allocations: 106.7 kB / 386.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/0.2653, allocations: 23.3 kB / 386.2 MB, free: 12.65 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003125/0.2656, allocations: 241.5 kB / 386.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.2657, allocations: 104.7 kB / 386.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/0.2659, allocations: 99.03 kB / 386.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.2659, allocations: 8.031 kB / 386.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.2659, allocations: 0 / 386.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001169/0.2671, allocations: 0.9724 MB / 387.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/0.2696, allocations: 1.752 MB / 389.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2696, allocations: 3.938 kB / 389.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007103/0.2703, allocations: 156.7 kB / 389.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.413e-05/0.2704, allocations: 33.77 kB / 389.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.017e-05/0.2705, allocations: 14.53 kB / 389.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005805/0.271, allocations: 1.406 MB / 390.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2711, allocations: 0 / 390.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.2728, allocations: 1.081 MB / 392 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.2731, allocations: 261.1 kB / 392.3 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.2732, allocations: 19.59 kB / 392.3 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000649/0.2739, allocations: 40.86 kB / 392.3 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.993e-05/0.274, allocations: 44.72 kB / 392.4 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.274, allocations: 23.17 kB / 392.4 MB, free: 8.473 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006433/0.2747, allocations: 0.5449 MB / 392.9 MB, free: 8.238 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2747, allocations: 0 / 392.9 MB, free: 8.238 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007452/0.2754, allocations: 297.4 kB / 393.2 MB, free: 8.191 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00202/0.2775, allocations: 1.65 MB / 394.9 MB, free: 7.125 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002028/0.2795, allocations: 1.43 MB / 396.3 MB, free: 6.125 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2795, allocations: 2.406 kB / 396.3 MB, free: 6.125 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005801/0.2801, allocations: 422.9 kB / 396.7 MB, free: 5.914 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.2812, allocations: 276.8 kB / 397 MB, free: 5.809 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009123/0.2903, allocations: 8.507 MB / 405.5 MB, free: 264 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004553/0.2908, allocations: 0.9836 MB / 406.5 MB, free: 15.24 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005324/0.2913, allocations: 127.5 kB / 406.6 MB, free: 15.11 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004312/0.2918, allocations: 355.3 kB / 407 MB, free: 14.77 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2918, allocations: 0 / 407 MB, free: 14.77 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0548/0.3466, allocations: 25.89 MB / 432.9 MB, free: 5.355 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.48, allocations: 10.33 kB / 432.9 MB, free: 5.352 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches