Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",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.001649/0.001654, allocations: 113.4 kB / 17.06 MB, free: 6.012 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.001858/0.001858, allocations: 189.4 kB / 18 MB, free: 5.098 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.506/1.506, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 43.92 kB / 350.8 MB, free: 3.793 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2626, allocations: 49.44 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004527/0.2671, allocations: 3.069 MB / 403.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.269, allocations: 0.9552 MB / 404.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002166/0.2692, allocations: 11.94 kB / 404.2 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.2695, allocations: 95.05 kB / 404.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.2697, allocations: 99 kB / 404.4 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005124/0.2702, allocations: 227.6 kB / 404.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006026/0.2709, allocations: 0.541 MB / 405.2 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003591/0.2712, allocations: 222.6 kB / 405.4 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002476/0.2715, allocations: 175.2 kB / 405.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.2717, allocations: 179 kB / 405.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.389e-05/0.2718, allocations: 39.98 kB / 405.8 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.2719, allocations: 55.98 kB / 405.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.187e-05/0.272, allocations: 87.64 kB / 405.9 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.2722, allocations: 222.7 kB / 406.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006915/0.2729, allocations: 0.5824 MB / 406.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2729, allocations: 3.938 kB / 406.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.129e-06/0.2729, allocations: 0 / 406.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.273, allocations: 3.938 kB / 406.8 MB, free: 2.262 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001056/0.274, allocations: 0.7518 MB / 407.5 MB, free: 1.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.2741, allocations: 11.89 kB / 407.5 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.469e-05/0.2742, allocations: 82.7 kB / 407.6 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.875e-05/0.2743, allocations: 64.12 kB / 407.7 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006461/0.2749, allocations: 418.6 kB / 408.1 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.275, allocations: 29 kB / 408.1 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.977e-05/0.275, allocations: 44 kB / 408.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007891/0.2758, allocations: 487.4 kB / 408.6 MB, free: 224 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.2759, allocations: 3.984 kB / 408.6 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.2759, allocations: 27.98 kB / 408.6 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.2759, allocations: 12 kB / 408.7 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000511/0.2764, allocations: 242.2 kB / 408.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/0.279, allocations: 2.815 MB / 411.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004706/0.2795, allocations: 174.6 kB / 411.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.2796, allocations: 76.77 kB / 412 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001298/0.2798, allocations: 85.11 kB / 412 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.2798, allocations: 34.5 kB / 412.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/0.2798, allocations: 0 / 412.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001336/0.2811, allocations: 0.6305 MB / 412.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.2812, allocations: 59.31 kB / 412.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/0.2816, allocations: 345.6 kB / 413.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.2816, allocations: 29.7 kB / 413.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.2819, allocations: 307.7 kB / 413.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.269e-05/0.2819, allocations: 63.47 kB / 413.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.955e-05/0.282, allocations: 69.66 kB / 413.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.2822, allocations: 350.7 kB / 413.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.2824, allocations: 63.97 kB / 414 MB, free: 10.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.2827, allocations: 223.5 kB / 414.2 MB, free: 10.29 MB / 334.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.2837, allocations: 0.5095 MB / 414.7 MB, free: 9.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2837, allocations: 7.828 kB / 414.7 MB, free: 9.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005901/0.2843, allocations: 356.7 kB / 415 MB, free: 9.328 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2843, allocations: 8 kB / 415.1 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.2843, allocations: 8 kB / 415.1 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000137/0.2845, allocations: 32.84 kB / 415.1 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.2847, allocations: 75.89 kB / 415.2 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.2862, allocations: 1.635 MB / 416.8 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.2864, allocations: 19.98 kB / 416.8 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.2864, allocations: 16.06 kB / 416.8 MB, free: 7.391 MB / 334.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: inverseCapacity.mass.T = $START.inverseCapacity.mass.T. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (39): * Single equations (assignments): 38 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002313/0.2867, allocations: 172 kB / 417 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.2867, allocations: 43.64 kB / 417 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.09e-05/0.2868, allocations: 43.58 kB / 417.1 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.2868, allocations: 0 / 417.1 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2868, allocations: 0 / 417.1 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2868, allocations: 0 / 417.1 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.2879, allocations: 0.7104 MB / 417.8 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.2879, allocations: 3.984 kB / 417.8 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.2881, allocations: 27.98 kB / 417.8 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-05/0.2882, allocations: 32.78 kB / 417.9 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.2882, allocations: 8 kB / 417.9 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.2894, allocations: 1.43 MB / 419.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2894, allocations: 0 / 419.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005282/0.29, allocations: 375.8 kB / 419.7 MB, free: 4.309 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.12e-05/0.2901, allocations: 108.9 kB / 419.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.2901, allocations: 0 / 419.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.2902, allocations: 8 kB / 419.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.2903, allocations: 19.86 kB / 419.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.2903, allocations: 4 kB / 419.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002604/0.2905, allocations: 239.2 kB / 420 MB, free: 3.918 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2906, allocations: 0 / 420 MB, free: 3.918 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004309/0.291, allocations: 68 kB / 420.1 MB, free: 3.852 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.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 (15): * Single equations (assignments): 14 * 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.0009009/0.2919, allocations: 0.9012 MB / 421 MB, free: 2.918 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000647/0.2926, allocations: 319.6 kB / 421.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2926, allocations: 0 / 421.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.2928, allocations: 189.9 kB / 421.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.2932, allocations: 41.48 kB / 421.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004893/0.2981, allocations: 3.334 MB / 424.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.2987, allocations: 0.8185 MB / 425.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001237/0.2988, allocations: 35.28 kB / 425.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.299, allocations: 163.4 kB / 425.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.299, allocations: 0 / 425.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03847/0.3375, allocations: 6.263 MB / 432.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.42, allocations: 6.156 kB / 432.2 MB, free: 7.641 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_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_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches