Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.ControlledTemperature,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001343/0.001344, allocations: 122.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.00144/0.00144, allocations: 202 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.404/1.404, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 63.89 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2646, allocations: 50.54 MB / 408.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003955/0.2686, allocations: 2.512 MB / 411.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.27, allocations: 0.6778 MB / 411.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.2702, allocations: 8 kB / 411.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.2704, allocations: 31.66 kB / 412 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.2705, allocations: 71.33 kB / 412 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.2708, allocations: 67.84 kB / 412.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003322/0.2712, allocations: 258.8 kB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.2714, allocations: 107.4 kB / 412.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.2715, allocations: 95.66 kB / 412.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.2717, allocations: 115.5 kB / 412.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.879e-05/0.2718, allocations: 20 kB / 412.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.525e-05/0.2719, allocations: 24 kB / 412.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.961e-05/0.2719, allocations: 51.84 kB / 412.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.2721, allocations: 111.5 kB / 412.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003942/0.2725, allocations: 266 kB / 413.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2725, allocations: 0 / 413.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2725, allocations: 0 / 413.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.2725, allocations: 3.938 kB / 413.1 MB, free: 13.11 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001109/0.2736, allocations: 0.5495 MB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.2737, allocations: 8.031 kB / 413.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/0.2738, allocations: 55.17 kB / 413.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.2739, allocations: 32.73 kB / 413.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.2744, allocations: 236.4 kB / 414 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.2744, allocations: 20.81 kB / 414 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.2744, allocations: 24.36 kB / 414.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.2749, allocations: 233.9 kB / 414.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.2749, allocations: 0 / 414.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.275, allocations: 12 kB / 414.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.275, allocations: 4 kB / 414.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000373/0.2753, allocations: 157.7 kB / 414.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.2767, allocations: 0.8168 MB / 415.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/0.2771, allocations: 169.9 kB / 415.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.2773, allocations: 76.83 kB / 415.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.2773, allocations: 4 kB / 415.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.2774, allocations: 34.5 kB / 415.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.263e-06/0.2774, allocations: 4 kB / 415.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009084/0.2783, allocations: 339.2 kB / 415.9 MB, free: 10.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.2784, allocations: 55.41 kB / 415.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.2785, allocations: 170.7 kB / 416.1 MB, free: 9.902 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.2786, allocations: 29.7 kB / 416.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.2787, allocations: 156.3 kB / 416.3 MB, free: 9.711 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.471e-05/0.2788, allocations: 59.48 kB / 416.3 MB, free: 9.652 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/0.2789, allocations: 37.7 kB / 416.4 MB, free: 9.609 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.279, allocations: 334.8 kB / 416.7 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.2792, allocations: 51.97 kB / 416.8 MB, free: 9.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.2793, allocations: 91.62 kB / 416.9 MB, free: 9.121 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.2797, allocations: 150.8 kB / 417 MB, free: 8.961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2797, allocations: 0 / 417 MB, free: 8.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004623/0.2801, allocations: 226.1 kB / 417.2 MB, free: 8.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2802, allocations: 4 kB / 417.2 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2802, allocations: 0 / 417.2 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.2804, allocations: 32.83 kB / 417.3 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.2806, allocations: 35.98 kB / 417.3 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.282, allocations: 1.473 MB / 418.8 MB, free: 7.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.2822, allocations: 35.86 kB / 418.8 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.2822, allocations: 7.984 kB / 418.8 MB, free: 6.992 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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.0001541/0.2823, allocations: 133.8 kB / 418.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.2824, allocations: 19.91 kB / 419 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.2824, allocations: 17.88 kB / 419 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.2825, allocations: 0 / 419 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2825, allocations: 7.938 kB / 419 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2825, allocations: 3.984 kB / 419 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008134/0.2833, allocations: 0.5225 MB / 419.5 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2833, allocations: 0 / 419.5 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.2835, allocations: 23.98 kB / 419.5 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001096/0.2836, allocations: 32.83 kB / 419.6 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.2836, allocations: 8 kB / 419.6 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.2849, allocations: 1.461 MB / 421 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2849, allocations: 0 / 421 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006223/0.2855, allocations: 355.2 kB / 421.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.2856, allocations: 112.9 kB / 421.5 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.2857, allocations: 8 kB / 421.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.2859, allocations: 24.05 kB / 421.5 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/0.286, allocations: 15.97 kB / 421.5 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.2861, allocations: 8 kB / 421.5 MB, free: 4.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.2862, allocations: 128.2 kB / 421.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.2863, allocations: 0 / 421.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003368/0.2866, allocations: 63.89 kB / 421.7 MB, free: 3.816 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 0.0009655/0.2876, allocations: 0.8849 MB / 422.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007449/0.2883, allocations: 257.7 kB / 422.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2884, allocations: 4 kB / 422.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.2886, allocations: 198.5 kB / 423.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.289, allocations: 35.84 kB / 423.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.2921, allocations: 2.222 MB / 425.3 MB, free: 60 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.2926, allocations: 0.7359 MB / 426.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.37e-05/0.2926, allocations: 13.55 kB / 426.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.009e-05/0.2927, allocations: 51.42 kB / 426.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2928, allocations: 0 / 426.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03092/0.3237, allocations: 4.527 MB / 430.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.814/10.14, allocations: 0 / 430.6 MB, free: 10.87 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches