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.000899/0.000899, allocations: 78.66 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.0009289/0.0009289, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.9094/0.9094, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.6093/0.6093, allocations: 88.08 MB / 349.9 MB, free: 14.15 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_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.553e-06/1.553e-06, allocations: 0 / 453.8 MB, free: 32.11 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.472e-05, allocations: 6.312 kB / 453.8 MB, free: 32.11 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002181/0.002205, allocations: 1.414 MB / 455.2 MB, free: 31.14 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006563/0.002862, allocations: 0.5372 MB / 455.7 MB, free: 30.8 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.495e-05/0.002907, allocations: 0 / 455.7 MB, free: 30.8 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 7.367e-05/0.00298, allocations: 14.06 kB / 455.7 MB, free: 30.8 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.003235, allocations: 59.11 kB / 455.8 MB, free: 30.77 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.442e-05/0.00332, allocations: 48.89 kB / 455.8 MB, free: 30.75 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004468/0.003766, allocations: 1.027 MB / 456.9 MB, free: 30.46 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.003805, allocations: 10.16 kB / 456.9 MB, free: 30.46 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004678/0.004273, allocations: 488.2 kB / 457.4 MB, free: 30.3 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004875/0.004761, allocations: 0.5058 MB / 457.9 MB, free: 30.17 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 9.612e-05/0.004857, allocations: 59.75 kB / 457.9 MB, free: 30.17 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.005011, allocations: 87 kB / 458 MB, free: 30.16 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002433/0.005255, allocations: 478.6 kB / 458.5 MB, free: 29.99 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.005465, allocations: 354.9 kB / 458.8 MB, free: 29.87 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005418/0.006007, allocations: 0.9176 MB / 459.7 MB, free: 29.62 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.00601, allocations: 0 / 459.7 MB, free: 29.62 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.202e-06/0.006012, allocations: 0 / 459.7 MB, free: 29.62 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.006025, allocations: 4 kB / 459.7 MB, free: 29.62 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.001509/0.007535, allocations: 1.359 MB / 461.1 MB, free: 28.87 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.007567, allocations: 11.28 kB / 461.1 MB, free: 28.87 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.007748, allocations: 155.5 kB / 461.3 MB, free: 28.8 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.008062, allocations: 361.7 kB / 461.6 MB, free: 28.57 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.008089, allocations: 61.41 kB / 461.7 MB, free: 28.54 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.008203, allocations: 122.2 kB / 461.8 MB, free: 28.49 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005889/0.008792, allocations: 0.625 MB / 462.4 MB, free: 28.36 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.008805, allocations: 0 / 462.4 MB, free: 28.36 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.819e-05/0.008864, allocations: 36.12 kB / 462.5 MB, free: 28.33 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.008875, allocations: 18.44 kB / 462.5 MB, free: 28.33 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.009338, allocations: 427.5 kB / 462.9 MB, free: 28.3 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005652/0.009903, allocations: 0.5861 MB / 463.5 MB, free: 27.91 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.01229, allocations: 1.921 MB / 465.4 MB, free: 27.43 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.01264, allocations: 357.2 kB / 465.7 MB, free: 27.38 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.01278, allocations: 49.67 kB / 465.8 MB, free: 27.37 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.0128, allocations: 54.95 kB / 465.8 MB, free: 27.31 MB / 410.8 MB Notification: Performance of pre-optimization done (n=203): time 3.106e-06/0.01281, allocations: 2.406 kB / 465.8 MB, free: 27.31 MB / 410.8 MB Notification: Performance of matching and sorting (n=203): time 0.001404/0.01421, allocations: 1.409 MB / 467.3 MB, free: 27.03 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.01424, allocations: 71.78 kB / 467.3 MB, free: 26.96 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.69e-05/0.01434, allocations: 275 kB / 467.6 MB, free: 26.76 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.793e-05/0.01439, allocations: 65.52 kB / 467.7 MB, free: 26.7 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.01443, allocations: 176 kB / 467.8 MB, free: 26.54 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.01472, allocations: 0.8447 MB / 468.7 MB, free: 25.85 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002976/0.01502, allocations: 405.4 kB / 469.1 MB, free: 25.65 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.684e-05/0.01508, allocations: 0.4924 MB / 469.6 MB, free: 25.16 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/0.01541, allocations: 291.9 kB / 469.9 MB, free: 25.16 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.01575, allocations: 331.4 kB / 470.2 MB, free: 25.13 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000794/0.01655, allocations: 0.8636 MB / 471 MB, free: 24.84 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.01655, allocations: 4 kB / 471 MB, free: 24.84 MB / 410.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.001294/0.01785, allocations: 1.287 MB / 472.3 MB, free: 24.48 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.01787, allocations: 11.97 kB / 472.3 MB, free: 24.48 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.01787, allocations: 0 / 472.3 MB, free: 24.48 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.01789, allocations: 9.219 kB / 472.3 MB, free: 24.48 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.01899, allocations: 0.5258 MB / 472.9 MB, free: 24.43 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.01901, allocations: 9.219 kB / 472.9 MB, free: 24.43 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/0.01932, allocations: 157.5 kB / 473 MB, free: 24.3 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.179e-05/0.0194, allocations: 57.92 kB / 473.1 MB, free: 24.28 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.0001938/0.01959, allocations: 259.8 kB / 473.3 MB, free: 24.04 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.01976, allocations: 153.5 kB / 473.5 MB, free: 23.96 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/0.02165, allocations: 1.737 MB / 475.2 MB, free: 23.36 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.02168, allocations: 26 kB / 475.3 MB, free: 23.36 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.02168, allocations: 1.281 kB / 475.3 MB, free: 23.36 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.02169, allocations: 13.31 kB / 475.3 MB, free: 23.36 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007655/0.02246, allocations: 0.8033 MB / 476.1 MB, free: 22.82 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.02246, allocations: 0 / 476.1 MB, free: 22.82 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/0.02396, allocations: 0.5899 MB / 476.7 MB, free: 22.77 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-05/0.02398, allocations: 12.97 kB / 476.7 MB, free: 22.77 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/0.02411, allocations: 90.95 kB / 476.8 MB, free: 22.73 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.998e-06/0.02412, allocations: 13.41 kB / 476.8 MB, free: 22.73 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.02412, allocations: 3.938 kB / 476.8 MB, free: 22.72 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/0.02644, allocations: 2.121 MB / 478.9 MB, free: 22.07 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000309/0.02675, allocations: 289 kB / 479.2 MB, free: 21.96 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.02687, allocations: 72.88 kB / 479.3 MB, free: 21.92 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.02717, allocations: 49.88 kB / 479.3 MB, free: 21.88 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.02733, allocations: 177.6 kB / 479.5 MB, free: 21.86 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.141e-05/0.02741, allocations: 64.14 kB / 479.5 MB, free: 21.84 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.984e-05/0.02747, allocations: 190.9 kB / 479.7 MB, free: 21.7 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.02747, allocations: 0 / 479.7 MB, free: 21.7 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0006591/0.02813, allocations: 454.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.0002334/0.02836, allocations: 222 kB / 480.4 MB, free: 21.46 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.02959, allocations: 1.169 MB / 481.6 MB, free: 21.29 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02959, allocations: 1.25 kB / 481.6 MB, free: 21.29 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007092/0.0303, allocations: 0.7817 MB / 482.3 MB, free: 21.14 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.03076, allocations: 204.2 kB / 482.5 MB, free: 21.03 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003645/0.03441, allocations: 3.815 MB / 486.4 MB, free: 18.79 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.03461, allocations: 316.2 kB / 486.7 MB, free: 18.55 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0004413/0.03505, allocations: 260.2 kB / 486.9 MB, free: 18.34 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005945/0.03564, allocations: 400.6 kB / 487.3 MB, free: 17.98 MB / 410.8 MB Notification: Performance of SimCode: time 1.042e-06/0.03564, allocations: 0 / 487.3 MB, free: 17.98 MB / 410.8 MB Notification: Performance of Templates: time 0.01864/0.05429, allocations: 20.75 MB / 0.4962 GB, free: 84 kB / 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 -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: 21.316857177298516]