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.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_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_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.001136/0.001136, allocations: 95.91 kB / 16.5 MB, free: 6.641 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.001103/0.001103, allocations: 193.2 kB / 17.42 MB, free: 6.066 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.249/1.249, allocations: 222.9 MB / 241.1 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8715/0.8715, allocations: 119.3 MB / 410.6 MB, free: 9.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 59.91 kB / 0.4916 GB, free: 12.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4366, allocations: 80.67 MB / 0.5704 GB, free: 43.37 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001976/0.4386, allocations: 1.452 MB / 0.5718 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006636/0.4393, allocations: 0.5165 MB / 0.5723 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.823e-05/0.4393, allocations: 0 / 0.5723 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.966e-05/0.4394, allocations: 9.078 kB / 0.5723 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.4396, allocations: 46.42 kB / 0.5723 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.194e-05/0.4397, allocations: 32.5 kB / 0.5724 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005982/0.4403, allocations: 1.037 MB / 0.5734 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.4404, allocations: 10.22 kB / 0.5734 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000284/0.4406, allocations: 364.7 kB / 0.5737 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000511/0.4412, allocations: 0.5583 MB / 0.5743 GB, free: 40.74 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.4413, allocations: 58.44 kB / 0.5743 GB, free: 40.74 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.4415, allocations: 81.86 kB / 0.5744 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0003297/0.4419, allocations: 468.4 kB / 0.5749 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003566/0.4422, allocations: 451.3 kB / 0.5753 GB, free: 40.18 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0005336/0.4428, allocations: 0.8035 MB / 0.5761 GB, free: 39.7 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.4428, allocations: 0 / 0.5761 GB, free: 39.7 MB / 462.3 MB Notification: Performance of FrontEnd: time 8.31e-07/0.4428, allocations: 0 / 0.5761 GB, free: 39.7 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.4428, allocations: 0 / 0.5761 GB, free: 39.7 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.002771/0.4456, allocations: 1.287 MB / 0.5773 GB, free: 38.84 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.4456, allocations: 9.625 kB / 0.5774 GB, free: 38.84 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.4458, allocations: 91.89 kB / 0.5774 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005216/0.4463, allocations: 469.4 kB / 0.5779 GB, free: 38.41 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.034e-05/0.4464, allocations: 70.53 kB / 0.578 GB, free: 38.38 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.4466, allocations: 114.7 kB / 0.5781 GB, free: 38.32 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.4482, allocations: 1.132 MB / 0.5792 GB, free: 37.7 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.4483, allocations: 0 / 0.5792 GB, free: 37.7 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.244e-05/0.4483, allocations: 34.38 kB / 0.5792 GB, free: 37.67 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.4484, allocations: 23.36 kB / 0.5792 GB, free: 37.66 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.45, allocations: 1.262 MB / 0.5805 GB, free: 37.2 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.4512, allocations: 1.088 MB / 0.5815 GB, free: 36.47 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005895/0.4571, allocations: 2.783 MB / 0.5842 GB, free: 35.22 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.4584, allocations: 0.8833 MB / 0.5851 GB, free: 34.52 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002885/0.4587, allocations: 127 kB / 0.5852 GB, free: 34.38 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.4588, allocations: 60.56 kB / 0.5853 GB, free: 34.31 MB / 462.3 MB Notification: Performance of pre-optimization done (n=203): time 4.358e-06/0.4588, allocations: 0 / 0.5853 GB, free: 34.31 MB / 462.3 MB Notification: Performance of matching and sorting (n=203): time 0.003453/0.4622, allocations: 2.652 MB / 0.5879 GB, free: 31.66 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.4623, allocations: 73.41 kB / 0.5879 GB, free: 31.57 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.4624, allocations: 233 kB / 0.5882 GB, free: 31.34 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.837e-05/0.4625, allocations: 53.7 kB / 0.5882 GB, free: 31.28 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.4626, allocations: 131.3 kB / 0.5883 GB, free: 31.14 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003385/0.4629, allocations: 0.7817 MB / 0.5891 GB, free: 30.35 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000386/0.4633, allocations: 376.3 kB / 0.5895 GB, free: 29.98 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.677e-05/0.4633, allocations: 326 kB / 0.5898 GB, free: 29.65 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.4645, allocations: 0.9216 MB / 0.5907 GB, free: 28.73 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.4655, allocations: 0.9525 MB / 0.5916 GB, free: 27.77 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/0.4678, allocations: 2.062 MB / 0.5936 GB, free: 25.67 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.4678, allocations: 0 / 0.5936 GB, free: 25.67 MB / 462.3 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002827/0.4707, allocations: 2.438 MB / 0.596 GB, free: 23.19 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.4707, allocations: 4 kB / 0.596 GB, free: 23.18 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.4707, allocations: 0 / 0.596 GB, free: 23.18 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.4707, allocations: 8 kB / 0.596 GB, free: 23.18 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/0.4726, allocations: 0.5267 MB / 0.5965 GB, free: 22.65 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.4726, allocations: 8 kB / 0.5965 GB, free: 22.64 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000665/0.4733, allocations: 142.3 kB / 0.5967 GB, free: 22.5 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.4734, allocations: 79.97 kB / 0.5967 GB, free: 22.42 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.0003551/0.4738, allocations: 309.3 kB / 0.597 GB, free: 22.11 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.4739, allocations: 90.91 kB / 0.5971 GB, free: 22.02 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003411/0.4773, allocations: 2.716 MB / 0.5998 GB, free: 19.25 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.4774, allocations: 24 kB / 0.5998 GB, free: 19.23 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.4774, allocations: 8 kB / 0.5998 GB, free: 19.22 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/0.4774, allocations: 15.94 kB / 0.5998 GB, free: 19.2 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.4787, allocations: 1.338 MB / 0.6011 GB, free: 17.81 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.4787, allocations: 0 / 0.6011 GB, free: 17.81 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002513/0.4812, allocations: 0.593 MB / 0.6017 GB, free: 17.21 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/0.4813, allocations: 8 kB / 0.6017 GB, free: 17.21 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/0.4814, allocations: 91.94 kB / 0.6018 GB, free: 17.12 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/0.4814, allocations: 8 kB / 0.6018 GB, free: 17.11 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4814, allocations: 7.922 kB / 0.6018 GB, free: 17.1 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003907/0.4854, allocations: 3.623 MB / 0.6054 GB, free: 13.4 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005075/0.4859, allocations: 422.8 kB / 0.6058 GB, free: 12.97 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.4861, allocations: 75.95 kB / 0.6058 GB, free: 12.89 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006232/0.4867, allocations: 44 kB / 0.6059 GB, free: 12.85 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/0.4869, allocations: 166 kB / 0.606 GB, free: 12.69 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.4871, allocations: 79.97 kB / 0.6061 GB, free: 12.61 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001143/0.4872, allocations: 168.5 kB / 0.6063 GB, free: 12.45 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4872, allocations: 0 / 0.6063 GB, free: 12.45 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007289/0.4879, allocations: 456 kB / 0.6067 GB, free: 12 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.0002702/0.4882, allocations: 213 kB / 0.6069 GB, free: 11.79 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002544/0.4908, allocations: 2.271 MB / 0.6091 GB, free: 9.484 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4908, allocations: 4 kB / 0.6091 GB, free: 9.48 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.492, allocations: 1.266 MB / 0.6104 GB, free: 8.211 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007118/0.4927, allocations: 196.3 kB / 0.6105 GB, free: 8.02 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005764/0.4985, allocations: 5.931 MB / 0.6163 GB, free: 2.039 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.4989, allocations: 1.151 MB / 0.6175 GB, free: 0.8555 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001515/0.5005, allocations: 0.7395 MB / 0.6182 GB, free: 116 kB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005652/0.501, allocations: 171.3 kB / 0.6184 GB, free: 15.95 MB / 478.3 MB Notification: Performance of SimCode: time 8.12e-07/0.5011, allocations: 4 kB / 0.6184 GB, free: 15.94 MB / 478.3 MB Notification: Performance of Templates: time 0.02706/0.5281, allocations: 17.76 MB / 0.6357 GB, free: 14.23 MB / 494.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile (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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) 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","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches