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.001704/0.001704, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.00194/0.00194, allocations: 184.5 kB / 23.72 MB, free: 4.699 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.413/1.413, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.001992/0.001992, allocations: 51.92 kB / 370.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2566, allocations: 52.18 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004055/0.2606, allocations: 2.531 MB / 425.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.2618, allocations: 0.6544 MB / 425.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.2619, allocations: 0 / 425.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.2621, allocations: 35.59 kB / 425.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.2622, allocations: 71.33 kB / 425.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.2625, allocations: 71.86 kB / 426 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000316/0.2628, allocations: 258.8 kB / 426.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.263, allocations: 83.88 kB / 426.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.2631, allocations: 95.66 kB / 426.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.2633, allocations: 111.5 kB / 426.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.2633, allocations: 20 kB / 426.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.487e-05/0.2634, allocations: 27.98 kB / 426.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.2634, allocations: 51.78 kB / 426.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.2636, allocations: 119.4 kB / 426.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.2639, allocations: 259.3 kB / 427 MB, free: 10.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2639, allocations: 0 / 427 MB, free: 10.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2639, allocations: 0 / 427 MB, free: 10.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2639, allocations: 0 / 427 MB, free: 10.22 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.0009566/0.2649, allocations: 489.6 kB / 427.5 MB, free: 9.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.2649, allocations: 8.031 kB / 427.5 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.914e-05/0.265, allocations: 63.16 kB / 427.5 MB, free: 9.637 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.2651, allocations: 28.8 kB / 427.6 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.2654, allocations: 174.6 kB / 427.7 MB, free: 9.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.2654, allocations: 20.75 kB / 427.7 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.2655, allocations: 24.38 kB / 427.8 MB, free: 9.367 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.2659, allocations: 234 kB / 428 MB, free: 9.125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.2659, allocations: 3.984 kB / 428 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.266, allocations: 8 kB / 428 MB, free: 9.113 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.266, allocations: 8 kB / 428 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003868/0.2664, allocations: 157.6 kB / 428.2 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.2677, allocations: 0.7781 MB / 429 MB, free: 8.117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.268, allocations: 154.5 kB / 429.1 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.2682, allocations: 76.77 kB / 429.2 MB, free: 7.879 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.2683, allocations: 0 / 429.2 MB, free: 7.879 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.2683, allocations: 38.5 kB / 429.2 MB, free: 7.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.022e-06/0.2683, allocations: 0 / 429.2 MB, free: 7.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008119/0.2691, allocations: 254.2 kB / 429.5 MB, free: 7.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.2691, allocations: 55.41 kB / 429.5 MB, free: 7.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.2693, allocations: 171.3 kB / 429.7 MB, free: 7.328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.2694, allocations: 29.7 kB / 429.7 MB, free: 7.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.2695, allocations: 156.4 kB / 429.9 MB, free: 7.137 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.512e-05/0.2695, allocations: 63.47 kB / 429.9 MB, free: 7.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.107e-05/0.2696, allocations: 33.72 kB / 430 MB, free: 7.035 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.2697, allocations: 334.8 kB / 430.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.2699, allocations: 51.97 kB / 430.3 MB, free: 6.648 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.27, allocations: 98.06 kB / 430.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.2704, allocations: 147.4 kB / 430.6 MB, free: 6.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2704, allocations: 4 kB / 430.6 MB, free: 6.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004662/0.2708, allocations: 214.1 kB / 430.8 MB, free: 6.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2708, allocations: 8 kB / 430.8 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2708, allocations: 0 / 430.8 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001864/0.271, allocations: 32.83 kB / 430.8 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.2712, allocations: 40.11 kB / 430.9 MB, free: 6.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.2725, allocations: 1.366 MB / 432.2 MB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.2727, allocations: 31.91 kB / 432.3 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.2727, allocations: 4 kB / 432.3 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.0001261/0.2728, allocations: 134.8 kB / 432.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.2728, allocations: 23.89 kB / 432.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.47e-05/0.2729, allocations: 17.81 kB / 432.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2729, allocations: 4.062 kB / 432.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2729, allocations: 7.938 kB / 432.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2729, allocations: 0 / 432.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007606/0.2737, allocations: 0.4904 MB / 432.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2737, allocations: 0 / 432.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.2738, allocations: 23.98 kB / 433 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001116/0.2739, allocations: 40.77 kB / 433 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.2739, allocations: 4 kB / 433 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/0.2751, allocations: 1.367 MB / 434.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2751, allocations: 0 / 434.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006178/0.2758, allocations: 351.9 kB / 434.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.19e-05/0.2758, allocations: 35.98 kB / 434.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.2758, allocations: 0 / 434.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.276, allocations: 31.84 kB / 434.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.2761, allocations: 15.97 kB / 434.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.2761, allocations: 4 kB / 434.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.2762, allocations: 131.2 kB / 434.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2762, allocations: 0 / 434.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003133/0.2765, allocations: 67.89 kB / 435 MB, free: 1.629 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.0009389/0.2775, allocations: 0.8849 MB / 435.9 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005114/0.278, allocations: 247.9 kB / 436.1 MB, free: 472 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.278, allocations: 3.938 kB / 436.1 MB, free: 468 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.2783, allocations: 190.6 kB / 436.3 MB, free: 264 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.2786, allocations: 32.17 kB / 436.4 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.2815, allocations: 2.221 MB / 438.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.2819, allocations: 0.736 MB / 439.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.248e-05/0.282, allocations: 17.48 kB / 439.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.2821, allocations: 55.42 kB / 439.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2821, allocations: 0 / 439.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.037/0.3191, allocations: 4.702 MB / 444.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.66, allocations: 4.641 kB / 444.1 MB, free: 8.52 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: 14.369523226996535]