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.001108/0.001108, allocations: 108.9 kB / 17.06 MB, free: 5.969 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.001045/0.001046, allocations: 200 kB / 18.01 MB, free: 5.051 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.323/1.323, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001015, allocations: 52.06 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2399, allocations: 49.44 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004385/0.2443, allocations: 3.498 MB / 403.7 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.2459, allocations: 0.9384 MB / 404.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.2461, allocations: 8 kB / 404.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.2464, allocations: 115 kB / 404.8 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004048/0.2469, allocations: 186.4 kB / 405 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.2471, allocations: 127.8 kB / 405.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000671/0.2478, allocations: 0.6323 MB / 405.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.2481, allocations: 186.9 kB / 405.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.2484, allocations: 247.1 kB / 406.1 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.2487, allocations: 270.8 kB / 406.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.397e-05/0.2488, allocations: 52 kB / 406.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.007e-05/0.2489, allocations: 56 kB / 406.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.249, allocations: 115.6 kB / 406.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003/0.2493, allocations: 298.6 kB / 406.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006803/0.25, allocations: 0.6489 MB / 407.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.25, allocations: 0 / 407.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.25, allocations: 4 kB / 407.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.25, allocations: 0 / 407.6 MB, free: 1.438 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.001417/0.2515, allocations: 0.8542 MB / 408.4 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.2515, allocations: 16.03 kB / 408.4 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/0.2516, allocations: 71.72 kB / 408.5 MB, free: 444 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.2518, allocations: 68.56 kB / 408.6 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006138/0.2524, allocations: 407.2 kB / 409 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.543e-05/0.2525, allocations: 55.27 kB / 409 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.546e-05/0.2526, allocations: 32.38 kB / 409.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007267/0.2533, allocations: 478.1 kB / 409.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.2533, allocations: 0 / 409.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.155e-05/0.2534, allocations: 16 kB / 409.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.2534, allocations: 11.94 kB / 409.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006066/0.254, allocations: 283.8 kB / 409.8 MB, free: 15.01 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.002034/0.256, allocations: 1.304 MB / 411.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.2572, allocations: 441.2 kB / 411.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.2575, allocations: 140.8 kB / 411.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.2576, allocations: 8 kB / 411.7 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.2576, allocations: 42.44 kB / 411.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.204e-06/0.2576, allocations: 4 kB / 411.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.0012/0.2588, allocations: 0.6031 MB / 412.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000189/0.259, allocations: 452.9 kB / 412.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004971/0.2595, allocations: 453.9 kB / 413.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.784e-05/0.2596, allocations: 33.7 kB / 413.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.2597, allocations: 232.7 kB / 413.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.2599, allocations: 123 kB / 413.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.26, allocations: 78.02 kB / 413.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2601, allocations: 358.8 kB / 414.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.2604, allocations: 108.5 kB / 414.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.2607, allocations: 251.2 kB / 414.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/0.2612, allocations: 285.1 kB / 414.7 MB, free: 9.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2612, allocations: 96 / 414.7 MB, free: 9.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007422/0.262, allocations: 416.6 kB / 415.1 MB, free: 9.344 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.262, allocations: 37.7 kB / 415.1 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.2621, allocations: 3.984 kB / 415.1 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001598/0.2622, allocations: 49.58 kB / 415.2 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.2626, allocations: 71.89 kB / 415.3 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/0.2651, allocations: 2.965 MB / 418.2 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004362/0.2656, allocations: 47.77 kB / 418.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.2656, allocations: 15.98 kB / 418.3 MB, free: 5.867 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.0002269/0.2659, allocations: 161.8 kB / 418.4 MB, free: 5.699 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-05/0.266, allocations: 51.72 kB / 418.5 MB, free: 5.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.525e-05/0.2661, allocations: 52.64 kB / 418.5 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.2661, allocations: 4.234 kB / 418.5 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2661, allocations: 3.984 kB / 418.6 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007334/0.2668, allocations: 0.6531 MB / 419.2 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.2682, allocations: 0.9049 MB / 420.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2682, allocations: 0 / 420.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003466/0.2686, allocations: 63.95 kB / 420.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.2686, allocations: 4 kB / 420.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.2686, allocations: 4 kB / 420.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.2686, allocations: 4 kB / 420.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2686, allocations: 11.88 kB / 420.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008458/0.2695, allocations: 0.5205 MB / 420.7 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/0.2697, allocations: 168.7 kB / 420.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.391e-05/0.2698, allocations: 8 kB / 420.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.2701, allocations: 20.05 kB / 420.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.2702, allocations: 19.97 kB / 420.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.2702, allocations: 4 kB / 420.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000413/0.2706, allocations: 327.1 kB / 421.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2706, allocations: 0 / 421.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000479/0.2711, allocations: 131.9 kB / 421.4 MB, free: 2.562 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.001182/0.2723, allocations: 1.069 MB / 422.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009402/0.2733, allocations: 0.5593 MB / 423 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.2733, allocations: 4 kB / 423 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.2735, allocations: 132 kB / 423.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007024/0.2742, allocations: 141.7 kB / 423.3 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005801/0.2801, allocations: 4.254 MB / 427.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.2805, allocations: 0.8237 MB / 428.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002626/0.2807, allocations: 56.36 kB / 428.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.281, allocations: 163.4 kB / 428.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.281, allocations: 0 / 428.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03676/0.3177, allocations: 12.74 MB / 441.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.03, allocations: 8.047 kB / 441.3 MB, free: 14.71 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