Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_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.001118/0.001118, allocations: 110.4 kB / 17.73 MB, free: 5.363 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.001219/0.001219, allocations: 187.1 kB / 18.66 MB, free: 4.441 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.454/1.454, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.002289/0.002289, allocations: 51.92 kB / 328 MB, free: 3.836 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1391, allocations: 46.61 MB / 374.6 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.007276/0.1464, allocations: 3.058 MB / 377.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002992/0.1495, allocations: 1.01 MB / 378.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005218/0.15, allocations: 7.938 kB / 378.7 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00044/0.1505, allocations: 95.05 kB / 378.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004565/0.151, allocations: 103 kB / 378.9 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009737/0.152, allocations: 219.6 kB / 379.1 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.1532, allocations: 0.5332 MB / 379.6 MB, free: 68 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2116/0.3648, allocations: 219.4 kB / 379.9 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005218/0.3654, allocations: 178.1 kB / 380 MB, free: 9.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003807/0.3658, allocations: 178.1 kB / 380.2 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.366, allocations: 39.03 kB / 380.2 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.3662, allocations: 52.72 kB / 380.3 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.163e-05/0.3663, allocations: 87.88 kB / 380.4 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00028/0.3666, allocations: 225.2 kB / 380.6 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008545/0.3674, allocations: 0.585 MB / 381.2 MB, free: 9.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3675, allocations: 0 / 381.2 MB, free: 9.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3675, allocations: 3.406 kB / 381.2 MB, free: 9.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.583e-05/0.3675, allocations: 5.312 kB / 381.2 MB, free: 9.047 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.001331/0.3688, allocations: 0.7325 MB / 381.9 MB, free: 8.543 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.3689, allocations: 9.625 kB / 381.9 MB, free: 8.543 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.369, allocations: 78.75 kB / 382 MB, free: 8.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.3691, allocations: 57.42 kB / 382.1 MB, free: 8.477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008616/0.37, allocations: 424.6 kB / 382.5 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.884e-05/0.3701, allocations: 33.06 kB / 382.5 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.941e-05/0.3701, allocations: 43.48 kB / 382.6 MB, free: 8.219 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009077/0.371, allocations: 488.9 kB / 383 MB, free: 7.992 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.3711, allocations: 7.25 kB / 383 MB, free: 7.992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/0.3711, allocations: 17.25 kB / 383.1 MB, free: 7.992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.636e-05/0.3712, allocations: 14.81 kB / 383.1 MB, free: 7.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005813/0.3718, allocations: 245.1 kB / 383.3 MB, free: 7.988 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.3738, allocations: 2.817 MB / 386.1 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/0.3742, allocations: 162.2 kB / 386.3 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.3744, allocations: 69.12 kB / 386.4 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.3745, allocations: 86.59 kB / 386.4 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.3746, allocations: 34.97 kB / 386.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.3746, allocations: 0 / 386.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001305/0.3759, allocations: 0.6255 MB / 387.1 MB, free: 5.238 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.3759, allocations: 53.47 kB / 387.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004041/0.3763, allocations: 346 kB / 387.5 MB, free: 5.059 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3764, allocations: 27.17 kB / 387.5 MB, free: 5.027 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.3765, allocations: 303.1 kB / 387.8 MB, free: 4.805 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.3766, allocations: 64.27 kB / 387.9 MB, free: 4.758 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.113e-05/0.3767, allocations: 69.53 kB / 387.9 MB, free: 4.711 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.437e-05/0.3768, allocations: 347.9 kB / 388.3 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.3769, allocations: 64.03 kB / 388.3 MB, free: 4.363 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.3772, allocations: 222.8 kB / 388.6 MB, free: 4.141 MB / 318.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.001041/0.3782, allocations: 0.52 MB / 389.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.3783, allocations: 4.906 kB / 389.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006327/0.3789, allocations: 354.5 kB / 389.4 MB, free: 3.613 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.3789, allocations: 15.75 kB / 389.4 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.379, allocations: 5.125 kB / 389.4 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001623/0.3791, allocations: 45.22 kB / 389.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.3794, allocations: 73.34 kB / 389.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.3805, allocations: 1.635 MB / 391.2 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.3806, allocations: 12.05 kB / 391.2 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.3807, allocations: 17.58 kB / 391.2 MB, free: 1.973 MB / 318.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.0001905/0.3809, allocations: 172.6 kB / 391.4 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/0.3809, allocations: 35.91 kB / 391.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.069e-05/0.381, allocations: 42.33 kB / 391.5 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.381, allocations: 6.125 kB / 391.5 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.381, allocations: 1.859 kB / 391.5 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.381, allocations: 0.7969 kB / 391.5 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009712/0.382, allocations: 0.716 MB / 392.2 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.382, allocations: 1.094 kB / 392.2 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.3822, allocations: 40 kB / 392.2 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.762e-05/0.3823, allocations: 27.02 kB / 392.3 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.3823, allocations: 2.875 kB / 392.3 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007917/0.3831, allocations: 1.432 MB / 393.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3832, allocations: 1.219 kB / 393.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005974/0.3838, allocations: 365.6 kB / 394.1 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.3839, allocations: 106.5 kB / 394.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.384, allocations: 12.89 kB / 394.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.3841, allocations: 4.109 kB / 394.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.3841, allocations: 14.17 kB / 394.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.3842, allocations: 3.938 kB / 394.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003239/0.3845, allocations: 232.8 kB / 394.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3845, allocations: 1.125 kB / 394.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005439/0.3851, allocations: 67.22 kB / 394.5 MB, free: 15.31 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.0008678/0.3859, allocations: 0.8951 MB / 395.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007003/0.3867, allocations: 322.5 kB / 395.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3867, allocations: 0 / 395.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.3869, allocations: 182 kB / 395.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.3874, allocations: 39.83 kB / 395.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005031/0.3924, allocations: 3.324 MB / 399.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/0.3929, allocations: 0.8122 MB / 400.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001648/0.3931, allocations: 45.94 kB / 400.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/0.3933, allocations: 154.8 kB / 400.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of SimCode: time 1.713e-06/0.3934, allocations: 1.188 kB / 400.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03545/0.4288, allocations: 6.272 MB / 406.5 MB, free: 9.445 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.44, allocations: 13.77 kB / 406.5 MB, free: 9.434 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches