Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.PumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",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.001928/0.001928, allocations: 104.9 kB / 17.58 MB, free: 5.422 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.002322/0.002322, allocations: 191.9 kB / 18.5 MB, free: 4.516 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.422/2.422, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.002417/0.002417, allocations: 52.14 kB / 280.8 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1554, allocations: 46.62 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.007466/0.163, allocations: 3.725 MB / 331.1 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.1656, allocations: 1.041 MB / 332.1 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006032/0.1663, allocations: 11.94 kB / 332.2 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005613/0.1669, allocations: 111 kB / 332.3 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.168, allocations: 202.3 kB / 332.5 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007672/0.1688, allocations: 139.8 kB / 332.6 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001564/0.1704, allocations: 0.7003 MB / 333.3 MB, free: 14.42 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000568/0.1709, allocations: 206.8 kB / 333.5 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000653/0.1716, allocations: 267 kB / 333.8 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007375/0.1724, allocations: 310.7 kB / 334.1 MB, free: 13.65 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002379/0.1726, allocations: 60 kB / 334.1 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003378/0.173, allocations: 60 kB / 334.2 MB, free: 13.53 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002553/0.1733, allocations: 135.5 kB / 334.3 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009073/0.1742, allocations: 314.5 kB / 334.6 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.1755, allocations: 0.7046 MB / 335.3 MB, free: 12.38 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1756, allocations: 0 / 335.3 MB, free: 12.38 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1756, allocations: 0 / 335.3 MB, free: 12.38 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.845e-05/0.1756, allocations: 0 / 335.3 MB, free: 12.38 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.002327/0.178, allocations: 0.917 MB / 336.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.178, allocations: 8.031 kB / 336.3 MB, free: 11.4 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000172/0.1782, allocations: 87.62 kB / 336.3 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.1784, allocations: 72.12 kB / 336.4 MB, free: 11.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.1795, allocations: 438.8 kB / 336.8 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003676/0.1799, allocations: 87.22 kB / 336.9 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.18, allocations: 36.36 kB / 337 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.1817, allocations: 0.5215 MB / 337.5 MB, free: 10.06 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.1818, allocations: 0 / 337.5 MB, free: 10.06 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.077e-05/0.1818, allocations: 16 kB / 337.5 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.1819, allocations: 12 kB / 337.5 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.1835, allocations: 379.7 kB / 337.9 MB, free: 9.664 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.004146/0.1877, allocations: 1.37 MB / 339.2 MB, free: 8.203 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.1892, allocations: 475.8 kB / 339.7 MB, free: 7.711 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007599/0.19, allocations: 200.8 kB / 339.9 MB, free: 7.512 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.779e-05/0.1901, allocations: 7.984 kB / 339.9 MB, free: 7.504 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/0.1901, allocations: 42.56 kB / 340 MB, free: 7.453 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 4.127e-06/0.1901, allocations: 0 / 340 MB, free: 7.453 MB / 286.1 MB Notification: Performance of matching and sorting (n=37): time 0.00294/0.1931, allocations: 0.7855 MB / 340.7 MB, free: 6.617 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004011/0.1935, allocations: 449 kB / 341.2 MB, free: 6.074 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.1947, allocations: 474 kB / 341.6 MB, free: 5.602 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.211e-05/0.1948, allocations: 37.7 kB / 341.7 MB, free: 5.559 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/0.1952, allocations: 252.3 kB / 341.9 MB, free: 5.309 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000207/0.1954, allocations: 130.1 kB / 342.1 MB, free: 5.18 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/0.1956, allocations: 81.64 kB / 342.1 MB, free: 5.094 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002564/0.1959, allocations: 358.8 kB / 342.5 MB, free: 4.734 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006832/0.1966, allocations: 155.8 kB / 342.6 MB, free: 4.582 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009348/0.1976, allocations: 325.2 kB / 343 MB, free: 4.215 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.199, allocations: 371 kB / 343.3 MB, free: 3.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.199, allocations: 0 / 343.3 MB, free: 3.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001919/0.201, allocations: 0.5075 MB / 343.8 MB, free: 3.312 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.969e-05/0.201, allocations: 33.7 kB / 343.9 MB, free: 3.273 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.2011, allocations: 4 kB / 343.9 MB, free: 3.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002702/0.2013, allocations: 57.59 kB / 343.9 MB, free: 3.207 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006944/0.2021, allocations: 91.88 kB / 344 MB, free: 3.117 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003915/0.206, allocations: 2.969 MB / 347 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000916/0.2069, allocations: 55.69 kB / 347 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.43e-05/0.207, allocations: 15.98 kB / 347 MB, free: 15.8 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 (39): * Single equations (assignments): 36 * 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.0005505/0.2076, allocations: 173.8 kB / 347.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002587/0.2079, allocations: 59.34 kB / 347.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.2081, allocations: 56.88 kB / 347.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.2081, allocations: 4 kB / 347.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2081, allocations: 0 / 347.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002345/0.2105, allocations: 0.7707 MB / 348.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003727/0.2142, allocations: 1.067 MB / 349.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.2143, allocations: 0 / 349.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009454/0.2152, allocations: 103.9 kB / 349.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.2153, allocations: 0 / 349.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-05/0.2153, allocations: 8 kB / 349.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.2153, allocations: 0 / 349.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2153, allocations: 0 / 349.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00287/0.2182, allocations: 0.7256 MB / 350 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004512/0.2187, allocations: 164.4 kB / 350.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.2189, allocations: 12 kB / 350.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008218/0.2197, allocations: 40.02 kB / 350.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.2199, allocations: 23.97 kB / 350.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/0.2199, allocations: 8 kB / 350.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008642/0.2208, allocations: 338.9 kB / 350.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.2208, allocations: 0 / 350.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001007/0.2219, allocations: 147.7 kB / 350.7 MB, free: 11.91 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 (37): * Single equations (assignments): 37 * 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.003574/0.2255, allocations: 1.27 MB / 352 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003023/0.2285, allocations: 0.6917 MB / 352.7 MB, free: 9.879 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.2286, allocations: 0 / 352.7 MB, free: 9.879 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000902/0.2295, allocations: 200.1 kB / 352.9 MB, free: 9.684 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/0.2314, allocations: 153.8 kB / 353 MB, free: 9.535 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/0.2461, allocations: 4.908 MB / 357.9 MB, free: 4.523 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007873/0.2469, allocations: 0.8353 MB / 358.8 MB, free: 3.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0007116/0.2477, allocations: 60.55 kB / 358.8 MB, free: 3.602 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004886/0.2482, allocations: 187.4 kB / 359 MB, free: 3.418 MB / 302.1 MB Notification: Performance of SimCode: time 1.362e-06/0.2482, allocations: 0 / 359 MB, free: 3.418 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07605/0.3243, allocations: 13.84 MB / 372.9 MB, free: 5.496 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.89/18.22, allocations: 4.969 kB / 372.9 MB, free: 5.492 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches