Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.006006/0.006006, allocations: 1.442 MB / 20.54 MB, free: 4.012 MB / 18.57 MB " [Timeout remaining time 180] 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.0007082/0.0007082, allocations: 87.47 kB / 24.15 MB, free: 400 kB / 18.57 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.0008903/0.0008903, allocations: 165 kB / 27.86 MB, free: 5.496 MB / 18.57 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 0.8236/0.8236, allocations: 177.2 MB / 208.6 MB, free: 2.977 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.6618/0.6618, allocations: 102.5 MB / 367.9 MB, free: 1.457 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) 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) Using package SMArtInt with version 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater,fileNamePrefix="ClaRa_ClaRa_Components_Control_PredictorModels_3508_Check_TestReheater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater,fileNamePrefix="ClaRa_ClaRa_Components_Control_PredictorModels_3508_Check_TestReheater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.5362 GB, free: 40.04 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064e-05/1.194e-05, allocations: 3.281 kB / 0.5362 GB, free: 40.04 MB / 490.8 MB Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater): time 0.09931/0.09932, allocations: 52.07 MB / 0.587 GB, free: 8.504 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.005286/0.1046, allocations: 7.094 MB / 0.594 GB, free: 1.383 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002823/0.1049, allocations: 15.94 kB / 0.594 GB, free: 1.367 MB / 490.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.001042/0.1059, allocations: 0.5204 MB / 0.5945 GB, free: 0.8438 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004258/0.1064, allocations: 441.5 kB / 0.5949 GB, free: 420 kB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006743/0.107, allocations: 0.6467 MB / 0.5955 GB, free: 15.76 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.0009463/0.108, allocations: 1.013 MB / 0.5965 GB, free: 14.75 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003138/0.1083, allocations: 196.3 kB / 0.5967 GB, free: 14.54 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000356/0.1086, allocations: 0.5102 MB / 0.5972 GB, free: 14.03 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.109, allocations: 434.7 kB / 0.5976 GB, free: 13.6 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 8.709e-05/0.1091, allocations: 100 kB / 0.5977 GB, free: 13.5 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004219/0.1095, allocations: 423.1 kB / 0.5981 GB, free: 13.09 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.1098, allocations: 0.4945 MB / 0.5986 GB, free: 12.59 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.11, allocations: 366.7 kB / 0.599 GB, free: 12.23 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.1112, allocations: 1.931 MB / 0.6008 GB, free: 10.3 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1112, allocations: 4 kB / 0.6008 GB, free: 10.29 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1112, allocations: 4 kB / 0.6008 GB, free: 10.29 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.1112, allocations: 0 / 0.6008 GB, free: 10.29 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.002137/0.1133, allocations: 2.068 MB / 0.6029 GB, free: 8.184 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1134, allocations: 8.031 kB / 0.6029 GB, free: 8.176 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.518e-05/0.1134, allocations: 78.7 kB / 0.6029 GB, free: 8.09 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/0.1137, allocations: 207.7 kB / 0.6031 GB, free: 7.887 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.1157, allocations: 2.129 MB / 0.6052 GB, free: 5.727 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.1158, allocations: 29.38 kB / 0.6053 GB, free: 5.695 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.1158, allocations: 36.38 kB / 0.6053 GB, free: 5.66 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006452/0.1165, allocations: 0.5807 MB / 0.6059 GB, free: 5.023 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1165, allocations: 192 / 0.6059 GB, free: 5.023 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.1165, allocations: 19.94 kB / 0.6059 GB, free: 5.004 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.1165, allocations: 8 kB / 0.6059 GB, free: 4.996 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005663/0.1171, allocations: 394.2 kB / 0.6063 GB, free: 4.605 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.1187, allocations: 1.984 MB / 0.6082 GB, free: 2.539 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000524/0.1192, allocations: 380.8 kB / 0.6086 GB, free: 2.141 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.1194, allocations: 159 kB / 0.6087 GB, free: 1.977 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 5.96e-05/0.1195, allocations: 24.22 kB / 0.6087 GB, free: 1.953 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.1195, allocations: 46.67 kB / 0.6088 GB, free: 1.898 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=34): time 1.443e-06/0.1195, allocations: 0 / 0.6088 GB, free: 1.898 MB / 0.4949 GB Notification: Performance of matching and sorting (n=34): time 0.0009983/0.1205, allocations: 0.67 MB / 0.6094 GB, free: 1.223 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.1206, allocations: 183.9 kB / 0.6096 GB, free: 1 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/0.1224, allocations: 2.191 MB / 0.6117 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.1225, allocations: 37.7 kB / 0.6118 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/0.1228, allocations: 0.6726 MB / 0.6124 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.609e-05/0.1229, allocations: 127 kB / 0.6126 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.4e-05/0.123, allocations: 110 kB / 0.6127 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.511e-05/0.1231, allocations: 330 kB / 0.613 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.1233, allocations: 157.1 kB / 0.6131 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/0.1236, allocations: 365.7 kB / 0.6135 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.1241, allocations: 469.2 kB / 0.6139 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1241, allocations: 4 kB / 0.6139 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006549/0.1247, allocations: 0.6191 MB / 0.6145 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1247, allocations: 11.94 kB / 0.6145 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1247, allocations: 4 kB / 0.6146 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1248, allocations: 4.406 kB / 0.6146 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.125, allocations: 111.8 kB / 0.6147 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.125, allocations: 8 kB / 0.6147 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.1252, allocations: 63.59 kB / 0.6147 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.1252, allocations: 23.97 kB / 0.6148 GB, free: 11.54 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003474/0.1256, allocations: 445.5 kB / 0.6152 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.1257, allocations: 170.8 kB / 0.6153 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006238/0.1263, allocations: 0.546 MB / 0.6159 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1263, allocations: 7.938 kB / 0.6159 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1263, allocations: 0 / 0.6159 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1263, allocations: 0 / 0.6159 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008763/0.1272, allocations: 0.753 MB / 0.6166 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1272, allocations: 0 / 0.6166 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.1274, allocations: 63.89 kB / 0.6167 GB, free: 9.469 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1274, allocations: 7.938 kB / 0.6167 GB, free: 9.461 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.1274, allocations: 4 kB / 0.6167 GB, free: 9.457 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1274, allocations: 4 kB / 0.6167 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1274, allocations: 0 / 0.6167 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007885/0.1282, allocations: 0.8159 MB / 0.6175 GB, free: 8.617 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/0.1284, allocations: 236.8 kB / 0.6177 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.811e-05/0.1285, allocations: 23.83 kB / 0.6177 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.1287, allocations: 19.97 kB / 0.6178 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.1287, allocations: 23.95 kB / 0.6178 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.1287, allocations: 8 kB / 0.6178 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001188/0.1299, allocations: 1.574 MB / 0.6193 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.1299, allocations: 0 / 0.6193 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003917/0.1303, allocations: 195.6 kB / 0.6195 GB, free: 6.523 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (turbinesAndReheat.energyStorage_HP_turbine.y,turbinesAndReheat.energyStroage_RH_IPLP_turbine.y,turbinesAndReheat_02_XRG.energyStorage_HP_turbine.y,turbinesAndReheat_02_XRG.energyStroage_RH_IPLP_turbine.y,turbinesAndReheat_00_XRG.energyStorage_HP_turbine.y,turbinesAndReheat_00_XRG.energyStroage_RH_IPLP_turbine.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001769/0.1321, allocations: 1.857 MB / 0.6213 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004975/0.1326, allocations: 364.3 kB / 0.6217 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1326, allocations: 0 / 0.6217 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.1328, allocations: 147.8 kB / 0.6218 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005888/0.1334, allocations: 203.2 kB / 0.622 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.1436, allocations: 11.22 MB / 0.633 GB, free: 8.621 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.1441, allocations: 0.6757 MB / 0.6336 GB, free: 7.918 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.000327/0.1445, allocations: 207 kB / 0.6338 GB, free: 7.711 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004096/0.1449, allocations: 0.5159 MB / 0.6343 GB, free: 7.195 MB / 0.5262 GB Notification: Performance of SimCode: time 7.22e-07/0.1449, allocations: 0 / 0.6343 GB, free: 7.195 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03599/0.1809, allocations: 26.68 MB / 0.6604 GB, free: 12.54 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.11, allocations: 10.67 kB / 0.6604 GB, free: 12.53 MB / 0.5574 GB " [Timeout remaining time 791] (rm -f ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.pipe ; mkfifo ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.pipe >> ../files/ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater_res.mat --tempDir=temp_ClaRa_ClaRa_Components_Control_PredictorModels_3508_Check_TestReheater_fmu --startTime=0 --stopTime=3000 --stepSize=1.2 --timeout=800 --tolerance=1e-06 ClaRa_ClaRa_Components_Control_PredictorModels_3508_Check_TestReheater.fmu > ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.pipe 2>&1) [Timeout 840.0] diffSimulationResults("ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 11.263365045189857]