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.001131/0.001131, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001218/0.001218, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.232/1.232, allocations: 222.9 MB / 241.5 MB, free: 15.24 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 48.23 kB / 300.7 MB, free: 5.789 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08529/0.0865, allocations: 49.44 MB / 350.2 MB, free: 4.34 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003706/0.09024, allocations: 2.501 MB / 352.7 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.09138, allocations: 0.6427 MB / 353.3 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.09153, allocations: 4 kB / 353.3 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.09169, allocations: 35.64 kB / 353.3 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.09186, allocations: 63.36 kB / 353.4 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.0921, allocations: 71.84 kB / 353.5 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.09239, allocations: 258.8 kB / 353.7 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.0926, allocations: 111.7 kB / 353.8 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.09273, allocations: 91.66 kB / 353.9 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.09289, allocations: 111.5 kB / 354 MB, free: 436 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.487e-05/0.09293, allocations: 20 kB / 354.1 MB, free: 416 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-05/0.09303, allocations: 24 kB / 354.1 MB, free: 392 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.473e-05/0.09308, allocations: 51.83 kB / 354.1 MB, free: 340 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.0932, allocations: 119.4 kB / 354.2 MB, free: 220 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.09349, allocations: 255.1 kB / 354.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.0935, allocations: 0 / 354.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.09351, allocations: 0 / 354.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.09352, allocations: 0 / 354.5 MB, free: 15.96 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009252/0.09445, allocations: 0.5523 MB / 355 MB, free: 15.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.0945, allocations: 12.03 kB / 355.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.912e-05/0.09458, allocations: 55.17 kB / 355.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.0947, allocations: 24.66 kB / 355.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.09496, allocations: 228.3 kB / 355.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.09498, allocations: 20.75 kB / 355.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.653e-05/0.09502, allocations: 24.38 kB / 355.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.09545, allocations: 237.9 kB / 355.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.09548, allocations: 7.984 kB / 355.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.0955, allocations: 8 kB / 355.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.09552, allocations: 8 kB / 355.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003871/0.09591, allocations: 153.7 kB / 355.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.09719, allocations: 0.8321 MB / 356.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.09757, allocations: 158.7 kB / 356.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.09777, allocations: 84.81 kB / 356.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.09779, allocations: 3.938 kB / 356.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.09783, allocations: 42.44 kB / 356.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.09783, allocations: 0 / 356.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008275/0.09866, allocations: 331.2 kB / 357.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.09872, allocations: 55.41 kB / 357.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.09886, allocations: 179.1 kB / 357.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.0989, allocations: 33.7 kB / 357.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.09899, allocations: 140.1 kB / 357.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.09904, allocations: 59.19 kB / 357.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/0.09911, allocations: 33.72 kB / 357.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.09923, allocations: 338.8 kB / 358.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.09938, allocations: 51.97 kB / 358.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.09956, allocations: 88.25 kB / 358.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.09986, allocations: 140.2 kB / 358.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.09987, allocations: 0 / 358.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004643/0.1003, allocations: 226 kB / 358.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1004, allocations: 6.5 kB / 358.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.1004, allocations: 8 kB / 358.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/0.1006, allocations: 28.83 kB / 358.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.1007, allocations: 39.92 kB / 358.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.1019, allocations: 1.469 MB / 360.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.1021, allocations: 35.8 kB / 360.1 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1021, allocations: 4 kB / 360.1 MB, free: 9.855 MB / 302.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.0001155/0.1023, allocations: 133.7 kB / 360.3 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.1023, allocations: 23.75 kB / 360.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.496e-05/0.1024, allocations: 21.86 kB / 360.3 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1024, allocations: 4 kB / 360.3 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1024, allocations: 7.938 kB / 360.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1024, allocations: 0 / 360.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007312/0.1031, allocations: 0.5147 MB / 360.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1032, allocations: 0 / 360.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.1033, allocations: 23.98 kB / 360.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/0.1034, allocations: 40.83 kB / 360.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.1034, allocations: 4 kB / 360.9 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.1046, allocations: 1.469 MB / 362.4 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1046, allocations: 0 / 362.4 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006261/0.1052, allocations: 359.2 kB / 362.7 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.417e-05/0.1053, allocations: 104.9 kB / 362.8 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.1054, allocations: 4 kB / 362.8 MB, free: 6.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.1056, allocations: 23.97 kB / 362.9 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.1056, allocations: 15.97 kB / 362.9 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1056, allocations: 8 kB / 362.9 MB, free: 6.863 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1058, allocations: 128.2 kB / 363 MB, free: 6.738 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1058, allocations: 4.062 kB / 363 MB, free: 6.734 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003157/0.1061, allocations: 59.84 kB / 363.1 MB, free: 6.676 MB / 302.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.0008695/0.107, allocations: 0.8964 MB / 364 MB, free: 5.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005171/0.1075, allocations: 254.5 kB / 364.2 MB, free: 5.488 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1075, allocations: 0 / 364.2 MB, free: 5.488 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002716/0.1078, allocations: 198.9 kB / 364.4 MB, free: 5.281 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.1081, allocations: 31.92 kB / 364.4 MB, free: 5.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.1109, allocations: 2.211 MB / 366.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.1112, allocations: 0.7399 MB / 367.4 MB, free: 2.172 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.464e-05/0.1113, allocations: 17.55 kB / 367.4 MB, free: 2.156 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.076e-05/0.1114, allocations: 59.36 kB / 367.5 MB, free: 2.098 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1114, allocations: 0 / 367.5 MB, free: 2.098 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1528/0.2642, allocations: 4.409 MB / 371.9 MB, free: 25.8 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.347/9.612, allocations: 4.719 kB / 371.9 MB, free: 25.8 MB / 302.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