Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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.0009269/0.0009269, allocations: 83.69 kB / 20.68 MB, free: 3.883 MB / 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.0007862/0.0007862, allocations: 170 kB / 23.95 MB, free: 0.6094 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.833/0.833, allocations: 177.1 MB / 204.3 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.5919/0.5919, allocations: 88.06 MB / 348.7 MB, free: 14.36 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/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) Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.5246 GB, free: 2.383 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/1.441e-05, allocations: 7.766 kB / 0.5246 GB, free: 2.375 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001674/0.001688, allocations: 1.376 MB / 0.526 GB, free: 0.9922 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007073/0.002396, allocations: 0.5262 MB / 0.5265 GB, free: 476 kB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/0.002439, allocations: 0 / 0.5265 GB, free: 476 kB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 9.083e-05/0.00253, allocations: 11.92 kB / 0.5265 GB, free: 464 kB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.002857, allocations: 59.67 kB / 0.5265 GB, free: 404 kB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.346e-05/0.00294, allocations: 47.75 kB / 0.5266 GB, free: 356 kB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.003163, allocations: 199.4 kB / 0.5268 GB, free: 156 kB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.003205, allocations: 4.188 kB / 0.5268 GB, free: 152 kB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.00339, allocations: 103.8 kB / 0.5269 GB, free: 48 kB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.003561, allocations: 91.8 kB / 0.527 GB, free: 15.96 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.003584, allocations: 8 kB / 0.527 GB, free: 15.95 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.508e-05/0.003659, allocations: 35.92 kB / 0.527 GB, free: 15.91 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 8.134e-05/0.003741, allocations: 71.84 kB / 0.5271 GB, free: 15.84 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.00379, allocations: 51.89 kB / 0.5271 GB, free: 15.79 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.003946, allocations: 163.3 kB / 0.5273 GB, free: 15.63 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003948, allocations: 0 / 0.5273 GB, free: 15.63 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.001e-06/0.003949, allocations: 0 / 0.5273 GB, free: 15.63 MB / 458.8 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.003953, allocations: 0 / 0.5273 GB, free: 15.63 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005152/0.004468, allocations: 401.9 kB / 0.5277 GB, free: 15.21 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.004507, allocations: 11.97 kB / 0.5277 GB, free: 15.2 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.362e-05/0.004551, allocations: 46.73 kB / 0.5277 GB, free: 15.14 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.004588, allocations: 16.84 kB / 0.5277 GB, free: 15.12 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.004756, allocations: 156.3 kB / 0.5279 GB, free: 14.95 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.004769, allocations: 12.61 kB / 0.5279 GB, free: 14.94 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.004803, allocations: 19.89 kB / 0.5279 GB, free: 14.92 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.00504, allocations: 179.3 kB / 0.5281 GB, free: 14.74 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.005058, allocations: 4 kB / 0.5281 GB, free: 14.73 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.005081, allocations: 4 kB / 0.5281 GB, free: 14.73 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.005092, allocations: 4 kB / 0.5281 GB, free: 14.73 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.005293, allocations: 136.6 kB / 0.5282 GB, free: 14.59 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002515/0.005544, allocations: 237.5 kB / 0.5285 GB, free: 14.32 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006242/0.006168, allocations: 346.7 kB / 0.5288 GB, free: 13.97 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.006294, allocations: 116.8 kB / 0.5289 GB, free: 13.86 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.006407, allocations: 12 kB / 0.5289 GB, free: 13.84 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.006426, allocations: 38.55 kB / 0.5289 GB, free: 13.8 MB / 458.8 MB Notification: Performance of pre-optimization done (n=28): time 1.242e-06/0.006428, allocations: 0 / 0.5289 GB, free: 13.8 MB / 458.8 MB Notification: Performance of matching and sorting (n=28): time 0.0004748/0.006902, allocations: 382 kB / 0.5293 GB, free: 13.42 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.006938, allocations: 55.41 kB / 0.5294 GB, free: 13.35 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.349e-05/0.007021, allocations: 137.7 kB / 0.5295 GB, free: 13.21 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.007039, allocations: 29.7 kB / 0.5295 GB, free: 13.17 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.007078, allocations: 92.64 kB / 0.5296 GB, free: 13.08 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.53e-05/0.007154, allocations: 115 kB / 0.5297 GB, free: 12.96 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.511e-05/0.007219, allocations: 66.02 kB / 0.5298 GB, free: 12.89 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 8.878e-05/0.007308, allocations: 326.8 kB / 0.5301 GB, free: 12.56 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.007444, allocations: 124.6 kB / 0.5302 GB, free: 12.44 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.007569, allocations: 129.2 kB / 0.5303 GB, free: 12.32 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.007843, allocations: 274.3 kB / 0.5306 GB, free: 12.05 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.007848, allocations: 3.938 kB / 0.5306 GB, free: 12.04 MB / 458.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003492/0.008197, allocations: 365.8 kB / 0.531 GB, free: 11.68 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.008212, allocations: 4 kB / 0.531 GB, free: 11.68 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.008218, allocations: 0 / 0.531 GB, free: 11.68 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.008235, allocations: 4 kB / 0.531 GB, free: 11.67 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.008403, allocations: 75.91 kB / 0.531 GB, free: 11.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.00841, allocations: 7.938 kB / 0.531 GB, free: 11.59 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.011e-05/0.00846, allocations: 15.89 kB / 0.5311 GB, free: 11.57 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.008476, allocations: 12 kB / 0.5311 GB, free: 11.56 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (39): * Single equations (assignments): 39 * 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 8.886e-05/0.008565, allocations: 141.7 kB / 0.5312 GB, free: 11.41 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.008584, allocations: 15.91 kB / 0.5312 GB, free: 11.4 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004321/0.009016, allocations: 407.2 kB / 0.5316 GB, free: 11 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.009019, allocations: 4 kB / 0.5316 GB, free: 10.99 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.009024, allocations: 0 / 0.5316 GB, free: 10.99 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.009028, allocations: 4 kB / 0.5316 GB, free: 10.99 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.009253, allocations: 264.4 kB / 0.5319 GB, free: 10.69 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.009255, allocations: 0 / 0.5319 GB, free: 10.69 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.009485, allocations: 91.89 kB / 0.532 GB, free: 10.6 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.009487, allocations: 3.938 kB / 0.532 GB, free: 10.59 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.009509, allocations: 15.98 kB / 0.532 GB, free: 10.58 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.00951, allocations: 3.938 kB / 0.532 GB, free: 10.57 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.00951, allocations: 4 kB / 0.532 GB, free: 10.57 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005432/0.01005, allocations: 0.5265 MB / 0.5325 GB, free: 10.02 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/0.01012, allocations: 55.73 kB / 0.5325 GB, free: 9.969 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.01014, allocations: 8 kB / 0.5326 GB, free: 9.961 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.91e-05/0.01019, allocations: 8 kB / 0.5326 GB, free: 9.953 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.01023, allocations: 19.95 kB / 0.5326 GB, free: 9.934 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.01024, allocations: 15.98 kB / 0.5326 GB, free: 9.918 MB / 458.8 MB Notification: Performance of sorting global known variables: time 4.952e-05/0.01029, allocations: 101.9 kB / 0.5327 GB, free: 9.82 MB / 458.8 MB Notification: Performance of sort global known variables: time 8e-08/0.01029, allocations: 0 / 0.5327 GB, free: 9.82 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0001799/0.01047, allocations: 68 kB / 0.5328 GB, free: 9.754 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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.0007512/0.01122, allocations: 1.091 MB / 0.5338 GB, free: 8.633 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0003545/0.01158, allocations: 291.7 kB / 0.5341 GB, free: 8.348 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01158, allocations: 0 / 0.5341 GB, free: 8.348 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.01173, allocations: 155.8 kB / 0.5342 GB, free: 8.195 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.01192, allocations: 27.98 kB / 0.5343 GB, free: 8.168 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.01416, allocations: 2.762 MB / 0.537 GB, free: 5.32 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.685e-05/0.01425, allocations: 140.5 kB / 0.5371 GB, free: 5.16 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.01438, allocations: 85.86 kB / 0.5372 GB, free: 5.078 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.955e-05/0.01448, allocations: 76.47 kB / 0.5373 GB, free: 5.004 MB / 458.8 MB Notification: Performance of SimCode: time 7.71e-07/0.01448, allocations: 0 / 0.5373 GB, free: 5.004 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.03615, allocations: 6.332 MB / 0.5434 GB, free: 14.83 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.91/6.946, allocations: 11.92 kB / 0.5435 GB, free: 14.82 MB / 474.8 MB " [Timeout remaining time 293] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5_fmu --startTime=0 --stopTime=432000 --stepSize=20 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.096590572968125]