Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.PumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_0_0_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.001093/0.001094, allocations: 109.9 kB / 17.06 MB, free: 5.82 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.001097/0.001097, allocations: 195.9 kB / 18 MB, free: 4.965 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.293/1.293, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009555/0.0009555, allocations: 48.02 kB / 350.8 MB, free: 3.793 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2292, allocations: 49.44 MB / 400.2 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004342/0.2336, allocations: 3.752 MB / 404 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.2352, allocations: 0.9889 MB / 405 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.2354, allocations: 11.94 kB / 405 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.2357, allocations: 119 kB / 405.1 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003926/0.2361, allocations: 206.3 kB / 405.3 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.2364, allocations: 139.8 kB / 405.4 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006485/0.237, allocations: 0.7042 MB / 406.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002854/0.2373, allocations: 198.8 kB / 406.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.2376, allocations: 271 kB / 406.6 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/0.2379, allocations: 306.7 kB / 406.9 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.729e-05/0.238, allocations: 63.94 kB / 407 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.358e-05/0.2381, allocations: 60 kB / 407 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.2382, allocations: 127.6 kB / 407.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002904/0.2385, allocations: 322.5 kB / 407.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006543/0.2392, allocations: 0.715 MB / 408.2 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2392, allocations: 0 / 408.2 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2392, allocations: 4 kB / 408.2 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.2392, allocations: 0 / 408.2 MB, free: 0.9922 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001552/0.2408, allocations: 0.9431 MB / 409.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2408, allocations: 8.031 kB / 409.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.2409, allocations: 75.67 kB / 409.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.241, allocations: 72.52 kB / 409.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000723/0.2418, allocations: 451.1 kB / 409.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.2419, allocations: 63.27 kB / 409.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.484e-05/0.242, allocations: 44.31 kB / 409.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008648/0.2428, allocations: 0.5059 MB / 410.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.2429, allocations: 3.938 kB / 410.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.001e-05/0.2429, allocations: 23.98 kB / 410.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.2429, allocations: 8 kB / 410.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008318/0.2438, allocations: 355.8 kB / 410.7 MB, free: 14.3 MB / 334.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.002015/0.2458, allocations: 1.355 MB / 412.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008606/0.2467, allocations: 460.4 kB / 412.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004064/0.2471, allocations: 196.9 kB / 412.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.2471, allocations: 7.938 kB / 412.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.2472, allocations: 38.56 kB / 412.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 2.134e-06/0.2472, allocations: 0 / 412.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.001623/0.2488, allocations: 0.7508 MB / 413.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/0.249, allocations: 445 kB / 413.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005004/0.2495, allocations: 482 kB / 414.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/0.2496, allocations: 37.64 kB / 414.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.2497, allocations: 252.6 kB / 414.7 MB, free: 10 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.925e-05/0.2498, allocations: 142.8 kB / 414.8 MB, free: 9.863 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.25, allocations: 77.64 kB / 414.9 MB, free: 9.781 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2501, allocations: 362.8 kB / 415.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.2505, allocations: 139.9 kB / 415.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004861/0.251, allocations: 298.4 kB / 415.7 MB, free: 8.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007656/0.2518, allocations: 347 kB / 416 MB, free: 8.586 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2518, allocations: 0 / 416 MB, free: 8.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001041/0.2528, allocations: 0.4921 MB / 416.5 MB, free: 8.074 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.535e-05/0.2529, allocations: 29.7 kB / 416.5 MB, free: 8.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2529, allocations: 4.031 kB / 416.5 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001692/0.2531, allocations: 53.64 kB / 416.6 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.2535, allocations: 87.88 kB / 416.7 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/0.2557, allocations: 2.949 MB / 419.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/0.2562, allocations: 63.69 kB / 419.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.2563, allocations: 16 kB / 419.7 MB, free: 4.586 MB / 334.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.0002181/0.2565, allocations: 177.7 kB / 419.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.999e-05/0.2566, allocations: 59.61 kB / 419.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.2567, allocations: 60.86 kB / 420 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2567, allocations: 4.234 kB / 420 MB, free: 4.277 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.2567, allocations: 0 / 420 MB, free: 4.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009561/0.2577, allocations: 0.7463 MB / 420.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.2593, allocations: 1.05 MB / 421.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2593, allocations: 0 / 421.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004589/0.2597, allocations: 91.88 kB / 421.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2598, allocations: 0 / 421.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.2598, allocations: 4 kB / 421.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2598, allocations: 4 kB / 421.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2598, allocations: 0 / 421.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.2611, allocations: 0.6837 MB / 422.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.2613, allocations: 168.7 kB / 422.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.257e-05/0.2614, allocations: 12 kB / 422.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.2618, allocations: 27.97 kB / 422.8 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.143e-05/0.2618, allocations: 31.97 kB / 422.8 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.2619, allocations: 8 kB / 422.8 MB, free: 1.246 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003515/0.2622, allocations: 342.9 kB / 423.2 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2622, allocations: 0 / 423.2 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004322/0.2627, allocations: 143.8 kB / 423.3 MB, free: 0.7734 MB / 334.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.001594/0.2643, allocations: 1.228 MB / 424.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.2655, allocations: 0.6488 MB / 425.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2655, allocations: 0 / 425.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003935/0.2659, allocations: 179.8 kB / 425.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006707/0.2666, allocations: 153.8 kB / 425.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006681/0.2732, allocations: 4.679 MB / 430.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.2737, allocations: 0.8392 MB / 431 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002763/0.2739, allocations: 64.53 kB / 431.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.2742, allocations: 179.4 kB / 431.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2742, allocations: 0 / 431.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03683/0.311, allocations: 14 MB / 445.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.03, allocations: 0 / 445.3 MB, free: 10.91 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches