Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.ControlledTemperature,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",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.001243/0.001243, allocations: 107.7 kB / 17.06 MB, free: 5.996 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.001208/0.001208, allocations: 197.3 kB / 18.01 MB, free: 5.066 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.461/1.461, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 47.92 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2715, allocations: 49.44 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003883/0.2754, allocations: 2.508 MB / 402.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.2765, allocations: 0.6272 MB / 403.4 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.2766, allocations: 4 kB / 403.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.2768, allocations: 39.64 kB / 403.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.2769, allocations: 67.34 kB / 403.5 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.2772, allocations: 75.84 kB / 403.5 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.2775, allocations: 262.8 kB / 403.8 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.2777, allocations: 95.39 kB / 403.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.2779, allocations: 103.6 kB / 404 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.278, allocations: 107.5 kB / 404.1 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.2781, allocations: 20 kB / 404.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.548e-05/0.2782, allocations: 27.98 kB / 404.1 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.96e-05/0.2782, allocations: 55.78 kB / 404.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.2784, allocations: 115.4 kB / 404.3 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.2787, allocations: 262 kB / 404.6 MB, free: 4.469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2787, allocations: 7.938 kB / 404.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2787, allocations: 0 / 404.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.2787, allocations: 0 / 404.6 MB, free: 4.461 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000994/0.2797, allocations: 0.5495 MB / 405.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2798, allocations: 11.89 kB / 405.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.58e-05/0.2799, allocations: 63.17 kB / 405.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.28, allocations: 24.8 kB / 405.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.2803, allocations: 228.4 kB / 405.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.2804, allocations: 20.81 kB / 405.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.2804, allocations: 20.38 kB / 405.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004539/0.2809, allocations: 241.9 kB / 405.7 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.2809, allocations: 0 / 405.7 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.2809, allocations: 12 kB / 405.7 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.2809, allocations: 4 kB / 405.7 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/0.2813, allocations: 157.7 kB / 405.9 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.2826, allocations: 0.8246 MB / 406.7 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003984/0.283, allocations: 170.5 kB / 406.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.2832, allocations: 76.83 kB / 407 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.2833, allocations: 0 / 407 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.849e-05/0.2833, allocations: 42.5 kB / 407 MB, free: 1.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.042e-06/0.2833, allocations: 0 / 407 MB, free: 1.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008759/0.2842, allocations: 331.3 kB / 407.3 MB, free: 1.488 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.2843, allocations: 55.41 kB / 407.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.2844, allocations: 179.2 kB / 407.6 MB, free: 1.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.2845, allocations: 29.7 kB / 407.6 MB, free: 1.195 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2846, allocations: 148.3 kB / 407.7 MB, free: 1.047 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.454e-05/0.2846, allocations: 67.47 kB / 407.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.509e-05/0.2847, allocations: 33.72 kB / 407.8 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.2849, allocations: 334.8 kB / 408.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.285, allocations: 47.97 kB / 408.2 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.2852, allocations: 94.12 kB / 408.3 MB, free: 464 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.2855, allocations: 140.2 kB / 408.4 MB, free: 308 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.2856, allocations: 0 / 408.4 MB, free: 308 kB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004799/0.2861, allocations: 232.5 kB / 408.7 MB, free: 68 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2861, allocations: 7.938 kB / 408.7 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2861, allocations: 0 / 408.7 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001833/0.2863, allocations: 36.83 kB / 408.7 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.2865, allocations: 32.03 kB / 408.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.2878, allocations: 1.465 MB / 410.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.288, allocations: 35.97 kB / 410.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.288, allocations: 4.141 kB / 410.2 MB, free: 14.34 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.0001293/0.2882, allocations: 133.8 kB / 410.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.2882, allocations: 19.89 kB / 410.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.2883, allocations: 21.88 kB / 410.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2883, allocations: 4 kB / 410.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.2883, allocations: 7.938 kB / 410.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2883, allocations: 4 kB / 410.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008057/0.2891, allocations: 0.5262 MB / 410.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2891, allocations: 0 / 410.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.2893, allocations: 23.98 kB / 411 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001165/0.2894, allocations: 32.83 kB / 411 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.2894, allocations: 4 kB / 411 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/0.2907, allocations: 1.465 MB / 412.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.2907, allocations: 8.047 kB / 412.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006399/0.2913, allocations: 348.1 kB / 412.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.296e-05/0.2915, allocations: 105 kB / 412.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.2915, allocations: 4 kB / 412.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.2917, allocations: 24.17 kB / 413 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.2918, allocations: 23.95 kB / 413 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.2918, allocations: 4 kB / 413 MB, free: 11.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.2919, allocations: 124.3 kB / 413.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2919, allocations: 7.938 kB / 413.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003106/0.2922, allocations: 55.89 kB / 413.2 MB, free: 11.16 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.0009625/0.2932, allocations: 0.8926 MB / 414.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005501/0.2937, allocations: 262.6 kB / 414.3 MB, free: 9.969 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2938, allocations: 0 / 414.3 MB, free: 9.969 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000287/0.2941, allocations: 194.5 kB / 414.5 MB, free: 9.766 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.2944, allocations: 40.11 kB / 414.5 MB, free: 9.727 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.2974, allocations: 2.214 MB / 416.8 MB, free: 7.402 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.2978, allocations: 0.7398 MB / 417.5 MB, free: 6.637 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.812e-05/0.2979, allocations: 13.55 kB / 417.5 MB, free: 6.625 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.298, allocations: 59.41 kB / 417.6 MB, free: 6.566 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.298, allocations: 4 kB / 417.6 MB, free: 6.562 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.3289, allocations: 4.516 MB / 422.1 MB, free: 2.211 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.894/10.22, allocations: 4.562 kB / 422.1 MB, free: 2.207 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches