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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00211/0.00211, allocations: 109.9 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002773/0.002773, allocations: 210.7 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.52/1.52, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.06/1.06, allocations: 120.6 MB / 434.5 MB, free: 0.8945 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,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=21600,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") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 59.91 kB / 0.6088 GB, free: 8.852 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1724, allocations: 85.88 MB / 0.6927 GB, free: 2.762 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002499/0.1749, allocations: 1.407 MB / 0.6941 GB, free: 1.348 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1759, allocations: 0.573 MB / 0.6946 GB, free: 0.7734 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.176, allocations: 0 / 0.6946 GB, free: 0.7734 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 9.042e-05/0.1761, allocations: 11.86 kB / 0.6946 GB, free: 0.7617 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.1764, allocations: 59.78 kB / 0.6947 GB, free: 0.7031 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001147/0.1765, allocations: 39.83 kB / 0.6947 GB, free: 0.6641 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.1768, allocations: 203.4 kB / 0.6949 GB, free: 476 kB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.1768, allocations: 4.188 kB / 0.6949 GB, free: 472 kB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.177, allocations: 83.8 kB / 0.695 GB, free: 388 kB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.1772, allocations: 99.75 kB / 0.6951 GB, free: 288 kB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.1772, allocations: 8 kB / 0.6951 GB, free: 280 kB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1774, allocations: 31.97 kB / 0.6951 GB, free: 248 kB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.1775, allocations: 71.78 kB / 0.6952 GB, free: 176 kB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 8.884e-05/0.1776, allocations: 71.64 kB / 0.6953 GB, free: 104 kB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.1778, allocations: 147.4 kB / 0.6954 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1778, allocations: 4 kB / 0.6954 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1778, allocations: 0 / 0.6954 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.1778, allocations: 4 kB / 0.6954 GB, free: 15.95 MB / 0.5295 GB 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.0008086/0.1786, allocations: 397.8 kB / 0.6958 GB, free: 15.53 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1786, allocations: 8.031 kB / 0.6958 GB, free: 15.52 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.2e-05/0.1787, allocations: 16.84 kB / 0.6958 GB, free: 15.5 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.1789, allocations: 158 kB / 0.696 GB, free: 15.32 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.179, allocations: 8.234 kB / 0.696 GB, free: 15.32 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/0.179, allocations: 23.94 kB / 0.696 GB, free: 15.29 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.1793, allocations: 171.4 kB / 0.6962 GB, free: 15.12 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.1794, allocations: 0 / 0.6962 GB, free: 15.12 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.1794, allocations: 11.92 kB / 0.6962 GB, free: 15.11 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1794, allocations: 8 kB / 0.6962 GB, free: 15.1 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.1796, allocations: 144.5 kB / 0.6963 GB, free: 14.96 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.18, allocations: 257.4 kB / 0.6966 GB, free: 14.67 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009827/0.181, allocations: 342.8 kB / 0.6969 GB, free: 14.32 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.1812, allocations: 112.8 kB / 0.697 GB, free: 14.21 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.1813, allocations: 11.98 kB / 0.697 GB, free: 14.2 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.1813, allocations: 34.56 kB / 0.697 GB, free: 14.16 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=28): time 1.313e-06/0.1813, allocations: 0 / 0.697 GB, free: 14.16 MB / 0.5295 GB Notification: Performance of matching and sorting (n=28): time 0.0007044/0.182, allocations: 386.7 kB / 0.6974 GB, free: 13.77 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.1821, allocations: 55.41 kB / 0.6975 GB, free: 13.71 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.1822, allocations: 128.6 kB / 0.6976 GB, free: 13.57 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.1822, allocations: 37.7 kB / 0.6976 GB, free: 13.53 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.1823, allocations: 92.62 kB / 0.6977 GB, free: 13.44 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.1824, allocations: 115.1 kB / 0.6978 GB, free: 13.32 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.755e-05/0.1825, allocations: 62.02 kB / 0.6979 GB, free: 13.25 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1827, allocations: 330.8 kB / 0.6982 GB, free: 12.92 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.1829, allocations: 120.6 kB / 0.6983 GB, free: 12.8 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.1831, allocations: 133.2 kB / 0.6984 GB, free: 12.68 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004364/0.1835, allocations: 274.3 kB / 0.6987 GB, free: 12.41 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1835, allocations: 4 kB / 0.6987 GB, free: 12.4 MB / 0.5295 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005282/0.184, allocations: 361.9 kB / 0.6991 GB, free: 12.04 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1841, allocations: 4 kB / 0.6991 GB, free: 12.04 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1841, allocations: 0 / 0.6991 GB, free: 12.04 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1841, allocations: 7.984 kB / 0.6991 GB, free: 12.03 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.1844, allocations: 67.91 kB / 0.6991 GB, free: 11.96 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1844, allocations: 4 kB / 0.6991 GB, free: 11.96 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.1845, allocations: 23.83 kB / 0.6992 GB, free: 11.94 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.1845, allocations: 12 kB / 0.6992 GB, free: 11.93 MB / 0.5295 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 (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 0.0001204/0.1846, allocations: 141.7 kB / 0.6993 GB, free: 11.78 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.1847, allocations: 19.89 kB / 0.6993 GB, free: 11.76 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006796/0.1853, allocations: 391.2 kB / 0.6997 GB, free: 11.36 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1854, allocations: 4 kB / 0.6997 GB, free: 11.36 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1854, allocations: 0 / 0.6997 GB, free: 11.36 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.1854, allocations: 7.984 kB / 0.6997 GB, free: 11.35 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.1857, allocations: 292.3 kB / 0.7 GB, free: 11.02 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.1857, allocations: 3.984 kB / 0.7 GB, free: 11.02 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/0.1861, allocations: 83.91 kB / 0.7001 GB, free: 10.94 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1861, allocations: 0 / 0.7001 GB, free: 10.94 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.1861, allocations: 11.98 kB / 0.7001 GB, free: 10.93 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1861, allocations: 4 kB / 0.7001 GB, free: 10.92 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1861, allocations: 0 / 0.7001 GB, free: 10.92 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008061/0.1869, allocations: 0.5339 MB / 0.7006 GB, free: 10.37 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.1871, allocations: 51.8 kB / 0.7007 GB, free: 10.32 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.1871, allocations: 8 kB / 0.7007 GB, free: 10.31 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.1872, allocations: 11.98 kB / 0.7007 GB, free: 10.3 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.1873, allocations: 23.95 kB / 0.7007 GB, free: 10.28 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.1873, allocations: 12 kB / 0.7007 GB, free: 10.27 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 8.213e-05/0.1874, allocations: 106.1 kB / 0.7008 GB, free: 10.16 MB / 0.5295 GB Notification: Performance of sort global known variables: time 8e-08/0.1874, allocations: 0 / 0.7008 GB, free: 10.16 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002723/0.1876, allocations: 71.98 kB / 0.7009 GB, free: 10.09 MB / 0.5295 GB 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.0001686/0.1878, allocations: 115.1 kB / 0.701 GB, free: 9.973 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.000509/0.1883, allocations: 291.6 kB / 0.7013 GB, free: 9.688 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1883, allocations: 0 / 0.7013 GB, free: 9.688 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.1886, allocations: 164.8 kB / 0.7014 GB, free: 9.527 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.1888, allocations: 39.22 kB / 0.7015 GB, free: 9.492 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.1903, allocations: 0.8563 MB / 0.7023 GB, free: 8.613 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.1906, allocations: 0.7487 MB / 0.703 GB, free: 7.836 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.000198/0.1908, allocations: 93.84 kB / 0.7031 GB, free: 7.738 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.1909, allocations: 35.42 kB / 0.7031 GB, free: 7.703 MB / 0.5295 GB Notification: Performance of SimCode: time 5.01e-07/0.191, allocations: 0 / 0.7031 GB, free: 7.703 MB / 0.5295 GB Notification: Performance of Templates: time 0.007526/0.1985, allocations: 3.289 MB / 0.7064 GB, free: 4.453 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile [Timeout 300] (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) [Timeout 300] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.775483580000582]