Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001286, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.00136, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 59.89 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2362, allocations: 50.55 MB / 408.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004405/0.2407, allocations: 3.072 MB / 411.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.2426, allocations: 1.021 MB / 412.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/0.2429, allocations: 11.94 kB / 412.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.2432, allocations: 98.98 kB / 413 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.2434, allocations: 103 kB / 413.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005252/0.244, allocations: 227.6 kB / 413.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005996/0.2446, allocations: 0.5371 MB / 413.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000358/0.2449, allocations: 226.6 kB / 414 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002749/0.2452, allocations: 183.2 kB / 414.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.2455, allocations: 175 kB / 414.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/0.2455, allocations: 43.94 kB / 414.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.2456, allocations: 55.94 kB / 414.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.601e-05/0.2457, allocations: 91.62 kB / 414.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.2459, allocations: 226.7 kB / 414.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006419/0.2466, allocations: 0.5863 MB / 415.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2466, allocations: 0 / 415.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2466, allocations: 0 / 415.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.2466, allocations: 4 kB / 415.4 MB, free: 10.84 MB / 334.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.001041/0.2477, allocations: 0.7517 MB / 416.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.2477, allocations: 8.031 kB / 416.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.978e-05/0.2478, allocations: 86.7 kB / 416.2 MB, free: 9.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/0.248, allocations: 68.12 kB / 416.3 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000682/0.2487, allocations: 422.6 kB / 416.7 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.2488, allocations: 33 kB / 416.7 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.286e-05/0.2489, allocations: 47.89 kB / 416.8 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007543/0.2496, allocations: 487.3 kB / 417.3 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.2497, allocations: 7.938 kB / 417.3 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.2497, allocations: 20 kB / 417.3 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.2497, allocations: 12 kB / 417.3 MB, free: 8.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005243/0.2502, allocations: 250.1 kB / 417.5 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/0.2529, allocations: 2.827 MB / 420.4 MB, free: 5.531 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/0.2534, allocations: 154.7 kB / 420.5 MB, free: 5.371 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.2535, allocations: 68.84 kB / 420.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.2537, allocations: 93.03 kB / 420.7 MB, free: 5.191 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.2537, allocations: 34.5 kB / 420.7 MB, free: 5.148 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.2537, allocations: 4 kB / 420.7 MB, free: 5.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001359/0.2551, allocations: 0.63 MB / 421.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.2551, allocations: 55.39 kB / 421.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.2555, allocations: 353.6 kB / 421.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.2556, allocations: 29.7 kB / 421.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.2558, allocations: 303.7 kB / 422.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.357e-05/0.2559, allocations: 71.45 kB / 422.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.609e-05/0.256, allocations: 69.61 kB / 422.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.2562, allocations: 346.7 kB / 422.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.2563, allocations: 71.91 kB / 422.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.2566, allocations: 223.4 kB / 422.8 MB, free: 2.855 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.0009649/0.2576, allocations: 0.5173 MB / 423.4 MB, free: 2.254 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2576, allocations: 0 / 423.4 MB, free: 2.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006063/0.2582, allocations: 359.9 kB / 423.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.2582, allocations: 8.688 kB / 423.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.2583, allocations: 7.984 kB / 423.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001534/0.2584, allocations: 44.78 kB / 423.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.2587, allocations: 71.91 kB / 423.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.2601, allocations: 1.635 MB / 425.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.2603, allocations: 11.94 kB / 425.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.2604, allocations: 20 kB / 425.5 MB, free: 15.95 MB / 350.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.0002403/0.2606, allocations: 165.7 kB / 425.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.404e-05/0.2607, allocations: 39.7 kB / 425.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.041e-05/0.2608, allocations: 47.58 kB / 425.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2608, allocations: 4.141 kB / 425.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2608, allocations: 0 / 425.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2608, allocations: 3.984 kB / 425.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.2618, allocations: 0.7065 MB / 426.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.2618, allocations: 0 / 426.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.262, allocations: 36.02 kB / 426.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-05/0.2621, allocations: 28.84 kB / 426.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.2622, allocations: 4 kB / 426.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.2633, allocations: 1.427 MB / 428 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2633, allocations: 0 / 428 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005414/0.2638, allocations: 373.1 kB / 428.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.188e-05/0.2639, allocations: 108.9 kB / 428.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.2639, allocations: 8.062 kB / 428.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.2641, allocations: 8 kB / 428.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.2641, allocations: 15.92 kB / 428.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.2641, allocations: 4 kB / 428.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002657/0.2644, allocations: 239.2 kB / 428.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2644, allocations: 0 / 428.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005153/0.2649, allocations: 68 kB / 428.8 MB, free: 12.41 MB / 350.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.0009226/0.2659, allocations: 0.8997 MB / 429.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006337/0.2665, allocations: 318.9 kB / 430 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2665, allocations: 0 / 430 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.2668, allocations: 178.6 kB / 430.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.2671, allocations: 42.52 kB / 430.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004414/0.2716, allocations: 3.341 MB / 433.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/0.2721, allocations: 0.8146 MB / 434.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.2722, allocations: 39.27 kB / 434.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.2724, allocations: 159.4 kB / 434.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.2724, allocations: 0 / 434.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0353/0.3077, allocations: 6.285 MB / 440.8 MB, free: 184 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.925/10.23, allocations: 14.42 kB / 440.8 MB, free: 176 kB / 350.1 MB (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches