Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.0008455/0.0008455, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001372/0.002217, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007129/0.0007129, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009768/0.00169, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.002/1.002, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1291/1.132, allocations: 53.65 MB / 243.4 MB, free: 15.52 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.8073/0.8073, allocations: 88.07 MB / 332.2 MB, free: 14.12 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06874/0.8761, allocations: 32.94 MB / 365.2 MB, free: 13.38 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_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 366.5 MB, free: 12.05 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.848e-05, allocations: 5.5 kB / 366.5 MB, free: 12.05 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001977/0.002005, allocations: 1.48 MB / 368 MB, free: 10.55 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.000655/0.00266, allocations: 0.5572 MB / 368.5 MB, free: 9.996 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.859e-05/0.002699, allocations: 0 / 368.5 MB, free: 9.996 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.002729, allocations: 7.922 kB / 368.6 MB, free: 9.988 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.002924, allocations: 63.67 kB / 368.6 MB, free: 9.926 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.48e-05/0.003009, allocations: 31.83 kB / 368.6 MB, free: 9.895 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006812/0.00369, allocations: 1.097 MB / 369.7 MB, free: 8.797 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.071e-05/0.003741, allocations: 8.188 kB / 369.8 MB, free: 8.789 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005406/0.004281, allocations: 0.4915 MB / 370.2 MB, free: 8.297 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000603/0.004884, allocations: 0.5068 MB / 370.8 MB, free: 7.789 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.004995, allocations: 56 kB / 370.8 MB, free: 7.734 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002351/0.00523, allocations: 87.91 kB / 370.9 MB, free: 7.648 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002709/0.005501, allocations: 363.4 kB / 371.2 MB, free: 7.293 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.005715, allocations: 231.6 kB / 371.5 MB, free: 7.066 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000578/0.006293, allocations: 0.7513 MB / 372.2 MB, free: 6.312 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.221e-05/0.006305, allocations: 0 / 372.2 MB, free: 6.312 MB / 362.8 MB Notification: Performance of FrontEnd: time 5.11e-07/0.006306, allocations: 0 / 372.2 MB, free: 6.312 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.006323, allocations: 0 / 372.2 MB, free: 6.312 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.001724/0.008047, allocations: 1.372 MB / 373.6 MB, free: 4.918 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.008096, allocations: 12.03 kB / 373.6 MB, free: 4.906 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.00828, allocations: 124.8 kB / 373.7 MB, free: 4.785 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.008672, allocations: 343.9 kB / 374.1 MB, free: 4.418 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/0.008714, allocations: 58.38 kB / 374.1 MB, free: 4.359 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.008858, allocations: 119.9 kB / 374.2 MB, free: 4.242 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007025/0.00956, allocations: 0.6499 MB / 374.9 MB, free: 3.586 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.009575, allocations: 4 kB / 374.9 MB, free: 3.582 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.038e-05/0.009635, allocations: 32 kB / 374.9 MB, free: 3.551 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.009647, allocations: 16 kB / 374.9 MB, free: 3.535 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004288/0.01008, allocations: 345.7 kB / 375.3 MB, free: 3.199 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005903/0.01067, allocations: 0.4919 MB / 375.8 MB, free: 2.688 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002489/0.01315, allocations: 1.665 MB / 377.4 MB, free: 1.008 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003672/0.01352, allocations: 314.7 kB / 377.7 MB, free: 0.7031 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000171/0.01369, allocations: 45.98 kB / 377.8 MB, free: 0.6602 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.01373, allocations: 52.56 kB / 377.8 MB, free: 0.5977 MB / 362.8 MB Notification: Performance of pre-optimization done (n=203): time 3.166e-06/0.01373, allocations: 0 / 377.8 MB, free: 0.5977 MB / 362.8 MB Notification: Performance of matching and sorting (n=203): time 0.001253/0.01499, allocations: 1.049 MB / 378.9 MB, free: 15.55 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.01503, allocations: 73.41 kB / 379 MB, free: 15.46 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.01515, allocations: 209 kB / 379.2 MB, free: 15.25 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 7.477e-05/0.01522, allocations: 57.7 kB / 379.2 MB, free: 15.19 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.817e-05/0.01526, allocations: 111.8 kB / 379.3 MB, free: 15.08 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004314/0.01569, allocations: 0.8171 MB / 380.1 MB, free: 14.25 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000313/0.01601, allocations: 340.1 kB / 380.5 MB, free: 13.91 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.0161, allocations: 321.9 kB / 380.8 MB, free: 13.59 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003477/0.01645, allocations: 287.5 kB / 381.1 MB, free: 13.31 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/0.01677, allocations: 272 kB / 381.3 MB, free: 13.04 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008708/0.01765, allocations: 0.8147 MB / 382.2 MB, free: 12.19 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.01765, allocations: 0 / 382.2 MB, free: 12.19 MB / 378.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.001064/0.01872, allocations: 0.9387 MB / 383.1 MB, free: 11.21 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.01873, allocations: 4 kB / 383.1 MB, free: 11.21 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.01874, allocations: 7.922 kB / 383.1 MB, free: 11.2 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.01876, allocations: 16 kB / 383.1 MB, free: 11.19 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.02026, allocations: 0.8132 MB / 383.9 MB, free: 10.39 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.02027, allocations: 8 kB / 383.9 MB, free: 10.38 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.02061, allocations: 154.8 kB / 384.1 MB, free: 10.23 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-05/0.02068, allocations: 51.97 kB / 384.1 MB, free: 10.18 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.0002158/0.0209, allocations: 212.2 kB / 384.3 MB, free: 9.961 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.02104, allocations: 131.9 kB / 384.5 MB, free: 9.832 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.02258, allocations: 1.376 MB / 385.9 MB, free: 8.414 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.02259, allocations: 31.94 kB / 385.9 MB, free: 8.383 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.0226, allocations: 3.984 kB / 385.9 MB, free: 8.379 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.268e-05/0.02262, allocations: 11.95 kB / 385.9 MB, free: 8.367 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007494/0.02337, allocations: 0.6839 MB / 386.6 MB, free: 7.66 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.02338, allocations: 4 kB / 386.6 MB, free: 7.656 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001858/0.02523, allocations: 0.8878 MB / 387.5 MB, free: 6.785 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003309/0.02557, allocations: 262.5 kB / 387.7 MB, free: 6.527 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.657e-06/0.02557, allocations: 8 kB / 387.7 MB, free: 6.52 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.02569, allocations: 79.92 kB / 387.8 MB, free: 6.441 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/0.02569, allocations: 11.94 kB / 387.8 MB, free: 6.43 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.0257, allocations: 7.938 kB / 387.8 MB, free: 6.422 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.0275, allocations: 1.767 MB / 389.6 MB, free: 4.59 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.02764, allocations: 75.95 kB / 389.7 MB, free: 4.516 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.02793, allocations: 48 kB / 389.7 MB, free: 4.469 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/0.0281, allocations: 157.9 kB / 389.9 MB, free: 4.312 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.297e-05/0.02817, allocations: 63.91 kB / 389.9 MB, free: 4.25 MB / 378.8 MB Notification: Performance of sorting global known variables: time 5.044e-05/0.02822, allocations: 70.78 kB / 390 MB, free: 4.18 MB / 378.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02822, allocations: 0 / 390 MB, free: 4.18 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.0005042/0.02873, allocations: 451.9 kB / 390.5 MB, free: 3.738 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.0002484/0.02898, allocations: 206.6 kB / 390.7 MB, free: 3.527 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.03006, allocations: 1.037 MB / 391.7 MB, free: 2.457 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 2.407e-05/0.03009, allocations: 18.62 kB / 391.7 MB, free: 2.438 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007624/0.03085, allocations: 0.8304 MB / 392.5 MB, free: 1.598 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.03185, allocations: 1.518 MB / 394.1 MB, free: 15.81 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006366/0.03822, allocations: 2.617 MB / 396.7 MB, free: 13.14 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.0384, allocations: 317.5 kB / 397 MB, free: 12.8 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.000488/0.03889, allocations: 266.6 kB / 397.2 MB, free: 12.54 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007246/0.03961, allocations: 385.1 kB / 397.6 MB, free: 12.16 MB / 394.8 MB Notification: Performance of SimCode: time 1.002e-06/0.03962, allocations: 0 / 397.6 MB, free: 12.16 MB / 394.8 MB Notification: Performance of Templates: time 0.02569/0.0653, allocations: 22.59 MB / 420.2 MB, free: 5.883 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.349116927944124]