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.001268/0.001268, allocations: 107.7 kB / 17.06 MB, free: 5.996 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.001241/0.001241, allocations: 197.3 kB / 18.01 MB, free: 5.066 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.391/1.391, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001445, allocations: 47.92 kB / 350.8 MB, free: 3.781 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2325, allocations: 49.43 MB / 400.2 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004703/0.2373, allocations: 3.496 MB / 403.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.2391, allocations: 0.9501 MB / 404.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.2393, allocations: 4 kB / 404.7 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.2396, allocations: 103.1 kB / 404.8 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003729/0.24, allocations: 190.3 kB / 405 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.2403, allocations: 119.8 kB / 405.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000752/0.2411, allocations: 0.6371 MB / 405.7 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/0.2414, allocations: 198.8 kB / 405.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.2416, allocations: 231.2 kB / 406.1 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003478/0.242, allocations: 278.8 kB / 406.4 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.514e-05/0.2421, allocations: 56 kB / 406.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.2422, allocations: 52 kB / 406.5 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.2423, allocations: 119.6 kB / 406.6 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.2426, allocations: 290.6 kB / 406.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007026/0.2433, allocations: 0.6527 MB / 407.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2433, allocations: 0 / 407.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2433, allocations: 4 kB / 407.6 MB, free: 1.477 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.2434, allocations: 0 / 407.6 MB, free: 1.477 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00139/0.2448, allocations: 0.8503 MB / 408.4 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.2448, allocations: 19.89 kB / 408.4 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/0.2449, allocations: 75.7 kB / 408.5 MB, free: 480 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.2451, allocations: 64.56 kB / 408.6 MB, free: 416 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006165/0.2457, allocations: 403.4 kB / 409 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.2458, allocations: 67.19 kB / 409 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.906e-05/0.2459, allocations: 36.38 kB / 409.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007614/0.2466, allocations: 470.1 kB / 409.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.2467, allocations: 0 / 409.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.973e-05/0.2467, allocations: 16 kB / 409.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.2467, allocations: 8 kB / 409.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005938/0.2473, allocations: 287.8 kB / 409.8 MB, free: 15.04 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.002141/0.2495, allocations: 1.301 MB / 411.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.2506, allocations: 445.2 kB / 411.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.2509, allocations: 136.8 kB / 411.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.251, allocations: 8 kB / 411.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.251, allocations: 38.56 kB / 411.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.482e-06/0.251, allocations: 0 / 411.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001233/0.2523, allocations: 0.6109 MB / 412.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002599/0.2525, allocations: 448.9 kB / 412.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005632/0.2531, allocations: 461.9 kB / 413.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.2531, allocations: 33.7 kB / 413.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.2534, allocations: 232.7 kB / 413.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.2535, allocations: 119 kB / 413.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.2536, allocations: 78.02 kB / 413.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.2538, allocations: 354.9 kB / 414.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.2541, allocations: 112.5 kB / 414.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/0.2545, allocations: 252 kB / 414.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/0.255, allocations: 281.2 kB / 414.7 MB, free: 9.809 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.255, allocations: 0 / 414.7 MB, free: 9.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007521/0.2558, allocations: 420.6 kB / 415.1 MB, free: 9.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.2558, allocations: 33.7 kB / 415.1 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.2558, allocations: 0 / 415.1 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001746/0.256, allocations: 57.58 kB / 415.2 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.2563, allocations: 63.95 kB / 415.2 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002812/0.2592, allocations: 2.969 MB / 418.2 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.2595, allocations: 55.75 kB / 418.3 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.2596, allocations: 8 kB / 418.3 MB, free: 5.906 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 (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.0002177/0.2598, allocations: 165.8 kB / 418.4 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.691e-05/0.2599, allocations: 51.72 kB / 418.5 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.877e-05/0.26, allocations: 56.62 kB / 418.5 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.26, allocations: 4 kB / 418.5 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.26, allocations: 0 / 418.5 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007747/0.2608, allocations: 0.6531 MB / 419.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.2622, allocations: 0.8893 MB / 420.1 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2622, allocations: 0 / 420.1 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000353/0.2625, allocations: 71.89 kB / 420.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.2625, allocations: 4 kB / 420.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.2626, allocations: 4 kB / 420.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.2626, allocations: 8 kB / 420.2 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2626, allocations: 0 / 420.2 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008775/0.2635, allocations: 0.5282 MB / 420.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.2637, allocations: 164.7 kB / 420.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/0.2638, allocations: 15.94 kB / 420.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.2641, allocations: 12.06 kB / 420.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.2641, allocations: 19.97 kB / 420.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.2642, allocations: 12 kB / 420.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003879/0.2645, allocations: 319.1 kB / 421.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2646, allocations: 0 / 421.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004322/0.265, allocations: 131.9 kB / 421.4 MB, free: 2.609 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 (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.001264/0.2663, allocations: 1.068 MB / 422.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009501/0.2672, allocations: 0.5671 MB / 423 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.2672, allocations: 4 kB / 423 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.2675, allocations: 128 kB / 423.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006296/0.2681, allocations: 141.8 kB / 423.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006008/0.2742, allocations: 4.258 MB / 427.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.2747, allocations: 0.8198 MB / 428.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000234/0.2749, allocations: 60.34 kB / 428.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.2751, allocations: 163.4 kB / 428.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2752, allocations: 0 / 428.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04527/0.3204, allocations: 12.73 MB / 441.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.62, allocations: 15.55 kB / 441.3 MB, free: 14.75 MB / 366.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