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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 115.4 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 190 kB / 17.55 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.178/1.178, allocations: 222.9 MB / 241.2 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7871/0.7871, allocations: 119.3 MB / 410.7 MB, free: 9.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 67.91 kB / 0.4918 GB, free: 12.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3805, allocations: 80.68 MB / 0.5706 GB, free: 43.91 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001864/0.3823, allocations: 1.445 MB / 0.572 GB, free: 42.76 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0005849/0.3829, allocations: 0.5091 MB / 0.5725 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.383, allocations: 4 kB / 0.5725 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.655e-05/0.3831, allocations: 13.17 kB / 0.5725 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.3833, allocations: 46.3 kB / 0.5725 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.542e-05/0.3834, allocations: 34.81 kB / 0.5726 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005942/0.384, allocations: 1.019 MB / 0.5736 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.932e-05/0.384, allocations: 9.562 kB / 0.5736 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.3843, allocations: 359.7 kB / 0.5739 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004929/0.3848, allocations: 0.5529 MB / 0.5745 GB, free: 41.28 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.3849, allocations: 63.22 kB / 0.5745 GB, free: 41.28 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.3851, allocations: 81.5 kB / 0.5746 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002766/0.3854, allocations: 460.4 kB / 0.575 GB, free: 41 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003095/0.3857, allocations: 456.3 kB / 0.5755 GB, free: 40.71 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0005033/0.3862, allocations: 0.8094 MB / 0.5763 GB, free: 40.24 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3862, allocations: 4.938 kB / 0.5763 GB, free: 40.23 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3862, allocations: 0 / 0.5763 GB, free: 40.23 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.3862, allocations: 0.9062 kB / 0.5763 GB, free: 40.23 MB / 462.3 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.002529/0.3888, allocations: 1.286 MB / 0.5775 GB, free: 39.37 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3888, allocations: 13.33 kB / 0.5775 GB, free: 39.37 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.389, allocations: 87.28 kB / 0.5776 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004909/0.3895, allocations: 474.7 kB / 0.5781 GB, free: 38.95 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/0.3896, allocations: 61.94 kB / 0.5781 GB, free: 38.91 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.3898, allocations: 114.9 kB / 0.5782 GB, free: 38.86 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.3912, allocations: 1.132 MB / 0.5794 GB, free: 38.23 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.3912, allocations: 0 / 0.5794 GB, free: 38.23 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.828e-05/0.3913, allocations: 35.56 kB / 0.5794 GB, free: 38.21 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.3914, allocations: 22.94 kB / 0.5794 GB, free: 38.2 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.3929, allocations: 1.261 MB / 0.5806 GB, free: 37.74 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.394, allocations: 1.091 MB / 0.5817 GB, free: 37 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005379/0.3994, allocations: 2.783 MB / 0.5844 GB, free: 35.36 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009083/0.4003, allocations: 0.8889 MB / 0.5853 GB, free: 34.47 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002088/0.4005, allocations: 123 kB / 0.5854 GB, free: 34.34 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.4005, allocations: 48.56 kB / 0.5855 GB, free: 34.28 MB / 462.3 MB Notification: Performance of pre-optimization done (n=203): time 2.655e-06/0.4006, allocations: 4 kB / 0.5855 GB, free: 34.27 MB / 462.3 MB Notification: Performance of matching and sorting (n=203): time 0.003032/0.4036, allocations: 2.652 MB / 0.588 GB, free: 31.62 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.4036, allocations: 77.34 kB / 0.5881 GB, free: 31.54 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.4038, allocations: 233 kB / 0.5883 GB, free: 31.3 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.884e-05/0.4039, allocations: 61.7 kB / 0.5884 GB, free: 31.23 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.4039, allocations: 127.3 kB / 0.5885 GB, free: 31.1 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000336/0.4043, allocations: 0.7778 MB / 0.5893 GB, free: 30.31 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003828/0.4046, allocations: 384.3 kB / 0.5897 GB, free: 29.93 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.243e-05/0.4047, allocations: 318 kB / 0.59 GB, free: 29.61 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.4057, allocations: 0.9216 MB / 0.5909 GB, free: 28.69 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.4067, allocations: 0.9486 MB / 0.5918 GB, free: 27.73 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/0.4089, allocations: 2.07 MB / 0.5938 GB, free: 25.63 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.4089, allocations: 0 / 0.5938 GB, free: 25.63 MB / 462.3 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002595/0.4115, allocations: 2.434 MB / 0.5962 GB, free: 23.15 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.4115, allocations: 8 kB / 0.5962 GB, free: 23.14 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4115, allocations: 0 / 0.5962 GB, free: 23.14 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.4115, allocations: 8 kB / 0.5962 GB, free: 23.13 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.4132, allocations: 0.5189 MB / 0.5967 GB, free: 22.61 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.4132, allocations: 8 kB / 0.5967 GB, free: 22.61 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006099/0.4139, allocations: 150.3 kB / 0.5969 GB, free: 22.46 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.414, allocations: 75.97 kB / 0.5969 GB, free: 22.38 MB / 462.3 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.0003041/0.4143, allocations: 313.2 kB / 0.5972 GB, free: 22.07 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.4144, allocations: 90.95 kB / 0.5973 GB, free: 21.98 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00331/0.4178, allocations: 2.716 MB / 0.6 GB, free: 19.21 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.4178, allocations: 28 kB / 0.6 GB, free: 19.18 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4178, allocations: 0 / 0.6 GB, free: 19.18 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/0.4178, allocations: 11.95 kB / 0.6 GB, free: 19.17 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.419, allocations: 1.342 MB / 0.6013 GB, free: 17.77 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.419, allocations: 0 / 0.6013 GB, free: 17.77 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002364/0.4213, allocations: 0.5852 MB / 0.6019 GB, free: 17.18 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.4214, allocations: 16 kB / 0.6019 GB, free: 17.17 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/0.4215, allocations: 87.94 kB / 0.602 GB, free: 17.08 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/0.4215, allocations: 15.94 kB / 0.602 GB, free: 17.07 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4215, allocations: 0 / 0.602 GB, free: 17.07 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003656/0.4252, allocations: 3.623 MB / 0.6055 GB, free: 13.37 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000407/0.4256, allocations: 418.8 kB / 0.6059 GB, free: 12.94 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.4258, allocations: 79.95 kB / 0.606 GB, free: 12.86 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005898/0.4264, allocations: 44 kB / 0.6061 GB, free: 12.82 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/0.4266, allocations: 162 kB / 0.6062 GB, free: 12.66 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.4267, allocations: 83.97 kB / 0.6063 GB, free: 12.57 MB / 462.3 MB Notification: Performance of sorting global known variables: time 8.297e-05/0.4268, allocations: 168.5 kB / 0.6064 GB, free: 12.41 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4268, allocations: 0 / 0.6064 GB, free: 12.41 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005953/0.4274, allocations: 456 kB / 0.6069 GB, free: 11.97 MB / 462.3 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.0002482/0.4277, allocations: 217 kB / 0.6071 GB, free: 11.75 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.007319/0.435, allocations: 5.868 MB / 0.6128 GB, free: 5.848 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.435, allocations: 0 / 0.6128 GB, free: 5.848 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.4362, allocations: 1.262 MB / 0.6141 GB, free: 4.582 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006429/0.4369, allocations: 204.3 kB / 0.6142 GB, free: 4.383 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005845/0.4427, allocations: 5.933 MB / 0.62 GB, free: 14.4 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000636/0.4434, allocations: 1.147 MB / 0.6212 GB, free: 13.22 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.001654/0.445, allocations: 0.7356 MB / 0.6219 GB, free: 12.48 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005481/0.4456, allocations: 167.4 kB / 0.622 GB, free: 12.32 MB / 478.3 MB Notification: Performance of SimCode: time 1.372e-06/0.4456, allocations: 0 / 0.622 GB, free: 12.32 MB / 478.3 MB Notification: Performance of Templates: time 0.02688/0.4725, allocations: 18.83 MB / 0.6404 GB, free: 9.539 MB / 494.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile (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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches