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.0009697/0.0009697, allocations: 89.56 kB / 17.31 MB, free: 6.027 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.001255/0.001255, allocations: 178.7 kB / 18.21 MB, free: 5.406 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.273/1.273, allocations: 223.3 MB / 242.3 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9193/0.9193, allocations: 120.5 MB / 413.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.0003599, allocations: 12 kB / 0.4969 GB, free: 10.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4753/0.4757, allocations: 82.82 MB / 0.5778 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001132/0.4768, allocations: 1.11 MB / 0.5789 GB, free: 41.49 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006905/0.4775, allocations: 0.5102 MB / 0.5793 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.938e-05/0.4776, allocations: 0 / 0.5793 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.531e-05/0.4777, allocations: 5.297 kB / 0.5794 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.4779, allocations: 54.02 kB / 0.5794 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.361e-05/0.478, allocations: 32.38 kB / 0.5794 GB, free: 41.03 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007259/0.4787, allocations: 1.045 MB / 0.5805 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.065e-05/0.4788, allocations: 9.406 kB / 0.5805 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003334/0.4791, allocations: 357.2 kB / 0.5808 GB, free: 40.34 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005831/0.4797, allocations: 0.5559 MB / 0.5813 GB, free: 40.02 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.4798, allocations: 58.06 kB / 0.5814 GB, free: 40.02 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.48, allocations: 85.59 kB / 0.5815 GB, free: 40 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0003267/0.4804, allocations: 460.1 kB / 0.5819 GB, free: 39.73 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003736/0.4807, allocations: 480.9 kB / 0.5824 GB, free: 39.42 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.4811, allocations: 0.5296 MB / 0.5829 GB, free: 39.14 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4812, allocations: 4.875 kB / 0.5829 GB, free: 39.14 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4812, allocations: 0 / 0.5829 GB, free: 39.14 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.4812, allocations: 4 kB / 0.5829 GB, free: 39.14 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.003003/0.4842, allocations: 1.556 MB / 0.5844 GB, free: 38.15 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.4842, allocations: 9.062 kB / 0.5844 GB, free: 38.15 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.4844, allocations: 87.41 kB / 0.5845 GB, free: 38.11 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005425/0.485, allocations: 481.9 kB / 0.585 GB, free: 37.72 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/0.485, allocations: 62.16 kB / 0.585 GB, free: 37.69 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.4852, allocations: 115.2 kB / 0.5852 GB, free: 37.64 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.4868, allocations: 1.136 MB / 0.5863 GB, free: 37.01 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.4868, allocations: 1.281 kB / 0.5863 GB, free: 37.01 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.426e-05/0.4869, allocations: 30.31 kB / 0.5863 GB, free: 36.98 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.4869, allocations: 18.94 kB / 0.5863 GB, free: 36.98 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.4884, allocations: 1.262 MB / 0.5875 GB, free: 36 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.4894, allocations: 1.092 MB / 0.5886 GB, free: 34.85 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005194/0.4946, allocations: 2.785 MB / 0.5913 GB, free: 32.07 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009667/0.4956, allocations: 0.8811 MB / 0.5922 GB, free: 31.19 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001974/0.4958, allocations: 123 kB / 0.5923 GB, free: 31.05 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.4959, allocations: 56.56 kB / 0.5924 GB, free: 30.98 MB / 462.3 MB Notification: Performance of pre-optimization done (n=203): time 3.086e-06/0.4959, allocations: 0 / 0.5924 GB, free: 30.98 MB / 462.3 MB Notification: Performance of matching and sorting (n=203): time 0.003228/0.4991, allocations: 2.652 MB / 0.5949 GB, free: 28.33 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.4991, allocations: 73.41 kB / 0.595 GB, free: 28.25 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.4993, allocations: 229 kB / 0.5952 GB, free: 28.02 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.839e-05/0.4994, allocations: 57.7 kB / 0.5953 GB, free: 27.95 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/0.4995, allocations: 127.3 kB / 0.5954 GB, free: 27.82 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000361/0.4998, allocations: 0.7778 MB / 0.5962 GB, free: 27.04 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.5, allocations: 190 kB / 0.5964 GB, free: 26.84 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.461e-05/0.5001, allocations: 321.9 kB / 0.5967 GB, free: 26.52 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.5012, allocations: 0.9216 MB / 0.5976 GB, free: 25.6 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.5023, allocations: 0.9486 MB / 0.5985 GB, free: 24.64 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002326/0.5046, allocations: 2.066 MB / 0.6005 GB, free: 22.54 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.5047, allocations: 0 / 0.6005 GB, free: 22.54 MB / 462.3 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002817/0.5075, allocations: 2.438 MB / 0.6029 GB, free: 20.06 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.5075, allocations: 8 kB / 0.6029 GB, free: 20.05 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.5075, allocations: 0 / 0.6029 GB, free: 20.05 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.5075, allocations: 12 kB / 0.6029 GB, free: 20.04 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/0.5093, allocations: 0.5189 MB / 0.6034 GB, free: 19.52 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.5094, allocations: 8 kB / 0.6034 GB, free: 19.51 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007345/0.5101, allocations: 150.3 kB / 0.6036 GB, free: 19.36 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.5102, allocations: 75.97 kB / 0.6036 GB, free: 19.29 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.0003587/0.5106, allocations: 309.2 kB / 0.6039 GB, free: 18.98 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.5107, allocations: 90.95 kB / 0.604 GB, free: 18.89 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003537/0.5143, allocations: 2.728 MB / 0.6067 GB, free: 16.11 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.5143, allocations: 28 kB / 0.6067 GB, free: 16.08 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.5143, allocations: 0 / 0.6067 GB, free: 16.08 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.949e-05/0.5143, allocations: 15.95 kB / 0.6067 GB, free: 16.06 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.5156, allocations: 1.342 MB / 0.608 GB, free: 14.66 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.5156, allocations: 0 / 0.608 GB, free: 14.66 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002491/0.5181, allocations: 0.5853 MB / 0.6086 GB, free: 14.08 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.5181, allocations: 11.98 kB / 0.6086 GB, free: 14.07 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/0.5183, allocations: 91.94 kB / 0.6087 GB, free: 13.98 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.5183, allocations: 8 kB / 0.6087 GB, free: 13.97 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5183, allocations: 0 / 0.6087 GB, free: 13.97 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00395/0.5223, allocations: 3.623 MB / 0.6122 GB, free: 10.27 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005021/0.5228, allocations: 418.8 kB / 0.6126 GB, free: 9.84 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.523, allocations: 75.95 kB / 0.6127 GB, free: 9.766 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006683/0.5236, allocations: 44 kB / 0.6128 GB, free: 9.723 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/0.5239, allocations: 162 kB / 0.6129 GB, free: 9.562 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.524, allocations: 79.97 kB / 0.613 GB, free: 9.484 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001035/0.5241, allocations: 168.5 kB / 0.6132 GB, free: 9.324 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5241, allocations: 0 / 0.6132 GB, free: 9.324 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007369/0.5248, allocations: 452 kB / 0.6136 GB, free: 8.883 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.0002781/0.5251, allocations: 221 kB / 0.6138 GB, free: 8.656 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002604/0.5277, allocations: 2.275 MB / 0.616 GB, free: 6.352 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5277, allocations: 4 kB / 0.616 GB, free: 6.348 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.5291, allocations: 1.258 MB / 0.6173 GB, free: 5.086 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007681/0.5299, allocations: 204.2 kB / 0.6174 GB, free: 4.887 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006865/0.5367, allocations: 6.637 MB / 0.6239 GB, free: 14.2 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007596/0.5375, allocations: 1.151 MB / 0.6251 GB, free: 13.01 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007319/0.5383, allocations: 179.4 kB / 0.6252 GB, free: 12.84 MB / 478.3 MB Notification: Performance of SimCode: time 2.585e-06/0.5383, allocations: 0 / 0.6252 GB, free: 12.84 MB / 478.3 MB Notification: Performance of Templates: time 0.0261/0.5644, allocations: 18.4 MB / 0.6432 GB, free: 10.45 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/jenkins1/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