Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",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.001238/0.001238, allocations: 113.2 kB / 17.73 MB, free: 5.312 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.001223/0.001223, allocations: 188.2 kB / 18.67 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 55.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08862/0.09026, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.1902/0.2805, allocations: 5.602 MB / 380.2 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003198/0.2837, allocations: 1.467 MB / 381.7 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000481/0.2842, allocations: 9.312 kB / 381.7 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005516/0.2848, allocations: 196.2 kB / 381.9 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009102/0.2857, allocations: 376.2 kB / 382.3 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006917/0.2864, allocations: 274.2 kB / 382.6 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002126/0.2886, allocations: 1.354 MB / 383.9 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000698/0.2893, allocations: 411.7 kB / 384.3 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008883/0.2902, allocations: 0.5098 MB / 384.8 MB, free: 8.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000727/0.2909, allocations: 0.5802 MB / 385.4 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001857/0.2911, allocations: 118 kB / 385.5 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002454/0.2914, allocations: 120.4 kB / 385.6 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.2916, allocations: 260.4 kB / 385.9 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005639/0.2922, allocations: 0.6167 MB / 386.5 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.294, allocations: 1.404 MB / 387.9 MB, free: 6.789 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2941, allocations: 1.125 kB / 387.9 MB, free: 6.789 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.2941, allocations: 0 / 387.9 MB, free: 6.789 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.639e-05/0.2941, allocations: 0 / 387.9 MB, free: 6.789 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002718/0.2968, allocations: 1.523 MB / 389.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.2969, allocations: 9.375 kB / 389.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001987/0.2971, allocations: 127.8 kB / 389.6 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.2973, allocations: 133.8 kB / 389.7 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009611/0.2983, allocations: 0.6403 MB / 390.3 MB, free: 5.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.2985, allocations: 156.3 kB / 390.5 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.945e-05/0.2986, allocations: 71.72 kB / 390.6 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.3, allocations: 0.9928 MB / 391.6 MB, free: 4.355 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.3, allocations: 0 / 391.6 MB, free: 4.355 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.172e-05/0.3001, allocations: 36.5 kB / 391.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.3001, allocations: 16.62 kB / 391.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.3014, allocations: 0.6286 MB / 392.2 MB, free: 4.129 MB / 318.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.004098/0.3055, allocations: 2.654 MB / 394.9 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002467/0.308, allocations: 0.872 MB / 395.8 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006805/0.3087, allocations: 352.4 kB / 396.1 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.804e-05/0.3087, allocations: 10.88 kB / 396.1 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.3088, allocations: 55.91 kB / 396.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.795e-06/0.3088, allocations: 0 / 396.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.00258/0.3114, allocations: 1.409 MB / 397.6 MB, free: 1.055 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002309/0.3116, allocations: 0.9492 MB / 398.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.3127, allocations: 0.7827 MB / 399.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.3129, allocations: 45.95 kB / 399.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003721/0.3132, allocations: 428.3 kB / 399.8 MB, free: 15.19 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002679/0.3135, allocations: 266.1 kB / 400 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002768/0.3138, allocations: 160 kB / 400.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.314, allocations: 337.6 kB / 400.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005741/0.3146, allocations: 251.5 kB / 400.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008982/0.3155, allocations: 0.5844 MB / 401.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.3167, allocations: 0.6659 MB / 402 MB, free: 13.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3167, allocations: 4 kB / 402 MB, free: 13.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001895/0.3186, allocations: 0.9478 MB / 403 MB, free: 13.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.663e-05/0.3187, allocations: 93.77 kB / 403.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.3187, allocations: 1.188 kB / 403.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000359/0.3191, allocations: 124.6 kB / 403.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006983/0.3198, allocations: 150.5 kB / 403.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006708/0.3265, allocations: 7.331 MB / 410.7 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.328, allocations: 117.1 kB / 410.8 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.126e-05/0.328, allocations: 30.56 kB / 410.8 MB, free: 5.566 MB / 334.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.0005357/0.3286, allocations: 240.5 kB / 411 MB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.3288, allocations: 109.7 kB / 411.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.329, allocations: 98.56 kB / 411.2 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.403e-06/0.329, allocations: 8.031 kB / 411.2 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.3291, allocations: 0 / 411.2 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001556/0.3306, allocations: 0.9734 MB / 412.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003196/0.3338, allocations: 1.75 MB / 414 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3339, allocations: 0 / 414 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007706/0.3346, allocations: 156.5 kB / 414.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000115/0.3348, allocations: 29.5 kB / 414.2 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.726e-05/0.3348, allocations: 19.61 kB / 414.2 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/0.336, allocations: 1.406 MB / 415.6 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.336, allocations: 0 / 415.6 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.3383, allocations: 1.083 MB / 416.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005757/0.3389, allocations: 261.2 kB / 416.9 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.339, allocations: 18.44 kB / 416.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006687/0.3397, allocations: 40 kB / 417 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.3398, allocations: 41.22 kB / 417 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.368e-05/0.3399, allocations: 24.8 kB / 417 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007626/0.3406, allocations: 0.5424 MB / 417.6 MB, free: 460 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3406, allocations: 4 kB / 417.6 MB, free: 456 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009299/0.3416, allocations: 298.3 kB / 417.9 MB, free: 408 kB / 334.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.002414/0.344, allocations: 1.653 MB / 419.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002499/0.3465, allocations: 1.393 MB / 420.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.3465, allocations: 2.75 kB / 420.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007607/0.3473, allocations: 425.4 kB / 421.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.3487, allocations: 288.6 kB / 421.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.3617, allocations: 7.848 MB / 429.5 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007585/0.3625, allocations: 0.9875 MB / 430.5 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006996/0.3632, allocations: 123.5 kB / 430.6 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005461/0.3638, allocations: 359.3 kB / 430.9 MB, free: 4.656 MB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3638, allocations: 0 / 430.9 MB, free: 4.656 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06932/0.4331, allocations: 26.27 MB / 457.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/14.62, allocations: 3.938 kB / 457.2 MB, free: 10.29 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches