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.0009582/0.0009582, allocations: 76.41 kB / 21.42 MB, free: 3.074 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.001138/0.001138, allocations: 170.1 kB / 24.82 MB, free: 9.266 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 1.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.7541/0.7541, allocations: 88.08 MB / 349.9 MB, free: 14.11 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: 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_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,]+.|der.Tu.[0-9,]+..|der.x.[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 1.664e-06/1.664e-06, allocations: 0 / 453.8 MB, free: 32.12 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.658e-05, allocations: 2.312 kB / 453.8 MB, free: 32.12 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001662/0.001688, allocations: 1.416 MB / 455.2 MB, free: 31.15 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007192/0.002408, allocations: 0.5332 MB / 455.7 MB, free: 30.82 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.326e-05/0.002461, allocations: 0 / 455.7 MB, free: 30.82 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.432e-05/0.002555, allocations: 17.62 kB / 455.7 MB, free: 30.8 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.002853, allocations: 57.25 kB / 455.8 MB, free: 30.78 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001058/0.002959, allocations: 50.22 kB / 455.8 MB, free: 30.75 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004974/0.003456, allocations: 1.026 MB / 456.9 MB, free: 30.47 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.0035, allocations: 13.03 kB / 456.9 MB, free: 30.46 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004951/0.003995, allocations: 485.8 kB / 457.4 MB, free: 30.31 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004751/0.00447, allocations: 0.5089 MB / 457.9 MB, free: 30.18 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.004572, allocations: 58.91 kB / 457.9 MB, free: 30.18 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.00474, allocations: 85.16 kB / 458 MB, free: 30.17 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002907/0.00503, allocations: 483.7 kB / 458.5 MB, free: 29.99 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.005259, allocations: 355.9 kB / 458.8 MB, free: 29.88 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0006389/0.005898, allocations: 0.9143 MB / 459.7 MB, free: 29.63 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.0059, allocations: 0 / 459.7 MB, free: 29.63 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.232e-06/0.005901, allocations: 0 / 459.7 MB, free: 29.63 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.00592, allocations: 0 / 459.7 MB, free: 29.63 MB / 410.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.001578/0.007498, allocations: 1.361 MB / 461.1 MB, free: 28.88 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.007534, allocations: 11.22 kB / 461.1 MB, free: 28.88 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.00772, allocations: 154.8 kB / 461.3 MB, free: 28.81 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.00807, allocations: 361.6 kB / 461.6 MB, free: 28.58 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.0081, allocations: 61.22 kB / 461.7 MB, free: 28.55 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.008223, allocations: 120.2 kB / 461.8 MB, free: 28.5 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006326/0.008856, allocations: 0.6288 MB / 462.4 MB, free: 28.36 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.008873, allocations: 0 / 462.4 MB, free: 28.36 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.985e-05/0.008933, allocations: 33.78 kB / 462.5 MB, free: 28.34 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.008945, allocations: 24.3 kB / 462.5 MB, free: 28.33 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004599/0.009405, allocations: 425.4 kB / 462.9 MB, free: 28.31 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005836/0.009989, allocations: 0.5936 MB / 463.5 MB, free: 27.91 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002394/0.01238, allocations: 1.908 MB / 465.4 MB, free: 27.44 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.01274, allocations: 368 kB / 465.8 MB, free: 27.38 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/0.01289, allocations: 48.36 kB / 465.8 MB, free: 27.37 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.01292, allocations: 59.39 kB / 465.9 MB, free: 27.31 MB / 410.8 MB Notification: Performance of pre-optimization done (n=203): time 3.055e-06/0.01292, allocations: 0 / 465.9 MB, free: 27.31 MB / 410.8 MB Notification: Performance of matching and sorting (n=203): time 0.001451/0.01437, allocations: 1.408 MB / 467.3 MB, free: 27.03 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.0144, allocations: 76.09 kB / 467.3 MB, free: 26.96 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.01452, allocations: 274.8 kB / 467.6 MB, free: 26.76 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.406e-05/0.01457, allocations: 58.33 kB / 467.7 MB, free: 26.7 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.01462, allocations: 181.7 kB / 467.8 MB, free: 26.54 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003445/0.01496, allocations: 0.8429 MB / 468.7 MB, free: 25.85 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003046/0.01527, allocations: 405 kB / 469.1 MB, free: 25.65 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.345e-05/0.01532, allocations: 0.4997 MB / 469.6 MB, free: 25.16 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.01566, allocations: 291.8 kB / 469.9 MB, free: 25.15 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.01602, allocations: 329.3 kB / 470.2 MB, free: 25.12 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008538/0.01688, allocations: 0.8616 MB / 471 MB, free: 24.84 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.01688, allocations: 2.562 kB / 471.1 MB, free: 24.84 MB / 410.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.001333/0.01821, allocations: 1.285 MB / 472.3 MB, free: 24.48 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.01823, allocations: 12.47 kB / 472.3 MB, free: 24.47 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.01824, allocations: 0.9375 kB / 472.3 MB, free: 24.47 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.01826, allocations: 9.219 kB / 472.4 MB, free: 24.47 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.0194, allocations: 0.5181 MB / 472.9 MB, free: 24.43 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.01942, allocations: 9.188 kB / 472.9 MB, free: 24.43 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.01974, allocations: 157.5 kB / 473 MB, free: 24.3 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.62e-05/0.01983, allocations: 60.58 kB / 473.1 MB, free: 24.29 MB / 410.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.0001916/0.02002, allocations: 260.5 kB / 473.4 MB, free: 24.04 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.02019, allocations: 153.5 kB / 473.5 MB, free: 23.96 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/0.02216, allocations: 1.738 MB / 475.2 MB, free: 23.36 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/0.02218, allocations: 27.75 kB / 475.3 MB, free: 23.36 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.02218, allocations: 0 / 475.3 MB, free: 23.36 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.0222, allocations: 14.75 kB / 475.3 MB, free: 23.36 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008356/0.02303, allocations: 0.7984 MB / 476.1 MB, free: 22.82 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.02304, allocations: 1.5 kB / 476.1 MB, free: 22.82 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/0.02457, allocations: 0.5914 MB / 476.7 MB, free: 22.77 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.33e-05/0.02459, allocations: 9.875 kB / 476.7 MB, free: 22.77 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/0.02474, allocations: 90.98 kB / 476.8 MB, free: 22.73 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.838e-06/0.02475, allocations: 9.156 kB / 476.8 MB, free: 22.73 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.02476, allocations: 3.938 kB / 476.8 MB, free: 22.73 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/0.02715, allocations: 2.126 MB / 478.9 MB, free: 22.08 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000319/0.02746, allocations: 287.4 kB / 479.2 MB, free: 21.96 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.02759, allocations: 74.8 kB / 479.3 MB, free: 21.93 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.0279, allocations: 48.91 kB / 479.3 MB, free: 21.89 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.02808, allocations: 174.4 kB / 479.5 MB, free: 21.86 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-05/0.02817, allocations: 64 kB / 479.5 MB, free: 21.84 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.28e-05/0.02824, allocations: 184.9 kB / 479.7 MB, free: 21.71 MB / 410.8 MB Notification: Performance of sort global known variables: time 4e-08/0.02824, allocations: 3.938 kB / 479.7 MB, free: 21.71 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0006876/0.02893, allocations: 457.8 kB / 480.2 MB, free: 21.63 MB / 410.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.0002356/0.02916, allocations: 214.3 kB / 480.4 MB, free: 21.48 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.03045, allocations: 1.17 MB / 481.6 MB, free: 21.3 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.03045, allocations: 0 / 481.6 MB, free: 21.3 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007528/0.0312, allocations: 0.7825 MB / 482.3 MB, free: 21.15 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004821/0.03169, allocations: 208.2 kB / 482.5 MB, free: 21.04 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.03552, allocations: 3.825 MB / 486.4 MB, free: 18.79 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.03572, allocations: 313.5 kB / 486.7 MB, free: 18.55 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0004308/0.03615, allocations: 252.8 kB / 486.9 MB, free: 18.34 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005895/0.03674, allocations: 403.6 kB / 487.3 MB, free: 17.98 MB / 410.8 MB Notification: Performance of SimCode: time 7.62e-07/0.03674, allocations: 0 / 487.3 MB, free: 17.98 MB / 410.8 MB Notification: Performance of Templates: time 0.02143/0.05817, allocations: 20.74 MB / 0.4961 GB, free: 80 kB / 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 -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 299] Reference file matches [Calling sys.exit(0), Time elapsed: 42.29779327195138]