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.001287/0.001286, allocations: 111.6 kB / 16.51 MB, free: 6.707 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.001235/0.001235, allocations: 193.9 kB / 17.43 MB, free: 6.062 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.302/1.302, allocations: 222.9 MB / 241.1 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9536/0.9536, allocations: 119.3 MB / 410.6 MB, free: 9.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 55.91 kB / 0.4916 GB, free: 12.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4533/0.4545, allocations: 80.69 MB / 0.5704 GB, free: 43.35 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002016/0.4566, allocations: 1.449 MB / 0.5718 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006655/0.4573, allocations: 0.5202 MB / 0.5723 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.921e-05/0.4573, allocations: 0 / 0.5723 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.765e-05/0.4574, allocations: 7.922 kB / 0.5723 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.4576, allocations: 46.92 kB / 0.5723 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.108e-05/0.4577, allocations: 33.58 kB / 0.5724 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006327/0.4583, allocations: 1.036 MB / 0.5734 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.4584, allocations: 9.781 kB / 0.5734 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.4587, allocations: 364.5 kB / 0.5737 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004979/0.4592, allocations: 0.5561 MB / 0.5743 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.4594, allocations: 61.67 kB / 0.5743 GB, free: 40.72 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.4596, allocations: 88.84 kB / 0.5744 GB, free: 40.7 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0003233/0.4599, allocations: 460.8 kB / 0.5749 GB, free: 40.43 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003648/0.4603, allocations: 456.4 kB / 0.5753 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0005428/0.4608, allocations: 0.7984 MB / 0.5761 GB, free: 39.68 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4608, allocations: 1.188 kB / 0.5761 GB, free: 39.68 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4608, allocations: 0 / 0.5761 GB, free: 39.68 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.4608, allocations: 0 / 0.5761 GB, free: 39.68 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.002497/0.4633, allocations: 1.287 MB / 0.5773 GB, free: 38.82 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.4634, allocations: 9.625 kB / 0.5773 GB, free: 38.82 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.4636, allocations: 87.91 kB / 0.5774 GB, free: 38.78 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005205/0.4641, allocations: 469.9 kB / 0.5779 GB, free: 38.4 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.4641, allocations: 69.66 kB / 0.5779 GB, free: 38.36 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.4643, allocations: 115.1 kB / 0.5781 GB, free: 38.3 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.4659, allocations: 1.136 MB / 0.5792 GB, free: 37.67 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.466, allocations: 3.938 kB / 0.5792 GB, free: 37.67 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.326e-05/0.4661, allocations: 34.38 kB / 0.5792 GB, free: 37.64 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.4661, allocations: 19.12 kB / 0.5792 GB, free: 37.64 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.4677, allocations: 1.262 MB / 0.5805 GB, free: 37.18 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.4689, allocations: 1.095 MB / 0.5815 GB, free: 36.44 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00574/0.4747, allocations: 2.778 MB / 0.5842 GB, free: 35.2 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.4757, allocations: 0.8854 MB / 0.5851 GB, free: 34.52 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000219/0.4759, allocations: 127 kB / 0.5852 GB, free: 34.38 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.476, allocations: 52.56 kB / 0.5853 GB, free: 34.32 MB / 462.3 MB Notification: Performance of pre-optimization done (n=203): time 2.946e-06/0.476, allocations: 0 / 0.5853 GB, free: 34.32 MB / 462.3 MB Notification: Performance of matching and sorting (n=203): time 0.003225/0.4792, allocations: 2.652 MB / 0.5879 GB, free: 31.66 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.4792, allocations: 77.34 kB / 0.5879 GB, free: 31.58 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.4794, allocations: 229 kB / 0.5882 GB, free: 31.34 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.902e-05/0.4795, allocations: 57.7 kB / 0.5882 GB, free: 31.28 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.4795, allocations: 127.3 kB / 0.5883 GB, free: 31.15 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003392/0.4799, allocations: 0.7817 MB / 0.5891 GB, free: 30.36 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003864/0.4803, allocations: 380.3 kB / 0.5895 GB, free: 29.98 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.062e-05/0.4803, allocations: 326 kB / 0.5898 GB, free: 29.66 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.4814, allocations: 0.9177 MB / 0.5907 GB, free: 28.73 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.4825, allocations: 0.9525 MB / 0.5916 GB, free: 27.77 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/0.4848, allocations: 2.062 MB / 0.5936 GB, free: 25.68 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.4848, allocations: 0 / 0.5936 GB, free: 25.68 MB / 462.3 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002775/0.4876, allocations: 2.434 MB / 0.596 GB, free: 23.2 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.4876, allocations: 4.781 kB / 0.596 GB, free: 23.2 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4876, allocations: 4 kB / 0.596 GB, free: 23.19 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.4876, allocations: 8 kB / 0.596 GB, free: 23.18 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.4894, allocations: 0.5228 MB / 0.5965 GB, free: 22.66 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.4894, allocations: 8 kB / 0.5965 GB, free: 22.65 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005963/0.49, allocations: 146.3 kB / 0.5967 GB, free: 22.51 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.4901, allocations: 79.91 kB / 0.5967 GB, free: 22.43 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.0003158/0.4904, allocations: 301.3 kB / 0.597 GB, free: 22.12 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.4906, allocations: 90.95 kB / 0.5971 GB, free: 22.04 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003425/0.494, allocations: 2.716 MB / 0.5998 GB, free: 19.27 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.494, allocations: 28 kB / 0.5998 GB, free: 19.24 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.4941, allocations: 4 kB / 0.5998 GB, free: 19.23 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/0.4941, allocations: 15.89 kB / 0.5998 GB, free: 19.22 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.4953, allocations: 1.346 MB / 0.6011 GB, free: 17.82 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4954, allocations: 0 / 0.6011 GB, free: 17.82 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002382/0.4977, allocations: 0.5892 MB / 0.6017 GB, free: 17.23 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.4978, allocations: 15.98 kB / 0.6017 GB, free: 17.21 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/0.4979, allocations: 87.94 kB / 0.6018 GB, free: 17.12 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.637e-06/0.4979, allocations: 12 kB / 0.6018 GB, free: 17.11 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4979, allocations: 3.984 kB / 0.6018 GB, free: 17.11 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003867/0.5018, allocations: 3.623 MB / 0.6054 GB, free: 13.41 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004515/0.5023, allocations: 414.8 kB / 0.6057 GB, free: 12.98 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.5024, allocations: 79.95 kB / 0.6058 GB, free: 12.91 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005657/0.503, allocations: 44 kB / 0.6059 GB, free: 12.86 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002317/0.5033, allocations: 162 kB / 0.606 GB, free: 12.7 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/0.5034, allocations: 83.91 kB / 0.6061 GB, free: 12.62 MB / 462.3 MB Notification: Performance of sorting global known variables: time 9.224e-05/0.5035, allocations: 172.5 kB / 0.6063 GB, free: 12.46 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5035, allocations: 0 / 0.6063 GB, free: 12.46 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0006823/0.5042, allocations: 448 kB / 0.6067 GB, free: 12.02 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.0002539/0.5044, allocations: 217.1 kB / 0.6069 GB, free: 11.8 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002483/0.5069, allocations: 2.267 MB / 0.6091 GB, free: 9.5 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5069, allocations: 0 / 0.6091 GB, free: 9.5 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.5082, allocations: 1.273 MB / 0.6104 GB, free: 8.223 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006786/0.5089, allocations: 204.2 kB / 0.6106 GB, free: 8.023 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005627/0.5145, allocations: 5.931 MB / 0.6163 GB, free: 2.043 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.5149, allocations: 1.155 MB / 0.6175 GB, free: 0.8555 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001367/0.5163, 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.0005613/0.5169, allocations: 171.4 kB / 0.6184 GB, free: 15.95 MB / 478.3 MB Notification: Performance of SimCode: time 4e-07/0.5169, allocations: 0 / 0.6184 GB, free: 15.95 MB / 478.3 MB Notification: Performance of Templates: time 0.02505/0.5419, allocations: 17.76 MB / 0.6357 GB, free: 14.23 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/jenkins/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