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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 103.3 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 198.1 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 225.6 MB / 251.4 MB, free: 13.46 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9827/0.9827, allocations: 120.6 MB / 427 MB, free: 5.848 MB / 334.2 MB [Timeout remaining time 89] 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=21600,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=21600,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") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.83 kB / 0.5985 GB, free: 15.89 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1586, allocations: 84.64 MB / 0.6811 GB, free: 11.04 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002538/0.1611, allocations: 1.39 MB / 0.6825 GB, free: 9.641 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0009455/0.1621, allocations: 0.5285 MB / 0.683 GB, free: 9.113 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.1621, allocations: 0 / 0.683 GB, free: 9.113 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.594e-05/0.1622, allocations: 3.938 kB / 0.683 GB, free: 9.109 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.000298/0.1625, allocations: 59.73 kB / 0.683 GB, free: 9.051 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001144/0.1626, allocations: 35.88 kB / 0.6831 GB, free: 9.016 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0009253/0.1635, allocations: 1.022 MB / 0.6841 GB, free: 7.992 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.57e-05/0.1636, allocations: 16.17 kB / 0.6841 GB, free: 7.977 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003808/0.164, allocations: 355.6 kB / 0.6844 GB, free: 7.629 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007464/0.1647, allocations: 0.5302 MB / 0.6849 GB, free: 7.098 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.1649, allocations: 59.94 kB / 0.685 GB, free: 7.039 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.1651, allocations: 83.97 kB / 0.6851 GB, free: 6.957 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004995/0.1656, allocations: 458.9 kB / 0.6855 GB, free: 6.508 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005218/0.1661, allocations: 461.9 kB / 0.686 GB, free: 6.055 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0008031/0.1669, allocations: 0.813 MB / 0.6868 GB, free: 5.238 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1669, allocations: 0 / 0.6868 GB, free: 5.238 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1669, allocations: 0 / 0.6868 GB, free: 5.238 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.1669, allocations: 0 / 0.6868 GB, free: 5.238 MB / 0.5139 GB 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.003027/0.17, allocations: 1.315 MB / 0.688 GB, free: 3.871 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.17, allocations: 11.89 kB / 0.6881 GB, free: 3.859 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.1702, allocations: 88.42 kB / 0.6881 GB, free: 3.773 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007566/0.171, allocations: 477.8 kB / 0.6886 GB, free: 3.266 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.184e-05/0.171, allocations: 58 kB / 0.6886 GB, free: 3.211 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/0.1712, allocations: 115.8 kB / 0.6888 GB, free: 3.098 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.1732, allocations: 1.139 MB / 0.6899 GB, free: 1.953 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.1733, allocations: 4 kB / 0.6899 GB, free: 1.949 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.1734, allocations: 40 kB / 0.6899 GB, free: 1.91 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.1734, allocations: 20 kB / 0.6899 GB, free: 1.891 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.1753, allocations: 1.257 MB / 0.6912 GB, free: 0.6289 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.177, allocations: 1.1 MB / 0.6922 GB, free: 15.47 MB / 0.5296 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006691/0.1836, allocations: 2.703 MB / 0.6949 GB, free: 12.77 MB / 0.5296 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/0.1851, allocations: 0.8304 MB / 0.6957 GB, free: 11.94 MB / 0.5296 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000288/0.1854, allocations: 123 kB / 0.6958 GB, free: 11.8 MB / 0.5296 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/0.1855, allocations: 52.56 kB / 0.6959 GB, free: 11.74 MB / 0.5296 GB Notification: Performance of pre-optimization done (n=203): time 3.567e-06/0.1855, allocations: 0 / 0.6959 GB, free: 11.74 MB / 0.5296 GB Notification: Performance of matching and sorting (n=203): time 0.004839/0.1903, allocations: 2.656 MB / 0.6984 GB, free: 9.086 MB / 0.5296 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/0.1904, allocations: 77.41 kB / 0.6985 GB, free: 8.996 MB / 0.5296 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.1907, allocations: 233 kB / 0.6987 GB, free: 8.762 MB / 0.5296 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.1908, allocations: 61.7 kB / 0.6988 GB, free: 8.695 MB / 0.5296 GB Notification: Performance of collectInitialEqns (initialization): time 9.954e-05/0.1909, allocations: 123.3 kB / 0.6989 GB, free: 8.57 MB / 0.5296 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009145/0.1918, allocations: 0.8173 MB / 0.6997 GB, free: 7.746 MB / 0.5296 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006438/0.1924, allocations: 380.3 kB / 0.7001 GB, free: 7.367 MB / 0.5296 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.1926, allocations: 325.9 kB / 0.7004 GB, free: 7.043 MB / 0.5296 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.1942, allocations: 0.9138 MB / 0.7013 GB, free: 6.125 MB / 0.5296 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.1958, allocations: 0.9564 MB / 0.7022 GB, free: 5.16 MB / 0.5296 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003339/0.1991, allocations: 2.066 MB / 0.7042 GB, free: 3.062 MB / 0.5296 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.1991, allocations: 0 / 0.7042 GB, free: 3.062 MB / 0.5296 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.004059/0.2032, allocations: 2.435 MB / 0.7066 GB, free: 0.582 MB / 0.5296 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.2032, allocations: 4 kB / 0.7066 GB, free: 0.5781 MB / 0.5296 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.2032, allocations: 0 / 0.7066 GB, free: 0.5781 MB / 0.5296 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.2033, allocations: 11.98 kB / 0.7066 GB, free: 0.5664 MB / 0.5296 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002294/0.2056, allocations: 0.5188 MB / 0.7071 GB, free: 48 kB / 0.5296 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.547e-05/0.2056, allocations: 12 kB / 0.7071 GB, free: 36 kB / 0.5296 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007078/0.2063, allocations: 147 kB / 0.7073 GB, free: 15.89 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.2064, allocations: 79.97 kB / 0.7074 GB, free: 15.81 MB / 0.5452 GB 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.0004764/0.2069, allocations: 321 kB / 0.7077 GB, free: 15.49 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.2071, allocations: 91.44 kB / 0.7078 GB, free: 15.4 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004877/0.212, allocations: 2.713 MB / 0.7104 GB, free: 12.63 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.52e-05/0.212, allocations: 28 kB / 0.7104 GB, free: 12.61 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.212, allocations: 0 / 0.7104 GB, free: 12.61 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.439e-05/0.212, allocations: 11.95 kB / 0.7104 GB, free: 12.59 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.2141, allocations: 1.346 MB / 0.7118 GB, free: 11.2 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.2142, allocations: 0 / 0.7118 GB, free: 11.2 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002834/0.217, allocations: 0.5891 MB / 0.7123 GB, free: 10.61 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.919e-05/0.217, allocations: 8 kB / 0.7123 GB, free: 10.6 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001925/0.2172, allocations: 99.92 kB / 0.7124 GB, free: 10.5 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.321e-05/0.2172, allocations: 8 kB / 0.7124 GB, free: 10.5 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2172, allocations: 0 / 0.7124 GB, free: 10.5 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005717/0.2229, allocations: 3.628 MB / 0.716 GB, free: 6.793 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007552/0.2237, allocations: 427.4 kB / 0.7164 GB, free: 6.355 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/0.2239, allocations: 75.95 kB / 0.7165 GB, free: 6.281 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000631/0.2245, allocations: 52 kB / 0.7165 GB, free: 6.23 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002821/0.2248, allocations: 158 kB / 0.7167 GB, free: 6.074 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/0.225, allocations: 83.97 kB / 0.7167 GB, free: 5.992 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.0001817/0.2251, allocations: 168.5 kB / 0.7169 GB, free: 5.824 MB / 0.5452 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2251, allocations: 0 / 0.7169 GB, free: 5.824 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0009663/0.2261, allocations: 452 kB / 0.7173 GB, free: 5.383 MB / 0.5452 GB 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.0003769/0.2265, allocations: 217.5 kB / 0.7175 GB, free: 5.16 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.003739/0.2302, allocations: 2.161 MB / 0.7197 GB, free: 2.969 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2302, allocations: 0 / 0.7197 GB, free: 2.969 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.001861/0.2321, allocations: 1.191 MB / 0.7208 GB, free: 1.773 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008004/0.2329, allocations: 196.3 kB / 0.721 GB, free: 1.582 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008485/0.2414, allocations: 5.598 MB / 0.7265 GB, free: 11.93 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008178/0.2422, allocations: 1.155 MB / 0.7276 GB, free: 10.75 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000755/0.2429, allocations: 175.4 kB / 0.7278 GB, free: 10.57 MB / 0.5608 GB Notification: Performance of SimCode: time 1.133e-06/0.2429, allocations: 0 / 0.7278 GB, free: 10.57 MB / 0.5608 GB Notification: Performance of Templates: time 0.03171/0.2747, allocations: 18.69 MB / 0.746 GB, free: 7.898 MB / 0.5764 GB [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile [Timeout 300] (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) [Timeout 300] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 297] Reference file matches