Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 91.45 kB / 17.31 MB, free: 6.535 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.001534/0.001534, allocations: 182.2 kB / 18.21 MB, free: 5.676 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.331/1.331, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.908/0.908, allocations: 120.5 MB / 413.8 MB, free: 9.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003355, allocations: 7.984 kB / 0.4969 GB, free: 10.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5033/0.5037, allocations: 82.83 MB / 0.5778 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001136/0.5048, allocations: 1.11 MB / 0.5789 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006851/0.5055, allocations: 0.5091 MB / 0.5793 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.5056, allocations: 0 / 0.5793 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.311e-05/0.5057, allocations: 5.719 kB / 0.5794 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.5059, allocations: 55.22 kB / 0.5794 GB, free: 40.69 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.603e-05/0.506, allocations: 35.28 kB / 0.5794 GB, free: 40.66 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.5062, allocations: 235.6 kB / 0.5797 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.457e-05/0.5062, allocations: 5.281 kB / 0.5797 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.5064, allocations: 75.31 kB / 0.5797 GB, free: 40.51 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.5065, allocations: 111.8 kB / 0.5798 GB, free: 40.44 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.5066, allocations: 8.5 kB / 0.5799 GB, free: 40.44 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-05/0.5067, allocations: 27.39 kB / 0.5799 GB, free: 40.43 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.289e-05/0.5068, allocations: 65.52 kB / 0.5799 GB, free: 40.39 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.56e-05/0.5068, allocations: 100.9 kB / 0.58 GB, free: 40.32 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.507, allocations: 92.08 kB / 0.5801 GB, free: 40.27 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.507, allocations: 0 / 0.5801 GB, free: 40.27 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.804e-06/0.507, allocations: 1.219 kB / 0.5801 GB, free: 40.27 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.507, allocations: 0 / 0.5801 GB, free: 40.27 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006199/0.5076, allocations: 458.2 kB / 0.5806 GB, free: 39.84 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.5076, allocations: 10.31 kB / 0.5806 GB, free: 39.84 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.5077, allocations: 15.5 kB / 0.5806 GB, free: 39.83 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.5079, allocations: 216.9 kB / 0.5808 GB, free: 39.6 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.5079, allocations: 12.39 kB / 0.5808 GB, free: 39.59 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.5079, allocations: 21.59 kB / 0.5808 GB, free: 39.58 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.5082, allocations: 176.5 kB / 0.581 GB, free: 39.47 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.5082, allocations: 0 / 0.581 GB, free: 39.47 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.5082, allocations: 1.438 kB / 0.581 GB, free: 39.47 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.5082, allocations: 2.656 kB / 0.581 GB, free: 39.47 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.5085, allocations: 144.2 kB / 0.5811 GB, free: 39.41 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.5087, allocations: 287.9 kB / 0.5814 GB, free: 39.14 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008501/0.5096, allocations: 350.8 kB / 0.5817 GB, free: 38.99 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.5098, allocations: 124.5 kB / 0.5819 GB, free: 38.93 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001347/0.5099, allocations: 87.56 kB / 0.582 GB, free: 38.83 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.5099, allocations: 36.41 kB / 0.582 GB, free: 38.79 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.342e-06/0.5099, allocations: 4 kB / 0.582 GB, free: 38.78 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0006236/0.5106, allocations: 378 kB / 0.5824 GB, free: 38.61 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.5106, allocations: 55.09 kB / 0.5824 GB, free: 38.54 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.988e-05/0.5107, allocations: 134.2 kB / 0.5825 GB, free: 38.43 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.5107, allocations: 30.61 kB / 0.5826 GB, free: 38.39 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.5107, allocations: 91.48 kB / 0.5826 GB, free: 38.3 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.362e-05/0.5108, allocations: 112.2 kB / 0.5828 GB, free: 38.2 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.5109, allocations: 34.95 kB / 0.5828 GB, free: 38.17 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.834e-05/0.5109, allocations: 332.3 kB / 0.5831 GB, free: 37.84 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.5111, allocations: 128.2 kB / 0.5832 GB, free: 37.78 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.5113, allocations: 131.5 kB / 0.5834 GB, free: 37.72 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/0.5117, allocations: 272.3 kB / 0.5836 GB, free: 37.6 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.5117, allocations: 1.25 kB / 0.5836 GB, free: 37.6 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004623/0.5122, allocations: 358.7 kB / 0.584 GB, free: 37.43 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.5122, allocations: 6.312 kB / 0.584 GB, free: 37.43 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.5122, allocations: 3.938 kB / 0.584 GB, free: 37.42 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.5122, allocations: 1.25 kB / 0.584 GB, free: 37.42 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/0.5125, allocations: 79.23 kB / 0.584 GB, free: 37.4 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.5125, allocations: 5.25 kB / 0.584 GB, free: 37.4 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.5126, allocations: 23.5 kB / 0.5841 GB, free: 37.38 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.5127, allocations: 11.56 kB / 0.5841 GB, free: 37.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 (39): * Single equations (assignments): 39 * 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 8.633e-05/0.5128, allocations: 137 kB / 0.5842 GB, free: 37.24 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.5128, allocations: 16.66 kB / 0.5842 GB, free: 37.23 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006139/0.5134, allocations: 405.6 kB / 0.5846 GB, free: 37 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.5134, allocations: 3.625 kB / 0.5846 GB, free: 37 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5134, allocations: 0.9688 kB / 0.5846 GB, free: 37 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.5134, allocations: 3.984 kB / 0.5846 GB, free: 37 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.5137, allocations: 310.3 kB / 0.5849 GB, free: 36.72 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5137, allocations: 4 kB / 0.5849 GB, free: 36.71 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.5141, allocations: 84.06 kB / 0.585 GB, free: 36.7 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.5141, allocations: 5.094 kB / 0.585 GB, free: 36.7 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.5141, allocations: 13.05 kB / 0.585 GB, free: 36.69 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.5141, allocations: 2.531 kB / 0.585 GB, free: 36.69 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5141, allocations: 0 / 0.585 GB, free: 36.69 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007131/0.5149, allocations: 0.5304 MB / 0.5855 GB, free: 36.4 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.831e-05/0.515, allocations: 124.1 kB / 0.5857 GB, free: 36.28 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.515, allocations: 16.61 kB / 0.5857 GB, free: 36.27 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.5151, allocations: 5.844 kB / 0.5857 GB, free: 36.27 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.5152, allocations: 23.14 kB / 0.5857 GB, free: 36.25 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.5152, allocations: 16.25 kB / 0.5857 GB, free: 36.25 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.778e-05/0.5152, allocations: 103.6 kB / 0.5858 GB, free: 36.16 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5153, allocations: 0.9375 kB / 0.5858 GB, free: 36.16 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002725/0.5155, allocations: 67.86 kB / 0.5859 GB, free: 36.15 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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.0001263/0.5157, allocations: 112.8 kB / 0.586 GB, free: 36.05 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004382/0.5161, allocations: 310.6 kB / 0.5863 GB, free: 35.93 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5161, allocations: 4 kB / 0.5863 GB, free: 35.92 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.5163, allocations: 161.2 kB / 0.5864 GB, free: 35.86 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.5166, allocations: 45.16 kB / 0.5865 GB, free: 35.83 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.5178, allocations: 1.042 MB / 0.5875 GB, free: 35.04 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.518, allocations: 0.7483 MB / 0.5882 GB, free: 34.31 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.5181, allocations: 31.88 kB / 0.5883 GB, free: 34.3 MB / 462.3 MB Notification: Performance of SimCode: time 2.51e-07/0.5181, allocations: 0 / 0.5883 GB, free: 34.3 MB / 462.3 MB Notification: Performance of Templates: time 0.00401/0.5221, allocations: 2.951 MB / 0.5911 GB, free: 32.17 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches