Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",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.001037/0.001041, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.00101/0.00101, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.283/1.283, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009297/0.0009298, allocations: 49.88 kB / 300.7 MB, free: 5.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08194/0.08288, allocations: 49.44 MB / 350.2 MB, free: 4.352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004237/0.08716, allocations: 3.481 MB / 353.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.08857, allocations: 0.9423 MB / 354.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.08875, allocations: 8 kB / 354.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.08906, allocations: 111.1 kB / 354.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.08941, allocations: 186.4 kB / 354.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.08965, allocations: 119.8 kB / 355 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005843/0.09025, allocations: 0.6445 MB / 355.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002728/0.09053, allocations: 187.1 kB / 355.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.09075, allocations: 243.1 kB / 356.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.09106, allocations: 274.8 kB / 356.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.474e-05/0.09115, allocations: 56 kB / 356.4 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-05/0.09125, allocations: 52 kB / 356.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.134e-05/0.09135, allocations: 115.6 kB / 356.6 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.09161, allocations: 290.6 kB / 356.8 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005073/0.09212, allocations: 0.6307 MB / 357.5 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.09213, allocations: 4 kB / 357.5 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.09214, allocations: 0 / 357.5 MB, free: 13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.09215, allocations: 0 / 357.5 MB, free: 13 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001269/0.09343, allocations: 0.8466 MB / 358.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.09347, allocations: 8.031 kB / 358.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.09359, allocations: 79.72 kB / 358.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.0937, allocations: 60.28 kB / 358.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000472/0.09417, allocations: 399 kB / 358.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.126e-05/0.09427, allocations: 55.27 kB / 358.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.09433, allocations: 32.38 kB / 358.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006591/0.095, allocations: 474 kB / 359.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.09503, allocations: 7.844 kB / 359.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.09508, allocations: 20 kB / 359.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.09509, allocations: 8 kB / 359.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005538/0.09565, allocations: 283.8 kB / 359.7 MB, free: 10.58 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.001955/0.09762, allocations: 1.316 MB / 361 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.09876, allocations: 441.6 kB / 361.5 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.09903, allocations: 136.8 kB / 361.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.09907, allocations: 8 kB / 361.6 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.0991, allocations: 38.56 kB / 361.6 MB, free: 8.523 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.543e-06/0.09911, allocations: 0 / 361.6 MB, free: 8.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001113/0.1002, allocations: 0.6067 MB / 362.2 MB, free: 7.867 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001656/0.1004, allocations: 452.9 kB / 362.7 MB, free: 7.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/0.1009, allocations: 446.1 kB / 363.1 MB, free: 6.871 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.1009, allocations: 37.64 kB / 363.2 MB, free: 6.828 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.1011, allocations: 240.3 kB / 363.4 MB, free: 6.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.252e-05/0.1012, allocations: 110.4 kB / 363.5 MB, free: 6.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.1013, allocations: 74.02 kB / 363.6 MB, free: 6.402 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1015, allocations: 358.8 kB / 363.9 MB, free: 6.043 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.1017, allocations: 104.6 kB / 364 MB, free: 5.941 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.102, allocations: 259.5 kB / 364.3 MB, free: 5.641 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004563/0.1025, allocations: 284.9 kB / 364.6 MB, free: 5.352 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1025, allocations: 0 / 364.6 MB, free: 5.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006724/0.1032, allocations: 416.3 kB / 365 MB, free: 4.926 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.1032, allocations: 40.66 kB / 365 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1032, allocations: 0 / 365 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.1034, allocations: 53.67 kB / 365.1 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.1037, allocations: 67.89 kB / 365.1 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/0.1061, allocations: 2.961 MB / 368.1 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.1064, allocations: 43.72 kB / 368.1 MB, free: 1.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.1064, allocations: 15.98 kB / 368.1 MB, free: 1.457 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001839/0.1066, allocations: 169.7 kB / 368.3 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.007e-05/0.1067, allocations: 47.44 kB / 368.4 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.918e-05/0.1068, allocations: 52.64 kB / 368.4 MB, free: 1.184 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1068, allocations: 7.984 kB / 368.4 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.1068, allocations: 0 / 368.4 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006471/0.1075, allocations: 0.6493 MB / 369.1 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1323/0.2398, allocations: 0.9004 MB / 370 MB, free: 25.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2399, allocations: 0 / 370 MB, free: 25.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/0.2403, allocations: 68.08 kB / 370 MB, free: 25.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.2403, allocations: 3.125 kB / 370 MB, free: 25.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.2403, allocations: 9.578 kB / 370 MB, free: 25.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.2403, allocations: 2.25 kB / 370 MB, free: 25.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2403, allocations: 1.531 kB / 370 MB, free: 25.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007953/0.2411, allocations: 0.5204 MB / 370.6 MB, free: 25.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.2413, allocations: 165.7 kB / 370.7 MB, free: 25.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.421e-05/0.2414, allocations: 10.2 kB / 370.7 MB, free: 25.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.2417, allocations: 14.28 kB / 370.8 MB, free: 25.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.2418, allocations: 20.69 kB / 370.8 MB, free: 25.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.2418, allocations: 9.984 kB / 370.8 MB, free: 25.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000341/0.2421, allocations: 323.2 kB / 371.1 MB, free: 25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2422, allocations: 0 / 371.1 MB, free: 25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004576/0.2426, allocations: 131.7 kB / 371.2 MB, free: 25 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009448/0.2436, allocations: 1.076 MB / 372.3 MB, free: 24.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008541/0.2444, allocations: 0.5771 MB / 372.9 MB, free: 24.05 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2444, allocations: 4.344 kB / 372.9 MB, free: 24.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.2447, allocations: 121.7 kB / 373 MB, free: 24.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006693/0.2454, allocations: 132.7 kB / 373.1 MB, free: 24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004864/0.2503, allocations: 4.397 MB / 377.5 MB, free: 21.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.2505, allocations: 0.8214 MB / 378.4 MB, free: 20.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002638/0.2508, allocations: 61.98 kB / 378.4 MB, free: 20.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.251, allocations: 162 kB / 378.6 MB, free: 20.62 MB / 302.1 MB Notification: Performance of SimCode: time 3.8e-07/0.251, allocations: 0 / 378.6 MB, free: 20.62 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03858/0.2896, allocations: 12.54 MB / 391.1 MB, free: 16.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.31, allocations: 9.781 kB / 391.1 MB, free: 16.32 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_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_SimpleCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches