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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 103.5 kB / 20.43 MB, free: 1.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 191 kB / 23.71 MB, free: 4.422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 55.91 kB / 370.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2554, allocations: 52.18 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003892/0.2593, allocations: 2.383 MB / 424.9 MB, free: 12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.2604, allocations: 0.6156 MB / 425.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.2605, allocations: 7.938 kB / 425.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.2607, allocations: 39.58 kB / 425.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.2608, allocations: 67.41 kB / 425.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.2611, allocations: 75.86 kB / 425.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003151/0.2614, allocations: 266.8 kB / 426 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.2616, allocations: 63.91 kB / 426.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.2617, allocations: 103.7 kB / 426.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.2619, allocations: 91.55 kB / 426.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.2619, allocations: 24 kB / 426.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.297e-05/0.262, allocations: 23.94 kB / 426.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.771e-05/0.262, allocations: 51.78 kB / 426.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.2621, allocations: 99.59 kB / 426.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.2625, allocations: 260.8 kB / 426.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2625, allocations: 0 / 426.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2625, allocations: 0 / 426.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.2625, allocations: 0 / 426.7 MB, free: 10.21 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.0009534/0.2635, allocations: 493.5 kB / 427.2 MB, free: 9.703 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2635, allocations: 8.031 kB / 427.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.006e-05/0.2636, allocations: 55.17 kB / 427.2 MB, free: 9.633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.2637, allocations: 32.78 kB / 427.3 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.264, allocations: 174.5 kB / 427.4 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.264, allocations: 16.81 kB / 427.5 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.2641, allocations: 20.38 kB / 427.5 MB, free: 9.367 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004909/0.2646, allocations: 263.7 kB / 427.7 MB, free: 9.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.2646, allocations: 3.984 kB / 427.7 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.2646, allocations: 4 kB / 427.7 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.2646, allocations: 8 kB / 427.8 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004054/0.265, allocations: 161.6 kB / 427.9 MB, free: 8.918 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.2664, allocations: 0.7391 MB / 428.7 MB, free: 8.121 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003919/0.2668, allocations: 150.7 kB / 428.8 MB, free: 7.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.267, allocations: 80.77 kB / 428.9 MB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.267, allocations: 0 / 428.9 MB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.267, allocations: 42.48 kB / 428.9 MB, free: 7.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.267, allocations: 0 / 428.9 MB, free: 7.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008467/0.2679, allocations: 253.7 kB / 429.2 MB, free: 7.578 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.2679, allocations: 59.39 kB / 429.2 MB, free: 7.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.2681, allocations: 174.8 kB / 429.4 MB, free: 7.324 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.2682, allocations: 29.7 kB / 429.4 MB, free: 7.289 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.2683, allocations: 148.4 kB / 429.6 MB, free: 7.141 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.047e-05/0.2684, allocations: 59.42 kB / 429.6 MB, free: 7.082 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.26e-05/0.2684, allocations: 41.7 kB / 429.7 MB, free: 7.035 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.2686, allocations: 330.8 kB / 430 MB, free: 6.703 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.2687, allocations: 55.97 kB / 430 MB, free: 6.648 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.2689, allocations: 94.12 kB / 430.1 MB, free: 6.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.2693, allocations: 142.4 kB / 430.3 MB, free: 6.391 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2693, allocations: 3.938 kB / 430.3 MB, free: 6.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000503/0.2698, allocations: 221.4 kB / 430.5 MB, free: 6.164 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2698, allocations: 4 kB / 430.5 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2698, allocations: 0 / 430.5 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001882/0.27, allocations: 40.81 kB / 430.5 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.2701, allocations: 39.92 kB / 430.6 MB, free: 6.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.2716, allocations: 1.358 MB / 431.9 MB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.2718, allocations: 39.83 kB / 432 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.2718, allocations: 4 kB / 432 MB, free: 4.559 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.0001676/0.2719, allocations: 125.8 kB / 432.1 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.56e-05/0.272, allocations: 15.91 kB / 432.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.503e-05/0.272, allocations: 21.81 kB / 432.1 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.272, allocations: 7.938 kB / 432.1 MB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.272, allocations: 8 kB / 432.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.272, allocations: 3.984 kB / 432.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008048/0.2729, allocations: 478.2 kB / 432.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2729, allocations: 3.938 kB / 432.6 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.273, allocations: 23.98 kB / 432.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/0.2731, allocations: 36.95 kB / 432.7 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.2731, allocations: 8 kB / 432.7 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/0.2744, allocations: 1.359 MB / 434.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2744, allocations: 0 / 434.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000664/0.2751, allocations: 348.1 kB / 434.4 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.968e-05/0.2751, allocations: 27.86 kB / 434.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.2752, allocations: 7.938 kB / 434.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.2754, allocations: 28.09 kB / 434.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.2754, allocations: 15.97 kB / 434.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.2754, allocations: 8 kB / 434.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.2756, allocations: 128.8 kB / 434.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2756, allocations: 0 / 434.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003627/0.2759, allocations: 63.89 kB / 434.7 MB, free: 1.668 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.001027/0.2769, allocations: 0.8887 MB / 435.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005724/0.2775, allocations: 249.9 kB / 435.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2775, allocations: 0 / 435.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.2778, allocations: 190.9 kB / 436 MB, free: 304 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.2782, allocations: 38.61 kB / 436 MB, free: 268 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.2814, allocations: 2.222 MB / 438.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.2815, allocations: 125.4 kB / 438.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.371e-05/0.2816, allocations: 17.47 kB / 438.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.2817, allocations: 55.42 kB / 438.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2817, allocations: 4 kB / 438.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03772/0.3194, allocations: 5.253 MB / 443.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.34, allocations: 0 / 443.7 MB, free: 8.645 MB / 350.1 MB " [Timeout remaining time 648] (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) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable heatCapacitor.T in file Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv failed! Error: Could not read variable onOffController.y in file Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv. Warning: Get data of variable onOffController.y from file Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.086065026000142]