Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009606/0.0009605, allocations: 95.72 kB / 16.3 MB, free: 5.992 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.0009554/0.0009554, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.385/1.385, allocations: 223.2 MB / 241.1 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9039/0.9039, allocations: 120.5 MB / 412.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003229, allocations: 8 kB / 0.4955 GB, free: 9.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1929, allocations: 82.85 MB / 0.5764 GB, free: 6.801 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001463/0.1945, allocations: 1.054 MB / 0.5774 GB, free: 5.734 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007831/0.1953, allocations: 0.4918 MB / 0.5779 GB, free: 5.242 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.861e-05/0.1953, allocations: 0 / 0.5779 GB, free: 5.242 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.099e-05/0.1954, allocations: 3.984 kB / 0.5779 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.1957, allocations: 47.86 kB / 0.5779 GB, free: 5.191 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.189e-05/0.1958, allocations: 31.89 kB / 0.578 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.196, allocations: 207.6 kB / 0.5782 GB, free: 4.957 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.138e-05/0.1961, allocations: 4.188 kB / 0.5782 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.1963, allocations: 107.8 kB / 0.5783 GB, free: 4.848 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.1965, allocations: 147.7 kB / 0.5784 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.063e-05/0.1966, allocations: 16 kB / 0.5784 GB, free: 4.688 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.575e-05/0.1967, allocations: 35.97 kB / 0.5784 GB, free: 4.652 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.1968, allocations: 115.7 kB / 0.5786 GB, free: 4.539 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.243e-05/0.1969, allocations: 61.58 kB / 0.5786 GB, free: 4.473 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.1971, allocations: 155.9 kB / 0.5788 GB, free: 4.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.1971, allocations: 0 / 0.5788 GB, free: 4.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1971, allocations: 0 / 0.5788 GB, free: 4.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1971, allocations: 0 / 0.5788 GB, free: 4.32 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001111/0.1982, allocations: 0.5653 MB / 0.5793 GB, free: 3.707 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1983, allocations: 12.03 kB / 0.5793 GB, free: 3.695 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.056e-05/0.1983, allocations: 35.67 kB / 0.5794 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.1987, allocations: 247.2 kB / 0.5796 GB, free: 3.379 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.1987, allocations: 12.44 kB / 0.5796 GB, free: 3.363 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.537e-05/0.1988, allocations: 31.91 kB / 0.5796 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005025/0.1993, allocations: 311.1 kB / 0.5799 GB, free: 3.023 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1993, allocations: 3.938 kB / 0.5799 GB, free: 3.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.1994, allocations: 12 kB / 0.58 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.1994, allocations: 4 kB / 0.58 GB, free: 3.004 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004549/0.1998, allocations: 289.5 kB / 0.5802 GB, free: 2.719 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005088/0.2003, allocations: 403.3 kB / 0.5806 GB, free: 2.277 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.202, allocations: 0.6803 MB / 0.5813 GB, free: 1.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001822/0.2022, allocations: 97.52 kB / 0.5814 GB, free: 1.477 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.2023, allocations: 35.66 kB / 0.5814 GB, free: 1.434 MB / 446.1 MB Notification: Performance of pre-optimization done (n=53): time 1.553e-06/0.2023, allocations: 0 / 0.5814 GB, free: 1.434 MB / 446.1 MB Notification: Performance of matching and sorting (n=53): time 0.001127/0.2034, allocations: 0.6955 MB / 0.5821 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.2035, allocations: 63.8 kB / 0.5821 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.2036, allocations: 151 kB / 0.5823 GB, free: 500 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.2037, allocations: 33.7 kB / 0.5823 GB, free: 460 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.2037, allocations: 97.14 kB / 0.5824 GB, free: 360 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.2039, allocations: 205 kB / 0.5826 GB, free: 152 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.2039, allocations: 16 kB / 0.5826 GB, free: 136 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.5717/0.7756, allocations: 338.8 kB / 0.583 GB, free: 16.45 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008853/0.7766, allocations: 229.9 kB / 0.5832 GB, free: 16.44 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006365/0.7772, allocations: 242.5 kB / 0.5834 GB, free: 16.44 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007674/0.778, allocations: 284.4 kB / 0.5837 GB, free: 16.43 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.778, allocations: 1.688 kB / 0.5837 GB, free: 16.43 MB / 446.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001506/0.7795, allocations: 0.6433 MB / 0.5843 GB, free: 16.39 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.7796, allocations: 4.531 kB / 0.5843 GB, free: 16.39 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.7796, allocations: 1.781 kB / 0.5843 GB, free: 16.39 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.075e-05/0.7796, allocations: 4.406 kB / 0.5843 GB, free: 16.39 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006991/0.7803, allocations: 139.8 kB / 0.5844 GB, free: 16.39 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/0.7804, allocations: 7.297 kB / 0.5845 GB, free: 16.38 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.7806, allocations: 38.84 kB / 0.5845 GB, free: 16.38 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.225e-05/0.7807, allocations: 23.34 kB / 0.5845 GB, free: 16.38 MB / 446.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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002221/0.7809, allocations: 158.5 kB / 0.5847 GB, free: 16.27 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.027e-05/0.781, allocations: 23.3 kB / 0.5847 GB, free: 16.27 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.7825, allocations: 0.7299 MB / 0.5854 GB, free: 16.2 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.7825, allocations: 7.391 kB / 0.5854 GB, free: 16.2 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.7825, allocations: 0.9062 kB / 0.5854 GB, free: 16.2 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.7826, allocations: 7.938 kB / 0.5854 GB, free: 16.2 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006194/0.7832, allocations: 463.7 kB / 0.5859 GB, free: 15.99 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.7832, allocations: 0 / 0.5859 GB, free: 15.99 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007804/0.784, allocations: 156 kB / 0.586 GB, free: 15.98 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.784, allocations: 3.828 kB / 0.586 GB, free: 15.98 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.047e-05/0.7841, allocations: 23.95 kB / 0.586 GB, free: 15.98 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.7841, allocations: 3.25 kB / 0.586 GB, free: 15.98 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7841, allocations: 0 / 0.586 GB, free: 15.98 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.7857, allocations: 0.9719 MB / 0.587 GB, free: 15.76 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.7859, allocations: 163.9 kB / 0.5871 GB, free: 15.64 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.907e-05/0.786, allocations: 27.38 kB / 0.5872 GB, free: 15.62 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.7861, allocations: 11.03 kB / 0.5872 GB, free: 15.61 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.329e-05/0.7862, allocations: 43.84 kB / 0.5872 GB, free: 15.61 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.7863, allocations: 24.39 kB / 0.5872 GB, free: 15.6 MB / 446.3 MB Notification: Performance of sorting global known variables: time 7.681e-05/0.7864, allocations: 112.3 kB / 0.5874 GB, free: 15.52 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7864, allocations: 0 / 0.5874 GB, free: 15.52 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0004011/0.7868, allocations: 128.4 kB / 0.5875 GB, free: 15.5 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002111/0.787, allocations: 137.1 kB / 0.5876 GB, free: 15.39 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.7881, allocations: 0.5762 MB / 0.5882 GB, free: 15.25 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7881, allocations: 0 / 0.5882 GB, free: 15.25 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005097/0.7886, allocations: 326.6 kB / 0.5885 GB, free: 15.16 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.7889, allocations: 51.47 kB / 0.5885 GB, free: 15.14 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.7914, allocations: 1.777 MB / 0.5903 GB, free: 14.1 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.7918, allocations: 0.8186 MB / 0.5911 GB, free: 13.4 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0004742/0.7923, allocations: 172.6 kB / 0.5912 GB, free: 13.38 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.7924, allocations: 50.39 kB / 0.5913 GB, free: 13.38 MB / 446.3 MB Notification: Performance of SimCode: time 1.062e-06/0.7925, allocations: 0 / 0.5913 GB, free: 13.38 MB / 446.3 MB Notification: Performance of Templates: time 0.009544/0.802, allocations: 4.684 MB / 0.5958 GB, free: 12.86 MB / 446.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches