Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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.001536/0.001536, allocations: 104 kB / 19.6 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.001656/0.001656, allocations: 193.5 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.423/1.423, allocations: 225.6 MB / 251.4 MB, free: 13.45 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.9833/0.9833, allocations: 120.6 MB / 427 MB, free: 5.867 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_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 71.88 kB / 0.5985 GB, free: 15.88 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1631, allocations: 84.64 MB / 0.6811 GB, free: 11.02 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.0025/0.1656, allocations: 1.384 MB / 0.6825 GB, free: 9.621 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0009409/0.1666, allocations: 0.5207 MB / 0.683 GB, free: 9.102 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.1666, allocations: 0 / 0.683 GB, free: 9.102 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 9.331e-05/0.1667, allocations: 7.922 kB / 0.683 GB, free: 9.094 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.167, allocations: 59.73 kB / 0.683 GB, free: 9.035 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001144/0.1671, allocations: 35.88 kB / 0.6831 GB, free: 9 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0005556/0.1677, allocations: 0.5537 MB / 0.6836 GB, free: 8.445 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.1677, allocations: 4.188 kB / 0.6836 GB, free: 8.441 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.168, allocations: 199.7 kB / 0.6838 GB, free: 8.246 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004339/0.1684, allocations: 287.4 kB / 0.6841 GB, free: 7.965 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 8.004e-05/0.1685, allocations: 32 kB / 0.6841 GB, free: 7.934 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.1686, allocations: 51.97 kB / 0.6842 GB, free: 7.883 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003015/0.1689, allocations: 235.5 kB / 0.6844 GB, free: 7.652 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002818/0.1692, allocations: 238.9 kB / 0.6846 GB, free: 7.418 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004849/0.1697, allocations: 438.2 kB / 0.685 GB, free: 6.988 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1697, allocations: 0 / 0.685 GB, free: 6.988 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1697, allocations: 0 / 0.685 GB, free: 6.988 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.1697, allocations: 0 / 0.685 GB, free: 6.988 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001846/0.1716, allocations: 0.8382 MB / 0.6858 GB, free: 6.098 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1716, allocations: 19.83 kB / 0.6859 GB, free: 6.078 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.1717, allocations: 44.66 kB / 0.6859 GB, free: 6.035 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.1722, allocations: 327.7 kB / 0.6862 GB, free: 5.676 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.1722, allocations: 36.98 kB / 0.6863 GB, free: 5.641 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.1723, allocations: 59.91 kB / 0.6863 GB, free: 5.582 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009755/0.1733, allocations: 0.588 MB / 0.6869 GB, free: 4.988 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1733, allocations: 0 / 0.6869 GB, free: 4.988 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-05/0.1734, allocations: 19.94 kB / 0.6869 GB, free: 4.969 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.1734, allocations: 12 kB / 0.6869 GB, free: 4.957 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009246/0.1743, allocations: 0.5816 MB / 0.6875 GB, free: 4.375 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008519/0.1752, allocations: 0.6179 MB / 0.6881 GB, free: 3.711 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003314/0.1785, allocations: 1.329 MB / 0.6894 GB, free: 2.371 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006559/0.1791, allocations: 431.6 kB / 0.6898 GB, free: 1.945 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002269/0.1794, allocations: 98.09 kB / 0.6899 GB, free: 1.832 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.1794, allocations: 43.56 kB / 0.6899 GB, free: 1.781 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=103): time 2.615e-06/0.1794, allocations: 0 / 0.6899 GB, free: 1.781 MB / 0.5139 GB Notification: Performance of matching and sorting (n=103): time 0.002251/0.1817, allocations: 1.355 MB / 0.6913 GB, free: 432 kB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.1817, allocations: 64.41 kB / 0.6913 GB, free: 352 kB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.1819, allocations: 170.7 kB / 0.6915 GB, free: 172 kB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 5.936e-05/0.1819, allocations: 41.7 kB / 0.6915 GB, free: 124 kB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.182, allocations: 106.1 kB / 0.6916 GB, free: 12 kB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003773/0.1824, allocations: 424.6 kB / 0.692 GB, free: 15.59 MB / 0.5296 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000296/0.1827, allocations: 199 kB / 0.6922 GB, free: 15.39 MB / 0.5296 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.1829, allocations: 370.5 kB / 0.6926 GB, free: 15.02 MB / 0.5296 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007381/0.1836, allocations: 470.3 kB / 0.693 GB, free: 14.56 MB / 0.5296 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007428/0.1844, allocations: 491.5 kB / 0.6935 GB, free: 14.08 MB / 0.5296 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.1859, allocations: 1.044 MB / 0.6945 GB, free: 13.04 MB / 0.5296 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.1859, allocations: 0 / 0.6945 GB, free: 13.04 MB / 0.5296 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001938/0.1879, allocations: 1.246 MB / 0.6957 GB, free: 11.78 MB / 0.5296 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.1879, allocations: 4 kB / 0.6957 GB, free: 11.78 MB / 0.5296 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.1879, allocations: 4 kB / 0.6957 GB, free: 11.77 MB / 0.5296 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.1879, allocations: 4 kB / 0.6957 GB, free: 11.77 MB / 0.5296 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.189, allocations: 271.7 kB / 0.696 GB, free: 11.5 MB / 0.5296 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.189, allocations: 7.938 kB / 0.696 GB, free: 11.5 MB / 0.5296 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/0.1894, allocations: 79.34 kB / 0.6961 GB, free: 11.42 MB / 0.5296 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.391e-05/0.1894, allocations: 39.98 kB / 0.6961 GB, free: 11.38 MB / 0.5296 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 (144): * Single equations (assignments): 144 * 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.0002804/0.1897, allocations: 205.5 kB / 0.6963 GB, free: 11.17 MB / 0.5296 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.492e-05/0.1898, allocations: 47.72 kB / 0.6964 GB, free: 11.12 MB / 0.5296 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/0.1922, allocations: 1.396 MB / 0.6977 GB, free: 9.723 MB / 0.5296 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.1922, allocations: 16 kB / 0.6977 GB, free: 9.707 MB / 0.5296 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.1922, allocations: 4 kB / 0.6977 GB, free: 9.703 MB / 0.5296 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/0.1922, allocations: 11.91 kB / 0.6978 GB, free: 9.691 MB / 0.5296 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009757/0.1932, allocations: 0.7429 MB / 0.6985 GB, free: 8.895 MB / 0.5296 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1932, allocations: 0 / 0.6985 GB, free: 8.895 MB / 0.5296 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/0.1946, allocations: 303.7 kB / 0.6988 GB, free: 8.598 MB / 0.5296 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/0.1946, allocations: 4 kB / 0.6988 GB, free: 8.594 MB / 0.5296 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.083e-05/0.1947, allocations: 47.97 kB / 0.6988 GB, free: 8.547 MB / 0.5296 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.1947, allocations: 4 kB / 0.6988 GB, free: 8.543 MB / 0.5296 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1947, allocations: 4 kB / 0.6988 GB, free: 8.539 MB / 0.5296 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002737/0.1975, allocations: 1.866 MB / 0.7006 GB, free: 6.652 MB / 0.5296 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/0.1978, allocations: 256.2 kB / 0.7009 GB, free: 6.383 MB / 0.5296 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.1979, allocations: 39.97 kB / 0.7009 GB, free: 6.344 MB / 0.5296 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003185/0.1983, allocations: 28 kB / 0.701 GB, free: 6.316 MB / 0.5296 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.1984, allocations: 85.19 kB / 0.701 GB, free: 6.23 MB / 0.5296 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.996e-05/0.1985, allocations: 39.98 kB / 0.7011 GB, free: 6.191 MB / 0.5296 GB Notification: Performance of sorting global known variables: time 0.0001124/0.1986, allocations: 132.3 kB / 0.7012 GB, free: 6.062 MB / 0.5296 GB Notification: Performance of sort global known variables: time 8e-08/0.1986, allocations: 0 / 0.7012 GB, free: 6.062 MB / 0.5296 GB Notification: Performance of remove unused functions: time 0.000583/0.1992, allocations: 235.9 kB / 0.7014 GB, free: 5.832 MB / 0.5296 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (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],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]) * 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 (144): * Single equations (assignments): 144 * 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.0002642/0.1994, allocations: 159 kB / 0.7016 GB, free: 5.668 MB / 0.5296 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.2012, allocations: 1.092 MB / 0.7026 GB, free: 4.574 MB / 0.5296 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2012, allocations: 4 kB / 0.7027 GB, free: 4.57 MB / 0.5296 GB Notification: Performance of simCode: created simulation system equations: time 0.0008653/0.2021, allocations: 0.6007 MB / 0.7032 GB, free: 3.973 MB / 0.5296 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.2025, allocations: 103.9 kB / 0.7033 GB, free: 3.871 MB / 0.5296 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004242/0.2068, allocations: 2.898 MB / 0.7062 GB, free: 0.9375 MB / 0.5296 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005706/0.2074, allocations: 0.9267 MB / 0.7071 GB, free: 15.98 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003556/0.2077, allocations: 95.41 kB / 0.7072 GB, free: 15.89 MB / 0.5452 GB Notification: Performance of SimCode: time 1.032e-06/0.2077, allocations: 0 / 0.7072 GB, free: 15.89 MB / 0.5452 GB Notification: Performance of Templates: time 0.01496/0.2227, allocations: 9.581 MB / 0.7165 GB, free: 6.328 MB / 0.5452 GB [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 299] Reference file matches