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.001332/0.001332, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00103/0.00103, allocations: 168.7 kB / 25.61 MB, free: 8.582 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.8906/0.8906, allocations: 177.1 MB / 206 MB, free: 4.477 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.6513/0.6513, allocations: 88.09 MB / 350.7 MB, free: 11.83 MB / 330.8 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: 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,]+.|der.Tu.[0-9,]+..|der.x.[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,]+.|der.Tu.[0-9,]+..|der.x.[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 1.483e-06/1.483e-06, allocations: 3.938 kB / 454.6 MB, free: 6.312 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.948e-05, allocations: 5.266 kB / 454.6 MB, free: 6.309 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002837/0.002857, allocations: 1.407 MB / 456 MB, free: 4.891 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006906/0.003547, allocations: 0.5456 MB / 456.5 MB, free: 4.344 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.003597, allocations: 0 / 456.5 MB, free: 4.344 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 8.183e-05/0.003679, allocations: 11.86 kB / 456.5 MB, free: 4.332 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.003959, allocations: 67.66 kB / 456.6 MB, free: 4.266 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.65e-05/0.004046, allocations: 39.83 kB / 456.7 MB, free: 4.227 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006223/0.004668, allocations: 1.034 MB / 457.7 MB, free: 3.191 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.004708, allocations: 8.188 kB / 457.7 MB, free: 3.184 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004148/0.005123, allocations: 483.4 kB / 458.2 MB, free: 2.711 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000487/0.00561, allocations: 0.5068 MB / 458.7 MB, free: 2.203 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 8.635e-05/0.005696, allocations: 56 kB / 458.7 MB, free: 2.148 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.005848, allocations: 87.95 kB / 458.8 MB, free: 2.062 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003165/0.006164, allocations: 479 kB / 459.3 MB, free: 1.594 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002504/0.006415, allocations: 359.2 kB / 459.6 MB, free: 1.242 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0006092/0.007024, allocations: 0.9187 MB / 460.6 MB, free: 328 kB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.007027, allocations: 0 / 460.6 MB, free: 328 kB / 426.8 MB Notification: Performance of FrontEnd: time 8.32e-07/0.007028, allocations: 0 / 460.6 MB, free: 328 kB / 426.8 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.007038, allocations: 0 / 460.6 MB, free: 328 kB / 426.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.001628/0.008665, allocations: 1.36 MB / 461.9 MB, free: 14.92 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.008699, allocations: 12.03 kB / 461.9 MB, free: 14.91 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.008895, allocations: 152.4 kB / 462.1 MB, free: 14.76 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.009257, allocations: 366.7 kB / 462.4 MB, free: 14.37 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.009292, allocations: 58.38 kB / 462.5 MB, free: 14.31 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.00943, allocations: 118.8 kB / 462.6 MB, free: 14.2 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006828/0.01011, allocations: 0.6277 MB / 463.2 MB, free: 13.56 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.01013, allocations: 0 / 463.2 MB, free: 13.56 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.579e-05/0.01019, allocations: 32 kB / 463.3 MB, free: 13.53 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.01021, allocations: 20 kB / 463.3 MB, free: 13.51 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005119/0.01072, allocations: 425.5 kB / 463.7 MB, free: 13.09 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006351/0.01135, allocations: 0.5929 MB / 464.3 MB, free: 12.48 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/0.01405, allocations: 1.92 MB / 466.2 MB, free: 10.56 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003989/0.01445, allocations: 357.5 kB / 466.6 MB, free: 10.21 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.01458, allocations: 49.98 kB / 466.6 MB, free: 10.16 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.01461, allocations: 55.39 kB / 466.7 MB, free: 10.09 MB / 442.8 MB Notification: Performance of pre-optimization done (n=203): time 2.876e-06/0.01462, allocations: 0 / 466.7 MB, free: 10.09 MB / 442.8 MB Notification: Performance of matching and sorting (n=203): time 0.001621/0.01624, allocations: 1.403 MB / 468.1 MB, free: 8.688 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.01627, allocations: 77.41 kB / 468.1 MB, free: 8.602 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.01642, allocations: 284.2 kB / 468.4 MB, free: 8.301 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 6.734e-05/0.01649, allocations: 53.7 kB / 468.5 MB, free: 8.242 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/0.01655, allocations: 182 kB / 468.6 MB, free: 8.059 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004165/0.01697, allocations: 0.8406 MB / 469.5 MB, free: 7.211 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000326/0.01729, allocations: 394.1 kB / 469.9 MB, free: 6.816 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.01741, allocations: 0.5003 MB / 470.4 MB, free: 6.309 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.01777, allocations: 296.2 kB / 470.7 MB, free: 6.016 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.01814, allocations: 327.8 kB / 471 MB, free: 5.688 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009052/0.01905, allocations: 0.8631 MB / 471.8 MB, free: 4.793 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.01905, allocations: 7.938 kB / 471.9 MB, free: 4.785 MB / 442.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.001322/0.02038, allocations: 1.287 MB / 473.1 MB, free: 3.453 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.02039, allocations: 8 kB / 473.1 MB, free: 3.445 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.0204, allocations: 3.938 kB / 473.2 MB, free: 3.441 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.02041, allocations: 8 kB / 473.2 MB, free: 3.434 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.02147, allocations: 0.5228 MB / 473.7 MB, free: 2.91 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.02148, allocations: 8 kB / 473.7 MB, free: 2.902 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.02181, allocations: 162.7 kB / 473.9 MB, free: 2.742 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.572e-05/0.02188, allocations: 59.97 kB / 473.9 MB, free: 2.684 MB / 442.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.0002097/0.02209, allocations: 260.1 kB / 474.2 MB, free: 2.418 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.02227, allocations: 151.5 kB / 474.3 MB, free: 2.27 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.0242, allocations: 1.729 MB / 476 MB, free: 500 kB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.02422, allocations: 31.98 kB / 476.1 MB, free: 468 kB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.02422, allocations: 0 / 476.1 MB, free: 468 kB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.02423, allocations: 11.95 kB / 476.1 MB, free: 456 kB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007751/0.02501, allocations: 0.7996 MB / 476.9 MB, free: 15.62 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.02501, allocations: 4 kB / 476.9 MB, free: 15.61 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/0.02654, allocations: 0.5853 MB / 477.5 MB, free: 15.03 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.02655, allocations: 15.94 kB / 477.5 MB, free: 15.01 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.02666, allocations: 91.92 kB / 477.6 MB, free: 14.92 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.02667, allocations: 12 kB / 477.6 MB, free: 14.91 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02667, allocations: 0 / 477.6 MB, free: 14.91 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.02873, allocations: 2.125 MB / 479.7 MB, free: 12.7 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003129/0.02905, allocations: 294.3 kB / 480 MB, free: 12.41 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.02918, allocations: 71.95 kB / 480.1 MB, free: 12.34 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.02949, allocations: 52 kB / 480.1 MB, free: 12.29 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.02965, allocations: 173.9 kB / 480.3 MB, free: 12.12 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.951e-05/0.02974, allocations: 63.97 kB / 480.4 MB, free: 12.06 MB / 458.8 MB Notification: Performance of sorting global known variables: time 7.219e-05/0.02981, allocations: 185.1 kB / 480.5 MB, free: 11.88 MB / 458.8 MB Notification: Performance of sort global known variables: time 5e-08/0.02981, allocations: 4 kB / 480.5 MB, free: 11.87 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0005644/0.03037, allocations: 455.9 kB / 481 MB, free: 11.43 MB / 458.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.0002499/0.03062, allocations: 217.3 kB / 481.2 MB, free: 11.21 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.03181, allocations: 1.178 MB / 482.4 MB, free: 9.992 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.03181, allocations: 0 / 482.4 MB, free: 9.992 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007263/0.03253, allocations: 0.7783 MB / 483.2 MB, free: 9.203 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.03299, allocations: 196.4 kB / 483.3 MB, free: 9.012 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.03654, allocations: 3.828 MB / 487.2 MB, free: 5.125 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.03672, allocations: 309.3 kB / 487.5 MB, free: 4.797 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0004576/0.03718, allocations: 261.8 kB / 487.7 MB, free: 4.539 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006662/0.03784, allocations: 406.1 kB / 488.1 MB, free: 4.141 MB / 458.8 MB Notification: Performance of SimCode: time 9.52e-07/0.03784, allocations: 0 / 488.1 MB, free: 4.141 MB / 458.8 MB Notification: Performance of Templates: time 0.02182/0.05966, allocations: 21.38 MB / 0.4976 GB, free: 14.91 MB / 490.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 -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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 28.39954808494076]