Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001045/0.001045, allocations: 113.6 kB / 17.78 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 207.9 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 59.91 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2538, allocations: 50.55 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006363/0.2602, allocations: 5.616 MB / 414.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.2624, allocations: 1.452 MB / 415.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003017/0.2628, allocations: 16 kB / 415.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004557/0.2632, allocations: 194.3 kB / 416 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006833/0.2639, allocations: 392.7 kB / 416.4 MB, free: 9.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.2644, allocations: 263.6 kB / 416.7 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001236/0.2657, allocations: 1.363 MB / 418 MB, free: 8.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004709/0.2661, allocations: 407.1 kB / 418.4 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004433/0.2666, allocations: 0.5177 MB / 419 MB, free: 7.254 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005379/0.2671, allocations: 0.5835 MB / 419.5 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.2673, allocations: 120 kB / 419.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.2675, allocations: 120 kB / 419.8 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.2676, allocations: 251.2 kB / 420 MB, free: 6.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005069/0.2682, allocations: 0.6066 MB / 420.6 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.2694, allocations: 1.411 MB / 422 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2694, allocations: 0 / 422 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2694, allocations: 4 kB / 422 MB, free: 4.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.2694, allocations: 4 kB / 422 MB, free: 4.156 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002301/0.2717, allocations: 1.504 MB / 423.5 MB, free: 2.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.2718, allocations: 12.03 kB / 423.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001815/0.272, allocations: 136.6 kB / 423.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.2722, allocations: 136.1 kB / 423.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008925/0.2731, allocations: 0.6427 MB / 424.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.2733, allocations: 151.7 kB / 424.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.2734, allocations: 72.38 kB / 424.7 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.2748, allocations: 0.9823 MB / 425.7 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.2748, allocations: 3.938 kB / 425.7 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-05/0.2749, allocations: 40 kB / 425.7 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.2749, allocations: 20 kB / 425.7 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.2761, allocations: 0.6324 MB / 426.4 MB, free: 15.57 MB / 350.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.003634/0.2798, allocations: 2.656 MB / 429 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/0.2823, allocations: 0.8649 MB / 429.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006673/0.283, allocations: 354.7 kB / 430.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.881e-05/0.283, allocations: 20.62 kB / 430.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.2831, allocations: 47.22 kB / 430.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.034e-06/0.2831, allocations: 0 / 430.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002425/0.2855, allocations: 1.405 MB / 431.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000387/0.2859, allocations: 0.9489 MB / 432.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008905/0.2868, allocations: 0.7864 MB / 433.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.513e-05/0.2869, allocations: 45.7 kB / 433.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.2872, allocations: 420.8 kB / 433.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/0.2874, allocations: 273.7 kB / 434.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.2876, allocations: 162.6 kB / 434.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2878, allocations: 337.9 kB / 434.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005351/0.2883, allocations: 254.1 kB / 434.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008302/0.2891, allocations: 0.5849 MB / 435.5 MB, free: 5.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.2903, allocations: 0.6678 MB / 436.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2903, allocations: 0 / 436.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001679/0.292, allocations: 0.9513 MB / 437.1 MB, free: 4.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.814e-05/0.2921, allocations: 93.03 kB / 437.2 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.2921, allocations: 0 / 437.2 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003651/0.2925, allocations: 128.3 kB / 437.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007154/0.2932, allocations: 155.8 kB / 437.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005344/0.2986, allocations: 7.329 MB / 444.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000804/0.2994, allocations: 111.4 kB / 444.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.2994, allocations: 20 kB / 444.9 MB, free: 11.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003474/0.2998, allocations: 237.8 kB / 445.2 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.3, allocations: 107.3 kB / 445.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.3001, allocations: 100.9 kB / 445.4 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/0.3002, allocations: 11.98 kB / 445.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3002, allocations: 0 / 445.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00134/0.3015, allocations: 0.9738 MB / 446.3 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002719/0.3043, allocations: 1.752 MB / 448.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3043, allocations: 3.938 kB / 448.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007583/0.305, allocations: 151.8 kB / 448.3 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.685e-05/0.3051, allocations: 24.84 kB / 448.3 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.454e-05/0.3052, allocations: 19.98 kB / 448.3 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008733/0.3061, allocations: 1.407 MB / 449.7 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3061, allocations: 0 / 449.7 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.308, allocations: 1.082 MB / 450.8 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003868/0.3084, allocations: 268.2 kB / 451 MB, free: 5.016 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.3086, allocations: 19.94 kB / 451.1 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006834/0.3093, allocations: 39.97 kB / 451.1 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.92e-05/0.3094, allocations: 48.59 kB / 451.2 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.745e-05/0.3094, allocations: 19.98 kB / 451.2 MB, free: 4.887 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006536/0.3101, allocations: 0.5459 MB / 451.7 MB, free: 4.344 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.255e-06/0.3101, allocations: 0 / 451.7 MB, free: 4.344 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007511/0.3109, allocations: 295.7 kB / 452 MB, free: 4.055 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002254/0.3131, allocations: 1.664 MB / 453.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002082/0.3152, allocations: 1.397 MB / 455.1 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.3152, allocations: 4 kB / 455.1 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006696/0.3159, allocations: 414.3 kB / 455.5 MB, free: 452 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.3171, allocations: 281.7 kB / 455.8 MB, free: 176 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.3285, allocations: 7.849 MB / 463.6 MB, free: 8.133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.329, allocations: 0.9835 MB / 464.6 MB, free: 7.113 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005228/0.3296, allocations: 127.5 kB / 464.7 MB, free: 6.984 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004842/0.3301, allocations: 363.3 kB / 465.1 MB, free: 6.629 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3301, allocations: 0 / 465.1 MB, free: 6.629 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08548/0.4156, allocations: 26.26 MB / 491.3 MB, free: 12.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.42, allocations: 4.062 kB / 491.3 MB, free: 12.8 MB / 414.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches