Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 123 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 47.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0946/0.09612, allocations: 53.33 MB / 426.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004062/0.1002, allocations: 2.526 MB / 428.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1014, allocations: 0.6779 MB / 429.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.1015, allocations: 4 kB / 429.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.1017, allocations: 39.64 kB / 429.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.1018, allocations: 71.34 kB / 429.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.1021, allocations: 63.86 kB / 429.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003309/0.1024, allocations: 266.8 kB / 429.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.1026, allocations: 75.42 kB / 430 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.1027, allocations: 99.64 kB / 430.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.1029, allocations: 111.5 kB / 430.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.1029, allocations: 20 kB / 430.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.16e-05/0.103, allocations: 28 kB / 430.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.939e-05/0.1031, allocations: 47.83 kB / 430.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.1032, allocations: 119.3 kB / 430.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.1035, allocations: 266.9 kB / 430.7 MB, free: 392 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1035, allocations: 0 / 430.7 MB, free: 392 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1035, allocations: 7.875 kB / 430.7 MB, free: 384 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1036, allocations: 0 / 430.7 MB, free: 384 kB / 350.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.172/0.2756, allocations: 0.5409 MB / 431.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.2756, allocations: 9.031 kB / 431.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.212e-05/0.2757, allocations: 56.64 kB / 431.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.2758, allocations: 31.5 kB / 431.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.2761, allocations: 231.9 kB / 431.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.2761, allocations: 16.03 kB / 431.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.2762, allocations: 21.81 kB / 431.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.2766, allocations: 231.3 kB / 431.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.2766, allocations: 5.219 kB / 431.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.2766, allocations: 9.906 kB / 431.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.2766, allocations: 6 kB / 431.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003969/0.277, allocations: 161.7 kB / 432 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.2782, allocations: 0.8222 MB / 432.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.2786, allocations: 156 kB / 433 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.2787, allocations: 75.66 kB / 433 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.2788, allocations: 1.156 kB / 433 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.2788, allocations: 35.78 kB / 433.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.2788, allocations: 0 / 433.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008356/0.2796, allocations: 340.6 kB / 433.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.2796, allocations: 53.72 kB / 433.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.2798, allocations: 179.8 kB / 433.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.2798, allocations: 30.3 kB / 433.7 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.2798, allocations: 147 kB / 433.8 MB, free: 9.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.2799, allocations: 64.73 kB / 433.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.909e-05/0.2799, allocations: 37.84 kB / 433.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.278e-05/0.28, allocations: 330.6 kB / 434.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.2802, allocations: 52.19 kB / 434.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.2803, allocations: 88.62 kB / 434.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.2806, allocations: 146.4 kB / 434.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2806, allocations: 3.906 kB / 434.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004335/0.281, allocations: 220.7 kB / 434.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.281, allocations: 8.156 kB / 434.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.281, allocations: 1.25 kB / 434.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002019/0.2812, allocations: 36.56 kB / 434.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.2814, allocations: 35.28 kB / 434.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009131/0.2823, allocations: 1.458 MB / 436.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.2825, allocations: 43.25 kB / 436.3 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.2825, allocations: 5.375 kB / 436.3 MB, free: 8 MB / 350.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 9.576e-05/0.2826, allocations: 131.8 kB / 436.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.2826, allocations: 16.62 kB / 436.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.903e-05/0.2827, allocations: 30.23 kB / 436.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2827, allocations: 1.906 kB / 436.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2827, allocations: 1.25 kB / 436.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2827, allocations: 7.453 kB / 436.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006731/0.2834, allocations: 0.5142 MB / 437 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2834, allocations: 0.75 kB / 437 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.2835, allocations: 27.56 kB / 437.1 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/0.2836, allocations: 33.97 kB / 437.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.2837, allocations: 0 / 437.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008236/0.2845, allocations: 1.463 MB / 438.5 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2845, allocations: 9.125 kB / 438.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005972/0.2851, allocations: 346.6 kB / 438.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-05/0.2851, allocations: 112.2 kB / 439 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.2852, allocations: 9.453 kB / 439 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.2854, allocations: 22.3 kB / 439 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/0.2854, allocations: 18.89 kB / 439.1 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.2855, allocations: 4.453 kB / 439.1 MB, free: 5.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.205e-05/0.2855, allocations: 128.3 kB / 439.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2855, allocations: 1.984 kB / 439.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003474/0.2859, allocations: 58.14 kB / 439.2 MB, free: 5.551 MB / 350.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.0007864/0.2867, allocations: 0.896 MB / 440.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005613/0.2872, allocations: 252.8 kB / 440.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2872, allocations: 1 kB / 440.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002566/0.2875, allocations: 187.4 kB / 440.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.2879, allocations: 30.55 kB / 440.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.2905, allocations: 2.226 MB / 442.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.2907, allocations: 0.7363 MB / 443.6 MB, free: 2.141 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.733e-05/0.2907, allocations: 13.62 kB / 443.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.925e-05/0.2908, allocations: 56.91 kB / 443.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2908, allocations: 0 / 443.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03367/0.3245, allocations: 4.553 MB / 448.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.961/10.29, allocations: 14.31 kB / 448.2 MB, free: 1.504 MB / 350.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable heatCapacitor.T in file Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv failed! Error: Could not read variable onOffController.y in file Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv. Warning: Get data of variable onOffController.y from file Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.98287610799889]