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.001227/0.001227, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.001097/0.001097, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.285/1.285, allocations: 222.9 MB / 241.6 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009034/0.0009034, allocations: 43.14 kB / 300.7 MB, free: 5.809 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09292/0.09384, allocations: 49.44 MB / 350.2 MB, free: 4.359 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004061/0.09794, allocations: 3.042 MB / 353.2 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.09946, allocations: 0.9668 MB / 354.2 MB, free: 328 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.09962, allocations: 15.88 kB / 354.2 MB, free: 312 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.09985, allocations: 95.05 kB / 354.3 MB, free: 216 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.1, allocations: 95.02 kB / 354.4 MB, free: 120 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.1005, allocations: 219.6 kB / 354.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004671/0.1009, allocations: 0.5448 MB / 355.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003047/0.1012, allocations: 222.6 kB / 355.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.1014, allocations: 175.2 kB / 355.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.1016, allocations: 182.9 kB / 355.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.794e-05/0.1017, allocations: 36 kB / 355.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.855e-05/0.1018, allocations: 52 kB / 355.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.158e-05/0.1019, allocations: 87.64 kB / 355.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.102, allocations: 234.6 kB / 356.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004659/0.1025, allocations: 0.5529 MB / 356.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1025, allocations: 0 / 356.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1025, allocations: 0 / 356.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1026, allocations: 4 kB / 356.7 MB, free: 13.81 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0008778/0.1034, allocations: 0.7327 MB / 357.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.1035, allocations: 12.03 kB / 357.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.292e-05/0.1036, allocations: 78.72 kB / 357.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.389e-05/0.1036, allocations: 63.84 kB / 357.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/0.1041, allocations: 394.4 kB / 357.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.1041, allocations: 33 kB / 358 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.11e-05/0.1042, allocations: 36 kB / 358 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006465/0.1048, allocations: 491.4 kB / 358.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.1049, allocations: 4 kB / 358.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.1049, allocations: 16 kB / 358.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.1049, allocations: 15.98 kB / 358.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004457/0.1054, allocations: 246.1 kB / 358.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/0.1075, allocations: 2.834 MB / 361.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.1079, allocations: 170.6 kB / 361.7 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.108, allocations: 68.84 kB / 361.8 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.1082, allocations: 85.09 kB / 361.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.1083, allocations: 38.5 kB / 361.9 MB, free: 8.168 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.1083, allocations: 4 kB / 361.9 MB, free: 8.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001148/0.1094, allocations: 0.6248 MB / 362.6 MB, free: 7.488 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.1095, allocations: 63.33 kB / 362.6 MB, free: 7.414 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.1098, allocations: 341.5 kB / 363 MB, free: 7.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.1098, allocations: 33.7 kB / 363 MB, free: 7.031 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.11, allocations: 295 kB / 363.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.11, allocations: 71.08 kB / 363.3 MB, free: 6.668 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.8e-05/0.1101, allocations: 65.61 kB / 363.4 MB, free: 6.598 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1102, allocations: 354.7 kB / 363.8 MB, free: 6.242 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.1104, allocations: 59.97 kB / 363.8 MB, free: 6.184 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.1107, allocations: 215.6 kB / 364 MB, free: 5.902 MB / 302.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.0009152/0.1116, allocations: 0.5254 MB / 364.6 MB, free: 5.293 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1116, allocations: 0 / 364.6 MB, free: 5.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005235/0.1121, allocations: 361.4 kB / 364.9 MB, free: 4.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1121, allocations: 8.688 kB / 364.9 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1122, allocations: 4 kB / 364.9 MB, free: 4.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001222/0.1123, allocations: 36.84 kB / 365 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.1125, allocations: 83.83 kB / 365 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.1137, allocations: 1.631 MB / 366.7 MB, free: 3.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.1138, allocations: 11.98 kB / 366.7 MB, free: 3.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.1139, allocations: 20 kB / 366.7 MB, free: 2.996 MB / 302.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.0001812/0.1141, allocations: 177.1 kB / 366.9 MB, free: 2.816 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.1141, allocations: 39.47 kB / 366.9 MB, free: 2.777 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.556e-05/0.1142, allocations: 35.59 kB / 366.9 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.1142, allocations: 7.984 kB / 367 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1142, allocations: 0 / 367 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1142, allocations: 0 / 367 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008615/0.1151, allocations: 0.7062 MB / 367.7 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1151, allocations: 4 kB / 367.7 MB, free: 1.945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.1153, allocations: 39.91 kB / 367.7 MB, free: 1.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.14e-05/0.1154, allocations: 28.78 kB / 367.7 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1154, allocations: 4 kB / 367.7 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009107/0.1163, allocations: 1.434 MB / 369.2 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1163, allocations: 0 / 369.2 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1354/0.2517, allocations: 362.8 kB / 369.5 MB, free: 25.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.89e-05/0.2518, allocations: 104 kB / 369.6 MB, free: 25.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.2518, allocations: 6.578 kB / 369.6 MB, free: 25.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.252, allocations: 7.391 kB / 369.6 MB, free: 25.17 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.252, allocations: 13.8 kB / 369.7 MB, free: 25.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.252, allocations: 10.28 kB / 369.7 MB, free: 25.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002293/0.2523, allocations: 236 kB / 369.9 MB, free: 25.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2523, allocations: 0 / 369.9 MB, free: 25.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004949/0.2528, allocations: 66.81 kB / 370 MB, free: 25.08 MB / 302.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.000589/0.2534, allocations: 0.8969 MB / 370.9 MB, free: 24.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005188/0.2539, allocations: 315.9 kB / 371.2 MB, free: 24.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2539, allocations: 0.5938 kB / 371.2 MB, free: 24.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.2541, allocations: 189.5 kB / 371.3 MB, free: 24.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.2544, allocations: 42.52 kB / 371.4 MB, free: 24.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004758/0.2592, allocations: 3.339 MB / 374.7 MB, free: 22.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.2595, allocations: 0.8199 MB / 375.5 MB, free: 21.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.2597, allocations: 38.25 kB / 375.6 MB, free: 21.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.2598, allocations: 157.2 kB / 375.7 MB, free: 21.39 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2598, allocations: 3.469 kB / 375.7 MB, free: 21.39 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1035/0.3633, allocations: 6.099 MB / 381.8 MB, free: 20.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.683/10.05, allocations: 5.734 kB / 381.8 MB, free: 20.45 MB / 302.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