Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001309, allocations: 121.2 kB / 17.78 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001438, allocations: 199.8 kB / 18.73 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 59.89 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2468, allocations: 50.53 MB / 408.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.00461/0.2514, allocations: 3.51 MB / 412.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.2532, allocations: 0.9774 MB / 413.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001865/0.2534, allocations: 11.94 kB / 413.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.2538, allocations: 107.1 kB / 413.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.2542, allocations: 178.4 kB / 413.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.2544, allocations: 123.8 kB / 413.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007059/0.2551, allocations: 0.638 MB / 414.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003295/0.2555, allocations: 198.8 kB / 414.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/0.2558, allocations: 239.1 kB / 414.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.2561, allocations: 274.8 kB / 415 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.98e-05/0.2562, allocations: 52 kB / 415 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.421e-05/0.2563, allocations: 52 kB / 415.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.2564, allocations: 119.5 kB / 415.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002853/0.2567, allocations: 294.6 kB / 415.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007104/0.2574, allocations: 0.6488 MB / 416.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2574, allocations: 0 / 416.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2574, allocations: 0 / 416.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.2574, allocations: 4 kB / 416.1 MB, free: 10.11 MB / 334.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.001402/0.2589, allocations: 0.8581 MB / 417 MB, free: 9.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2589, allocations: 8.031 kB / 417 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.259, allocations: 79.67 kB / 417.1 MB, free: 9.098 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.2591, allocations: 68.55 kB / 417.1 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005859/0.2597, allocations: 403.3 kB / 417.5 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.812e-05/0.2598, allocations: 55.27 kB / 417.6 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.488e-05/0.2599, allocations: 36.38 kB / 417.6 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007308/0.2607, allocations: 474 kB / 418.1 MB, free: 7.984 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.2607, allocations: 0 / 418.1 MB, free: 7.984 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/0.2607, allocations: 16 kB / 418.1 MB, free: 7.969 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.2607, allocations: 8 kB / 418.1 MB, free: 7.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005741/0.2613, allocations: 283.8 kB / 418.4 MB, free: 7.684 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.002146/0.2635, allocations: 1.308 MB / 419.7 MB, free: 6.281 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.2646, allocations: 444.4 kB / 420.1 MB, free: 5.816 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.2649, allocations: 148.2 kB / 420.3 MB, free: 5.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.2649, allocations: 4 kB / 420.3 MB, free: 5.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.265, allocations: 38.56 kB / 420.3 MB, free: 5.621 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.884e-06/0.265, allocations: 0 / 420.3 MB, free: 5.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001213/0.2662, allocations: 0.6142 MB / 420.9 MB, free: 4.957 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002283/0.2664, allocations: 441 kB / 421.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005197/0.267, allocations: 453.9 kB / 421.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.267, allocations: 37.7 kB / 421.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.2672, allocations: 228.7 kB / 422.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.2673, allocations: 126.9 kB / 422.2 MB, free: 3.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.2674, allocations: 78.02 kB / 422.3 MB, free: 3.488 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.2676, allocations: 350.8 kB / 422.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.2679, allocations: 108.6 kB / 422.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/0.2682, allocations: 252.2 kB / 423 MB, free: 2.734 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004874/0.2687, allocations: 277.2 kB / 423.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2688, allocations: 0 / 423.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007243/0.2695, allocations: 420.6 kB / 423.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.2695, allocations: 33.7 kB / 423.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2695, allocations: 0 / 423.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001689/0.2697, allocations: 57.62 kB / 423.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.27, allocations: 63.91 kB / 423.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002688/0.2727, allocations: 2.969 MB / 426.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/0.2731, allocations: 47.77 kB / 426.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.2732, allocations: 12 kB / 426.8 MB, free: 14.55 MB / 350.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.0002279/0.2734, allocations: 173.3 kB / 427 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.972e-05/0.2735, allocations: 55.66 kB / 427 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.2736, allocations: 52.64 kB / 427.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.2736, allocations: 4 kB / 427.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2736, allocations: 96 / 427.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007318/0.2744, allocations: 0.6531 MB / 427.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.2757, allocations: 0.9048 MB / 428.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.2757, allocations: 4 kB / 428.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/0.2761, allocations: 75.83 kB / 428.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.2761, allocations: 0 / 428.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.2761, allocations: 4 kB / 428.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.2761, allocations: 7.984 kB / 428.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2761, allocations: 4 kB / 428.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008389/0.277, allocations: 0.5086 MB / 429.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/0.2772, allocations: 164.7 kB / 429.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.062e-05/0.2773, allocations: 8 kB / 429.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/0.2776, allocations: 19.98 kB / 429.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.2776, allocations: 20.03 kB / 429.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.2777, allocations: 15.94 kB / 429.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000371/0.278, allocations: 315.1 kB / 429.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.278, allocations: 0 / 429.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004447/0.2785, allocations: 135.9 kB / 429.9 MB, free: 11.24 MB / 350.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.001178/0.2797, allocations: 1.077 MB / 431 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009292/0.2806, allocations: 0.5634 MB / 431.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2806, allocations: 0 / 431.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.2809, allocations: 124 kB / 431.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006435/0.2815, allocations: 140.4 kB / 431.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005872/0.2874, allocations: 4.264 MB / 436.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.2879, allocations: 0.8159 MB / 436.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002444/0.2882, allocations: 64.34 kB / 437 MB, free: 3.996 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.2884, allocations: 171.3 kB / 437.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2884, allocations: 0 / 437.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04325/0.3317, allocations: 12.73 MB / 449.9 MB, free: 7.383 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.5, allocations: 0.8906 kB / 449.9 MB, free: 7.383 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches