Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_3_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.001788/0.001788, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.002347/0.002348, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.552/2.552, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.002237/0.002238, allocations: 51.94 kB / 280.8 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.175, allocations: 46.62 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.009435/0.1845, allocations: 3.485 MB / 330.9 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003932/0.1885, allocations: 0.9941 MB / 331.9 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007011/0.1893, allocations: 7.938 kB / 331.9 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007106/0.1901, allocations: 103.1 kB / 332 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.1912, allocations: 190.3 kB / 332.1 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006467/0.1919, allocations: 115.9 kB / 332.3 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001867/0.1938, allocations: 0.6341 MB / 332.9 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006488/0.1945, allocations: 190.8 kB / 333.1 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005904/0.1951, allocations: 235.1 kB / 333.3 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006444/0.1958, allocations: 278.8 kB / 333.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002088/0.196, allocations: 52 kB / 333.6 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.1962, allocations: 52 kB / 333.7 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.1964, allocations: 119.6 kB / 333.8 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006304/0.1971, allocations: 294.6 kB / 334.1 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.1984, allocations: 0.6346 MB / 334.7 MB, free: 12.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/0.1984, allocations: 4 kB / 334.7 MB, free: 12.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.1984, allocations: 0 / 334.7 MB, free: 12.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.414e-05/0.1985, allocations: 0 / 334.7 MB, free: 12.98 MB / 286.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.003539/0.202, allocations: 0.8389 MB / 335.6 MB, free: 12.08 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.584e-05/0.2022, allocations: 8.031 kB / 335.6 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003112/0.2025, allocations: 83.7 kB / 335.7 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003463/0.2028, allocations: 60.28 kB / 335.7 MB, free: 11.92 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.2041, allocations: 391 kB / 336.1 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.2043, allocations: 63.25 kB / 336.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.2045, allocations: 32.38 kB / 336.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.2059, allocations: 478 kB / 336.7 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.206, allocations: 0 / 336.7 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-05/0.2061, allocations: 20 kB / 336.7 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.2061, allocations: 8 kB / 336.7 MB, free: 10.85 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.2072, allocations: 279.8 kB / 337 MB, free: 10.57 MB / 286.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.003934/0.2111, allocations: 1.327 MB / 338.3 MB, free: 9.152 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.2131, allocations: 436.4 kB / 338.7 MB, free: 8.699 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004465/0.2135, allocations: 136.8 kB / 338.8 MB, free: 8.562 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.972e-05/0.2136, allocations: 11.98 kB / 338.9 MB, free: 8.551 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.092e-05/0.2137, allocations: 42.55 kB / 338.9 MB, free: 8.5 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 4.238e-06/0.2137, allocations: 0 / 338.9 MB, free: 8.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001974/0.2157, allocations: 0.6023 MB / 339.5 MB, free: 7.848 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00031/0.216, allocations: 448.9 kB / 339.9 MB, free: 7.305 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009899/0.217, allocations: 453.9 kB / 340.4 MB, free: 6.852 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.978e-05/0.2171, allocations: 37.7 kB / 340.4 MB, free: 6.809 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/0.2174, allocations: 232.4 kB / 340.6 MB, free: 6.578 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.2176, allocations: 110.5 kB / 340.8 MB, free: 6.469 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.2179, allocations: 73.95 kB / 340.8 MB, free: 6.391 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002542/0.2182, allocations: 358.8 kB / 341.2 MB, free: 6.031 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/0.2186, allocations: 104.6 kB / 341.3 MB, free: 5.93 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/0.2192, allocations: 252.1 kB / 341.5 MB, free: 5.633 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008186/0.22, allocations: 276.2 kB / 341.8 MB, free: 5.352 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.22, allocations: 4 kB / 341.8 MB, free: 5.348 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001231/0.2213, allocations: 420.9 kB / 342.2 MB, free: 4.918 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.77e-05/0.2214, allocations: 33.7 kB / 342.2 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.2214, allocations: 0 / 342.2 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002624/0.2217, allocations: 53.64 kB / 342.3 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005056/0.2222, allocations: 67.92 kB / 342.4 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004134/0.2263, allocations: 2.976 MB / 345.3 MB, free: 1.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006873/0.227, allocations: 47.58 kB / 345.4 MB, free: 1.453 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.016e-05/0.2271, allocations: 8 kB / 345.4 MB, free: 1.445 MB / 286.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.0004284/0.2276, allocations: 173.8 kB / 345.6 MB, free: 1.266 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.2278, allocations: 47.44 kB / 345.6 MB, free: 1.219 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.228, allocations: 56.62 kB / 345.7 MB, free: 1.164 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/0.228, allocations: 4 kB / 345.7 MB, free: 1.16 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.228, allocations: 0 / 345.7 MB, free: 1.16 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0012/0.2292, allocations: 0.6427 MB / 346.3 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/0.2318, allocations: 0.9149 MB / 347.2 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.2319, allocations: 0 / 347.2 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005463/0.2324, allocations: 75.89 kB / 347.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.2324, allocations: 3.938 kB / 347.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/0.2325, allocations: 4 kB / 347.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.2325, allocations: 4 kB / 347.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2325, allocations: 0 / 347.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.234, allocations: 0.5228 MB / 347.8 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004144/0.2345, allocations: 160.5 kB / 348 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.2347, allocations: 8 kB / 348 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005963/0.2353, allocations: 19.98 kB / 348 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.993e-05/0.2354, allocations: 15.92 kB / 348 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.2354, allocations: 12 kB / 348 MB, free: 14.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006208/0.2361, allocations: 323.2 kB / 348.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2361, allocations: 0 / 348.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008705/0.237, allocations: 135.8 kB / 348.5 MB, free: 14.13 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.001903/0.2389, allocations: 1.068 MB / 349.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.2406, allocations: 0.5786 MB / 350.1 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.2406, allocations: 0 / 350.1 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003918/0.241, allocations: 123.8 kB / 350.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.2424, allocations: 141.2 kB / 350.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.2525, allocations: 4.392 MB / 354.8 MB, free: 7.676 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000636/0.2532, allocations: 0.8159 MB / 355.6 MB, free: 6.832 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005019/0.2538, allocations: 68.28 kB / 355.7 MB, free: 6.762 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003658/0.2542, allocations: 159.4 kB / 355.8 MB, free: 6.605 MB / 302.1 MB Notification: Performance of SimCode: time 1.513e-06/0.2542, allocations: 0 / 355.8 MB, free: 6.605 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07091/0.3251, allocations: 12.53 MB / 368.4 MB, free: 9.988 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.89/18.22, allocations: 11.7 kB / 368.4 MB, free: 9.977 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches