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.001253/0.001253, allocations: 109.9 kB / 17.29 MB, free: 6.059 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: 197.3 kB / 18.21 MB, free: 5.145 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.327/1.327, allocations: 222.9 MB / 241.9 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.9058/0.9058, allocations: 119.3 MB / 411.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 59.91 kB / 0.4924 GB, free: 12.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4613/0.4627, allocations: 80.68 MB / 0.5712 GB, free: 43.82 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002138/0.4649, allocations: 1.454 MB / 0.5726 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007073/0.4656, allocations: 0.5064 MB / 0.5731 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.691e-05/0.4657, allocations: 4 kB / 0.5731 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.626e-05/0.4658, allocations: 5.156 kB / 0.5731 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.466, allocations: 46.22 kB / 0.5732 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.405e-05/0.4661, allocations: 38.64 kB / 0.5732 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006871/0.4668, allocations: 1.016 MB / 0.5742 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.4669, allocations: 14.09 kB / 0.5742 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000318/0.4672, allocations: 358.7 kB / 0.5746 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005604/0.4678, allocations: 0.558 MB / 0.5751 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.4679, allocations: 62.09 kB / 0.5752 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.4681, allocations: 81.94 kB / 0.5752 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0003153/0.4684, allocations: 461.5 kB / 0.5757 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000365/0.4688, allocations: 455.2 kB / 0.5761 GB, free: 40.63 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.4692, allocations: 0.537 MB / 0.5766 GB, free: 40.36 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4692, allocations: 4 kB / 0.5767 GB, free: 40.35 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4692, allocations: 1.375 kB / 0.5767 GB, free: 40.35 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.4692, allocations: 0 / 0.5767 GB, free: 40.35 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.002798/0.472, allocations: 1.286 MB / 0.5779 GB, free: 39.48 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.4721, allocations: 14.02 kB / 0.5779 GB, free: 39.48 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.4723, allocations: 87.25 kB / 0.578 GB, free: 39.44 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000565/0.4729, allocations: 469.8 kB / 0.5785 GB, free: 39.06 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.66e-05/0.4729, allocations: 66.22 kB / 0.5785 GB, free: 39.03 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.4731, allocations: 115.3 kB / 0.5786 GB, free: 38.98 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.4748, allocations: 1.137 MB / 0.5797 GB, free: 38.34 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.4748, allocations: 3.984 kB / 0.5797 GB, free: 38.34 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.231e-05/0.4749, allocations: 34.31 kB / 0.5798 GB, free: 38.31 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.4749, allocations: 18.94 kB / 0.5798 GB, free: 38.31 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/0.4766, allocations: 1.262 MB / 0.581 GB, free: 37.85 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.478, allocations: 1.095 MB / 0.5821 GB, free: 37.11 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005949/0.484, allocations: 2.781 MB / 0.5848 GB, free: 35.61 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.4851, allocations: 0.885 MB / 0.5857 GB, free: 34.72 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002418/0.4853, allocations: 123.1 kB / 0.5858 GB, free: 34.58 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.4854, allocations: 56.5 kB / 0.5858 GB, free: 34.52 MB / 462.3 MB Notification: Performance of pre-optimization done (n=203): time 3.988e-06/0.4854, allocations: 0 / 0.5858 GB, free: 34.52 MB / 462.3 MB Notification: Performance of matching and sorting (n=203): time 0.003374/0.4888, allocations: 2.652 MB / 0.5884 GB, free: 31.86 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.4888, allocations: 73.41 kB / 0.5885 GB, free: 31.78 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.489, allocations: 237 kB / 0.5887 GB, free: 31.54 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.906e-05/0.4891, allocations: 53.7 kB / 0.5888 GB, free: 31.48 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.4891, allocations: 135.3 kB / 0.5889 GB, free: 31.34 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003881/0.4895, allocations: 0.7817 MB / 0.5897 GB, free: 30.55 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004121/0.4899, allocations: 376.3 kB / 0.59 GB, free: 30.18 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.984e-05/0.49, allocations: 322 kB / 0.5903 GB, free: 29.86 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.4912, allocations: 0.9216 MB / 0.5912 GB, free: 28.93 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.4924, allocations: 0.9486 MB / 0.5922 GB, free: 27.97 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002435/0.4948, allocations: 2.07 MB / 0.5942 GB, free: 25.87 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.4948, allocations: 0 / 0.5942 GB, free: 25.87 MB / 462.3 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003025/0.4979, allocations: 2.434 MB / 0.5966 GB, free: 23.39 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.4979, allocations: 4 kB / 0.5966 GB, free: 23.39 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.4979, allocations: 0 / 0.5966 GB, free: 23.39 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.498, allocations: 8 kB / 0.5966 GB, free: 23.38 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/0.4998, allocations: 0.5228 MB / 0.5971 GB, free: 22.86 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.813e-05/0.4999, allocations: 8 kB / 0.5971 GB, free: 22.85 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008016/0.5007, allocations: 142.3 kB / 0.5972 GB, free: 22.71 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/0.5009, allocations: 79.97 kB / 0.5973 GB, free: 22.63 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.0004623/0.5013, allocations: 313.3 kB / 0.5976 GB, free: 22.31 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/0.5016, allocations: 86.97 kB / 0.5977 GB, free: 22.23 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003905/0.5055, allocations: 2.716 MB / 0.6003 GB, free: 19.46 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.5055, allocations: 24 kB / 0.6004 GB, free: 19.43 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.5055, allocations: 4 kB / 0.6004 GB, free: 19.43 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.16e-05/0.5056, allocations: 15.94 kB / 0.6004 GB, free: 19.41 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.5071, allocations: 1.334 MB / 0.6017 GB, free: 18.02 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.5071, allocations: 0 / 0.6017 GB, free: 18.02 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002591/0.5097, allocations: 0.593 MB / 0.6023 GB, free: 17.43 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.343e-05/0.5097, allocations: 12 kB / 0.6023 GB, free: 17.42 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002641/0.51, allocations: 95.92 kB / 0.6024 GB, free: 17.32 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-05/0.51, allocations: 8 kB / 0.6024 GB, free: 17.32 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5101, allocations: 0 / 0.6024 GB, free: 17.32 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004569/0.5146, allocations: 3.611 MB / 0.6059 GB, free: 13.63 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006357/0.5153, allocations: 418.8 kB / 0.6063 GB, free: 13.2 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002446/0.5156, allocations: 79.89 kB / 0.6064 GB, free: 13.12 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007526/0.5163, allocations: 44 kB / 0.6064 GB, free: 13.08 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/0.5166, allocations: 170 kB / 0.6066 GB, free: 12.91 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/0.5167, allocations: 79.97 kB / 0.6067 GB, free: 12.83 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001269/0.5169, allocations: 176.4 kB / 0.6068 GB, free: 12.66 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5169, allocations: 3.938 kB / 0.6068 GB, free: 12.66 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0009206/0.5178, allocations: 456 kB / 0.6073 GB, free: 12.21 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.0003522/0.5182, allocations: 213 kB / 0.6075 GB, free: 12 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.00877/0.527, allocations: 5.864 MB / 0.6132 GB, free: 6.102 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.527, allocations: 0 / 0.6132 GB, free: 6.102 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.5287, allocations: 1.265 MB / 0.6144 GB, free: 4.832 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.5298, allocations: 208.2 kB / 0.6146 GB, free: 4.629 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007063/0.5368, allocations: 5.981 MB / 0.6205 GB, free: 14.59 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007661/0.5376, allocations: 1.159 MB / 0.6216 GB, free: 13.4 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009152/0.5386, allocations: 171.4 kB / 0.6218 GB, free: 13.23 MB / 478.3 MB Notification: Performance of SimCode: time 8.72e-07/0.5386, allocations: 4 kB / 0.6218 GB, free: 13.23 MB / 478.3 MB Notification: Performance of Templates: time 0.02906/0.5677, allocations: 18.51 MB / 0.6398 GB, free: 10.73 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