Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.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.001011/0.001011, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001152/0.002162, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007389/0.0007389, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009656/0.001704, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9994/0.9994, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0878/1.087, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo): time 0.8086/0.8086, allocations: 88.08 MB / 332.1 MB, free: 14.18 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06213/0.8707, allocations: 32.92 MB / 365 MB, free: 13.44 MB / 362.8 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-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: translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.[0-9,]+.|Que.[0-9,]+.|Tu.[0-9,]+.|time|u.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.[0-9,]+.|Que.[0-9,]+.|Tu.[0-9,]+.|time|u.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 366.3 MB, free: 12.13 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.038e-05/3.255e-05, allocations: 4.172 kB / 366.3 MB, free: 12.12 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002849/0.002882, allocations: 1.476 MB / 367.8 MB, free: 10.64 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007034/0.003585, allocations: 0.5495 MB / 368.3 MB, free: 10.09 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.058e-05/0.003626, allocations: 4 kB / 368.3 MB, free: 10.08 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 5.031e-05/0.003676, allocations: 7.922 kB / 368.4 MB, free: 10.07 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.003894, allocations: 55.62 kB / 368.4 MB, free: 10.02 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.414e-05/0.003978, allocations: 47.75 kB / 368.5 MB, free: 9.973 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006361/0.004614, allocations: 1.089 MB / 369.5 MB, free: 8.883 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.004661, allocations: 12.17 kB / 369.6 MB, free: 8.871 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005912/0.005252, allocations: 491.4 kB / 370 MB, free: 8.391 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005736/0.005826, allocations: 0.5107 MB / 370.5 MB, free: 7.879 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.005945, allocations: 60 kB / 370.6 MB, free: 7.82 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.006143, allocations: 83.92 kB / 370.7 MB, free: 7.738 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002761/0.006419, allocations: 359.4 kB / 371 MB, free: 7.387 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.00664, allocations: 235.6 kB / 371.3 MB, free: 7.156 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005913/0.007231, allocations: 0.7552 MB / 372 MB, free: 6.398 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.712e-05/0.007248, allocations: 0 / 372 MB, free: 6.398 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.382e-06/0.00725, allocations: 0 / 372 MB, free: 6.398 MB / 362.8 MB Notification: Performance of Transformations before backend: time 2.374e-05/0.007274, allocations: 0 / 372 MB, free: 6.398 MB / 362.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001854/0.009128, allocations: 1.376 MB / 373.4 MB, free: 5 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.009168, allocations: 8.031 kB / 373.4 MB, free: 4.992 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.009364, allocations: 120.8 kB / 373.5 MB, free: 4.875 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/0.009928, allocations: 347.9 kB / 373.9 MB, free: 4.508 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/0.009982, allocations: 62.38 kB / 373.9 MB, free: 4.445 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.01013, allocations: 115.9 kB / 374 MB, free: 4.332 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006819/0.01082, allocations: 0.6538 MB / 374.7 MB, free: 3.672 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.01083, allocations: 0 / 374.7 MB, free: 3.672 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.958e-05/0.01089, allocations: 36 kB / 374.7 MB, free: 3.637 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.0109, allocations: 20 kB / 374.7 MB, free: 3.617 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004317/0.01134, allocations: 337.7 kB / 375.1 MB, free: 3.289 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000663/0.012, allocations: 0.4919 MB / 375.6 MB, free: 2.777 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002536/0.01453, allocations: 1.669 MB / 377.2 MB, free: 1.094 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003675/0.0149, allocations: 306.8 kB / 377.5 MB, free: 0.7969 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001762/0.01508, allocations: 53.97 kB / 377.6 MB, free: 0.7461 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.01512, allocations: 56.5 kB / 377.6 MB, free: 0.6797 MB / 362.8 MB Notification: Performance of pre-optimization done (n=203): time 3.937e-06/0.01512, allocations: 0 / 377.6 MB, free: 0.6797 MB / 362.8 MB Notification: Performance of matching and sorting (n=203): time 0.00126/0.01638, allocations: 1.041 MB / 378.7 MB, free: 15.64 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.01642, allocations: 73.41 kB / 378.8 MB, free: 15.55 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.01655, allocations: 209 kB / 379 MB, free: 15.34 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 6.408e-05/0.01662, allocations: 57.7 kB / 379 MB, free: 15.28 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.942e-05/0.01666, allocations: 103.8 kB / 379.1 MB, free: 15.17 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004104/0.01707, allocations: 0.8171 MB / 379.9 MB, free: 14.35 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003057/0.01737, allocations: 356 kB / 380.3 MB, free: 13.99 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.01746, allocations: 321.9 kB / 380.6 MB, free: 13.67 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.01781, allocations: 279.5 kB / 380.9 MB, free: 13.39 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/0.01812, allocations: 276 kB / 381.1 MB, free: 13.12 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000812/0.01893, allocations: 0.8186 MB / 382 MB, free: 12.27 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.01894, allocations: 0 / 382 MB, free: 12.27 MB / 378.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.001012/0.01995, allocations: 0.9349 MB / 382.9 MB, free: 11.3 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.01997, allocations: 11.98 kB / 382.9 MB, free: 11.29 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.01998, allocations: 3.938 kB / 382.9 MB, free: 11.28 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.02, allocations: 8 kB / 382.9 MB, free: 11.27 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.02152, allocations: 0.8154 MB / 383.7 MB, free: 10.47 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.02153, allocations: 8 kB / 383.7 MB, free: 10.46 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.02189, allocations: 154.8 kB / 383.9 MB, free: 10.31 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.412e-05/0.02197, allocations: 55.97 kB / 383.9 MB, free: 10.26 MB / 378.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 (284): * Single equations (assignments): 284 * 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.000233/0.0222, allocations: 216.2 kB / 384.2 MB, free: 10.04 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.02233, allocations: 119.9 kB / 384.3 MB, free: 9.918 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/0.02393, allocations: 1.372 MB / 385.6 MB, free: 8.504 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/0.02394, allocations: 35.92 kB / 385.7 MB, free: 8.469 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.02395, allocations: 0 / 385.7 MB, free: 8.469 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/0.02397, allocations: 11.95 kB / 385.7 MB, free: 8.457 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007867/0.02475, allocations: 0.6918 MB / 386.4 MB, free: 7.742 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.02476, allocations: 0 / 386.4 MB, free: 7.742 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001889/0.02665, allocations: 0.8838 MB / 387.3 MB, free: 6.875 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003474/0.027, allocations: 266.5 kB / 387.5 MB, free: 6.613 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.02701, allocations: 8 kB / 387.5 MB, free: 6.605 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.02711, allocations: 83.92 kB / 387.6 MB, free: 6.523 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.02712, allocations: 8 kB / 387.6 MB, free: 6.516 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.02712, allocations: 3.938 kB / 387.6 MB, free: 6.512 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.0288, allocations: 1.775 MB / 389.4 MB, free: 4.672 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.02895, allocations: 71.95 kB / 389.5 MB, free: 4.602 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.02927, allocations: 48 kB / 389.5 MB, free: 4.555 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.02942, allocations: 161.9 kB / 389.7 MB, free: 4.395 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.542e-05/0.02949, allocations: 51.91 kB / 389.7 MB, free: 4.344 MB / 378.8 MB Notification: Performance of sorting global known variables: time 6.304e-05/0.02956, allocations: 74.78 kB / 389.8 MB, free: 4.27 MB / 378.8 MB Notification: Performance of sort global known variables: time 8e-08/0.02956, allocations: 0 / 389.8 MB, free: 4.27 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.0006155/0.03017, allocations: 455.9 kB / 390.2 MB, free: 3.824 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 81 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40]) * 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 (284): * Single equations (assignments): 284 * 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.0002519/0.03043, allocations: 206.5 kB / 390.5 MB, free: 3.609 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.03157, allocations: 1.019 MB / 391.5 MB, free: 2.555 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 3.133e-05/0.0316, allocations: 18.62 kB / 391.5 MB, free: 2.535 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005883/0.03219, allocations: 0.6855 MB / 392.2 MB, free: 1.84 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006652/0.03285, allocations: 403.1 kB / 392.6 MB, free: 1.445 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006381/0.03923, allocations: 2.617 MB / 395.2 MB, free: 14.77 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.03942, allocations: 317.5 kB / 395.5 MB, free: 14.44 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.0006963/0.04012, allocations: 262.6 kB / 395.8 MB, free: 14.18 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006998/0.04082, allocations: 381.1 kB / 396.1 MB, free: 13.8 MB / 394.8 MB Notification: Performance of SimCode: time 1.804e-06/0.04082, allocations: 0 / 396.1 MB, free: 13.8 MB / 394.8 MB Notification: Performance of Templates: time 0.02652/0.06734, allocations: 23.33 MB / 419.5 MB, free: 6.793 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 48.03721663914621]