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.001073/0.001073, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001216/0.001216, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 59.69 kB / 307 MB, free: 0.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08715/0.08831, allocations: 50.54 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.0064/0.09475, allocations: 5.611 MB / 363.2 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002564/0.09734, allocations: 1.456 MB / 364.6 MB, free: 6.898 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005872/0.09795, allocations: 15.94 kB / 364.7 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005867/0.09858, allocations: 190.3 kB / 364.8 MB, free: 6.695 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.09962, allocations: 380.7 kB / 365.2 MB, free: 6.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000588/0.1002, allocations: 271.6 kB / 365.5 MB, free: 6.055 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001607/0.1018, allocations: 1.347 MB / 366.8 MB, free: 4.703 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005898/0.1024, allocations: 423.1 kB / 367.2 MB, free: 4.266 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006971/0.1032, allocations: 0.5099 MB / 367.8 MB, free: 3.754 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008645/0.104, allocations: 0.5796 MB / 368.3 MB, free: 3.172 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002451/0.1043, allocations: 120 kB / 368.5 MB, free: 3.055 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003147/0.1046, allocations: 120 kB / 368.6 MB, free: 2.938 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.1048, allocations: 259.1 kB / 368.8 MB, free: 2.684 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007961/0.1056, allocations: 0.6105 MB / 369.4 MB, free: 2.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.1068, allocations: 1.374 MB / 370.8 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1068, allocations: 7.938 kB / 370.8 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1068, allocations: 0 / 370.8 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.1068, allocations: 0 / 370.8 MB, free: 0.6836 MB / 302.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.1872/0.2941, allocations: 1.48 MB / 372.3 MB, free: 19.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.2941, allocations: 10.12 kB / 372.3 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000371/0.2945, allocations: 128.7 kB / 372.4 MB, free: 19.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004603/0.295, allocations: 136.9 kB / 372.6 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.2963, allocations: 0.6252 MB / 373.2 MB, free: 19.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002198/0.2966, allocations: 152.4 kB / 373.3 MB, free: 19.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.2967, allocations: 72.5 kB / 373.4 MB, free: 19.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.2984, allocations: 0.9862 MB / 374.4 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.2984, allocations: 0 / 374.4 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.46e-05/0.2986, allocations: 34.94 kB / 374.4 MB, free: 18.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.2986, allocations: 16.34 kB / 374.4 MB, free: 18.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.3001, allocations: 0.6252 MB / 375.1 MB, free: 18.34 MB / 302.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.004278/0.3044, allocations: 2.674 MB / 377.7 MB, free: 16.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002497/0.3069, allocations: 0.8702 MB / 378.6 MB, free: 16.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007001/0.3077, allocations: 350.1 kB / 379 MB, free: 16.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.909e-05/0.3077, allocations: 18.77 kB / 379 MB, free: 16.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.3078, allocations: 56.58 kB / 379 MB, free: 16.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.986e-06/0.3078, allocations: 0 / 379 MB, free: 16.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002549/0.3103, allocations: 1.396 MB / 380.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.3105, allocations: 0.9526 MB / 381.4 MB, free: 14.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009962/0.3115, allocations: 0.7868 MB / 382.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.586e-05/0.3116, allocations: 49.02 kB / 382.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.3119, allocations: 414.2 kB / 382.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.3121, allocations: 246.3 kB / 382.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/0.3123, allocations: 161.5 kB / 383 MB, free: 13.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.603e-05/0.3124, allocations: 335.6 kB / 383.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005742/0.313, allocations: 259 kB / 383.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008243/0.3138, allocations: 0.597 MB / 384.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.315, allocations: 0.6593 MB / 384.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.315, allocations: 0.7031 kB / 384.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001674/0.3167, allocations: 0.9475 MB / 385.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/0.3167, allocations: 88.19 kB / 385.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3167, allocations: 1.844 kB / 385.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000318/0.3171, allocations: 134.7 kB / 386 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006778/0.3178, allocations: 151.2 kB / 386.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004015/0.3218, allocations: 7.331 MB / 393.5 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009123/0.3227, allocations: 97.84 kB / 393.6 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/0.3228, allocations: 28.25 kB / 393.6 MB, free: 3.902 MB / 302.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.0003568/0.3231, allocations: 250.5 kB / 393.9 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.3233, allocations: 103 kB / 394 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.3235, allocations: 99.92 kB / 394.1 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3235, allocations: 7.688 kB / 394.1 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.3235, allocations: 1.281 kB / 394.1 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001258/0.3248, allocations: 0.976 MB / 395 MB, free: 2.855 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/0.3277, allocations: 1.746 MB / 396.8 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3277, allocations: 0 / 396.8 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007284/0.3285, allocations: 156.8 kB / 396.9 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.995e-05/0.3286, allocations: 29.77 kB / 397 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.795e-05/0.3286, allocations: 16.17 kB / 397 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006438/0.3293, allocations: 1.407 MB / 398.4 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3293, allocations: 0.7031 kB / 398.4 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.3312, allocations: 1.089 MB / 399.5 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/0.3316, allocations: 251.5 kB / 399.7 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.3318, allocations: 20.91 kB / 399.8 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006664/0.3325, allocations: 42.11 kB / 399.8 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.855e-05/0.3326, allocations: 41.78 kB / 399.8 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/0.3326, allocations: 17 kB / 399.9 MB, free: 15.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007233/0.3333, allocations: 0.554 MB / 400.4 MB, free: 15.39 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3334, allocations: 0 / 400.4 MB, free: 15.39 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007914/0.3342, allocations: 294 kB / 400.7 MB, free: 15.34 MB / 318.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.00218/0.3363, allocations: 1.651 MB / 402.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002405/0.3388, allocations: 1.42 MB / 403.8 MB, free: 13.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.3388, allocations: 2.625 kB / 403.8 MB, free: 13.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006629/0.3394, allocations: 424.2 kB / 404.2 MB, free: 12.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.3407, allocations: 286.9 kB / 404.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.3518, allocations: 8.516 MB / 413 MB, free: 5.117 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/0.3523, allocations: 0.9836 MB / 414 MB, free: 4.105 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006132/0.353, allocations: 127.5 kB / 414.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004479/0.3534, allocations: 351.3 kB / 414.4 MB, free: 3.633 MB / 318.1 MB Notification: Performance of SimCode: time 1.843e-06/0.3534, allocations: 0 / 414.4 MB, free: 3.633 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05629/0.4097, allocations: 25.88 MB / 440.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.59, allocations: 4.625 kB / 440.3 MB, free: 10.17 MB / 350.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