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.001379/0.001379, allocations: 107.4 kB / 17.06 MB, free: 6.098 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.002068/0.002068, allocations: 198.9 kB / 18 MB, free: 5.168 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.458/1.458, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 47.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.261, allocations: 49.43 MB / 400.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004971/0.266, allocations: 3.062 MB / 403.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.268, allocations: 0.9631 MB / 404.2 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003819/0.2684, allocations: 11.94 kB / 404.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.2687, allocations: 91.05 kB / 404.3 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.2691, allocations: 103 kB / 404.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005425/0.2696, allocations: 215.7 kB / 404.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005289/0.2702, allocations: 0.5488 MB / 405.2 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003405/0.2705, allocations: 226.6 kB / 405.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.2707, allocations: 179.2 kB / 405.6 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.2709, allocations: 179 kB / 405.8 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.935e-05/0.271, allocations: 36 kB / 405.8 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.2711, allocations: 48 kB / 405.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.791e-05/0.2712, allocations: 83.64 kB / 405.9 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.2714, allocations: 234.7 kB / 406.2 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006267/0.272, allocations: 0.5785 MB / 406.7 MB, free: 2.238 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.2721, allocations: 0 / 406.7 MB, free: 2.238 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2721, allocations: 3.938 kB / 406.7 MB, free: 2.234 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.2721, allocations: 4 kB / 406.7 MB, free: 2.23 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.0009327/0.273, allocations: 0.7518 MB / 407.5 MB, free: 1.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.2731, allocations: 8.031 kB / 407.5 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.342e-05/0.2732, allocations: 82.66 kB / 407.6 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.956e-05/0.2732, allocations: 64.12 kB / 407.7 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006026/0.2739, allocations: 422.6 kB / 408.1 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.2739, allocations: 29 kB / 408.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.878e-05/0.274, allocations: 40 kB / 408.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007269/0.2747, allocations: 495.4 kB / 408.6 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.2747, allocations: 0 / 408.6 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/0.2748, allocations: 20 kB / 408.6 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.2748, allocations: 12 kB / 408.6 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004869/0.2753, allocations: 254.1 kB / 408.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00219/0.2775, allocations: 2.819 MB / 411.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004097/0.2779, allocations: 162.6 kB / 411.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.278, allocations: 68.88 kB / 411.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001298/0.2782, allocations: 85.11 kB / 412 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.2782, allocations: 38.5 kB / 412.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.2782, allocations: 0 / 412.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001217/0.2794, allocations: 0.6287 MB / 412.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.2795, allocations: 59.31 kB / 412.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.2798, allocations: 349.6 kB / 413.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.2799, allocations: 29.7 kB / 413.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.2801, allocations: 315.7 kB / 413.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.303e-05/0.2801, allocations: 59.48 kB / 413.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.206e-05/0.2802, allocations: 65.66 kB / 413.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2804, allocations: 350.7 kB / 413.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.2805, allocations: 63.97 kB / 414 MB, free: 10.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.2808, allocations: 227.2 kB / 414.2 MB, free: 10.27 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.001003/0.2818, allocations: 0.5132 MB / 414.7 MB, free: 9.668 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.2818, allocations: 4 kB / 414.7 MB, free: 9.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005347/0.2823, allocations: 372.3 kB / 415.1 MB, free: 9.293 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2823, allocations: 4 kB / 415.1 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2824, allocations: 8.688 kB / 415.1 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001249/0.2825, allocations: 36.84 kB / 415.1 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.2827, allocations: 71.91 kB / 415.2 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.284, allocations: 1.631 MB / 416.8 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.2842, allocations: 16 kB / 416.8 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.2842, allocations: 15.94 kB / 416.8 MB, free: 7.367 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.0001858/0.2844, allocations: 173.7 kB / 417 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.2845, allocations: 39.7 kB / 417 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.475e-05/0.2845, allocations: 39.59 kB / 417.1 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2845, allocations: 4.062 kB / 417.1 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.2845, allocations: 3.938 kB / 417.1 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2846, allocations: 0 / 417.1 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009017/0.2855, allocations: 0.7143 MB / 417.8 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2855, allocations: 0 / 417.8 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.2857, allocations: 31.98 kB / 417.8 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.751e-05/0.2857, allocations: 32.94 kB / 417.9 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.2858, allocations: 8 kB / 417.9 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009957/0.2868, allocations: 1.422 MB / 419.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2868, allocations: 3.938 kB / 419.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/0.2873, allocations: 365.2 kB / 419.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.725e-05/0.2874, allocations: 108.9 kB / 419.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.2874, allocations: 0 / 419.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.2875, allocations: 12.06 kB / 419.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.2876, allocations: 23.89 kB / 419.8 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.2876, allocations: 0 / 419.8 MB, free: 4.129 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000214/0.2878, allocations: 239.2 kB / 420 MB, free: 3.895 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2878, allocations: 0 / 420 MB, free: 3.895 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004632/0.2883, allocations: 68 kB / 420.1 MB, free: 3.828 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.0007704/0.2891, allocations: 0.9017 MB / 421 MB, free: 2.898 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005611/0.2896, allocations: 327.2 kB / 421.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2896, allocations: 0 / 421.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.2899, allocations: 185.3 kB / 421.5 MB, free: 2.375 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.2902, allocations: 37.89 kB / 421.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/0.2943, allocations: 3.338 MB / 424.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.2947, allocations: 0.8184 MB / 425.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.2948, allocations: 39.27 kB / 425.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.295, allocations: 159.4 kB / 425.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.295, allocations: 0 / 425.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.3229, allocations: 6.267 MB / 432.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.606/9.928, allocations: 11.69 kB / 432.2 MB, free: 7.605 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