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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002187/0.002187, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 225.6 MB / 250.8 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.016/1.016, allocations: 120.6 MB / 426.5 MB, free: 5.828 MB / 334.2 MB " [Timeout remaining time 179] 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.001934/0.001934, allocations: 71.88 kB / 0.5981 GB, free: 15.77 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1635, allocations: 84.63 MB / 0.6807 GB, free: 10.93 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002693/0.1662, allocations: 1.394 MB / 0.6821 GB, free: 9.523 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.1672, allocations: 0.5246 MB / 0.6826 GB, free: 9 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.673e-05/0.1673, allocations: 0 / 0.6826 GB, free: 9 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.1674, allocations: 7.922 kB / 0.6826 GB, free: 8.992 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.1677, allocations: 59.73 kB / 0.6827 GB, free: 8.934 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.1678, allocations: 31.89 kB / 0.6827 GB, free: 8.902 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0005926/0.1684, allocations: 0.5537 MB / 0.6832 GB, free: 8.348 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.1685, allocations: 8.188 kB / 0.6833 GB, free: 8.34 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.1687, allocations: 203.7 kB / 0.6834 GB, free: 8.141 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004391/0.1692, allocations: 283.4 kB / 0.6837 GB, free: 7.863 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.1692, allocations: 28 kB / 0.6837 GB, free: 7.836 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.1694, allocations: 51.97 kB / 0.6838 GB, free: 7.785 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.1697, allocations: 243.4 kB / 0.684 GB, free: 7.547 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002858/0.1699, allocations: 238.9 kB / 0.6843 GB, free: 7.312 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004994/0.1704, allocations: 434.2 kB / 0.6847 GB, free: 6.887 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1704, allocations: 0 / 0.6847 GB, free: 6.887 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1704, allocations: 0 / 0.6847 GB, free: 6.887 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.1705, allocations: 0 / 0.6847 GB, free: 6.887 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.001815/0.1723, allocations: 0.8343 MB / 0.6855 GB, free: 6 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1723, allocations: 15.89 kB / 0.6855 GB, free: 5.984 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.1724, allocations: 48.66 kB / 0.6855 GB, free: 5.938 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.1729, allocations: 335.7 kB / 0.6859 GB, free: 5.57 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.1729, allocations: 29 kB / 0.6859 GB, free: 5.543 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.173, allocations: 63.84 kB / 0.686 GB, free: 5.48 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.1742, allocations: 0.5918 MB / 0.6865 GB, free: 4.883 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1742, allocations: 0 / 0.6865 GB, free: 4.883 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-05/0.1742, allocations: 12 kB / 0.6865 GB, free: 4.871 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.1742, allocations: 12 kB / 0.6866 GB, free: 4.859 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009688/0.1752, allocations: 0.5894 MB / 0.6871 GB, free: 4.27 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008949/0.1761, allocations: 0.6101 MB / 0.6877 GB, free: 3.613 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003432/0.1795, allocations: 1.325 MB / 0.689 GB, free: 2.277 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006759/0.1802, allocations: 431.6 kB / 0.6894 GB, free: 1.852 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002402/0.1804, allocations: 106.1 kB / 0.6895 GB, free: 1.73 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.1805, allocations: 51.5 kB / 0.6896 GB, free: 1.672 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=103): time 2.474e-06/0.1805, allocations: 0 / 0.6896 GB, free: 1.672 MB / 0.5139 GB Notification: Performance of matching and sorting (n=103): time 0.002299/0.1828, allocations: 1.343 MB / 0.6909 GB, free: 332 kB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.1828, allocations: 68.41 kB / 0.691 GB, free: 248 kB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.183, allocations: 166.7 kB / 0.6911 GB, free: 72 kB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 5.158e-05/0.1831, allocations: 41.7 kB / 0.6912 GB, free: 24 kB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 9.9e-05/0.1832, allocations: 114.1 kB / 0.6913 GB, free: 15.91 MB / 0.5296 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003896/0.1836, allocations: 416.5 kB / 0.6917 GB, free: 15.5 MB / 0.5296 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003375/0.1839, allocations: 198.9 kB / 0.6919 GB, free: 15.29 MB / 0.5296 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.1841, allocations: 374.7 kB / 0.6922 GB, free: 14.92 MB / 0.5296 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007528/0.1848, allocations: 470.3 kB / 0.6927 GB, free: 14.46 MB / 0.5296 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007898/0.1856, allocations: 499.4 kB / 0.6931 GB, free: 13.97 MB / 0.5296 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.1873, allocations: 1.036 MB / 0.6941 GB, free: 12.93 MB / 0.5296 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.1873, allocations: 4 kB / 0.6942 GB, free: 12.93 MB / 0.5296 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001975/0.1893, allocations: 1.246 MB / 0.6954 GB, free: 11.68 MB / 0.5296 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1893, allocations: 4 kB / 0.6954 GB, free: 11.67 MB / 0.5296 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1893, allocations: 0 / 0.6954 GB, free: 11.67 MB / 0.5296 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.1893, allocations: 11.94 kB / 0.6954 GB, free: 11.66 MB / 0.5296 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.1905, allocations: 271.6 kB / 0.6956 GB, free: 11.39 MB / 0.5296 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.1905, allocations: 8 kB / 0.6956 GB, free: 11.39 MB / 0.5296 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/0.1908, allocations: 71.41 kB / 0.6957 GB, free: 11.32 MB / 0.5296 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.079e-05/0.1909, allocations: 43.98 kB / 0.6958 GB, free: 11.27 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.0002731/0.1912, allocations: 213.5 kB / 0.696 GB, free: 11.05 MB / 0.5296 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.869e-05/0.1913, allocations: 47.72 kB / 0.696 GB, free: 11.01 MB / 0.5296 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/0.1937, allocations: 1.384 MB / 0.6974 GB, free: 9.621 MB / 0.5296 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.1937, allocations: 16 kB / 0.6974 GB, free: 9.605 MB / 0.5296 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1937, allocations: 0 / 0.6974 GB, free: 9.605 MB / 0.5296 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-05/0.1938, allocations: 7.969 kB / 0.6974 GB, free: 9.598 MB / 0.5296 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.1949, allocations: 0.7507 MB / 0.6981 GB, free: 8.793 MB / 0.5296 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1949, allocations: 0 / 0.6981 GB, free: 8.793 MB / 0.5296 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/0.1963, allocations: 303.7 kB / 0.6984 GB, free: 8.496 MB / 0.5296 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.1963, allocations: 4 kB / 0.6984 GB, free: 8.492 MB / 0.5296 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.1964, allocations: 51.89 kB / 0.6985 GB, free: 8.441 MB / 0.5296 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.846e-06/0.1964, allocations: 11.98 kB / 0.6985 GB, free: 8.43 MB / 0.5296 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1964, allocations: 3.938 kB / 0.6985 GB, free: 8.426 MB / 0.5296 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002927/0.1993, allocations: 1.855 MB / 0.7003 GB, free: 6.551 MB / 0.5296 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003482/0.1997, allocations: 256.3 kB / 0.7005 GB, free: 6.281 MB / 0.5296 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.1998, allocations: 35.98 kB / 0.7006 GB, free: 6.246 MB / 0.5296 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.2001, allocations: 24 kB / 0.7006 GB, free: 6.223 MB / 0.5296 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.2003, allocations: 85.19 kB / 0.7007 GB, free: 6.137 MB / 0.5296 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.503e-05/0.2003, allocations: 39.98 kB / 0.7007 GB, free: 6.098 MB / 0.5296 GB Notification: Performance of sorting global known variables: time 0.0001192/0.2005, allocations: 132.3 kB / 0.7008 GB, free: 5.969 MB / 0.5296 GB Notification: Performance of sort global known variables: time 8e-08/0.2005, allocations: 0 / 0.7008 GB, free: 5.969 MB / 0.5296 GB Notification: Performance of remove unused functions: time 0.0005465/0.201, allocations: 232 kB / 0.7011 GB, free: 5.742 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.0003061/0.2013, allocations: 166.8 kB / 0.7012 GB, free: 5.57 MB / 0.5296 GB Notification: Performance of simCode: created initialization part: time 0.001811/0.2031, allocations: 1.085 MB / 0.7023 GB, free: 4.484 MB / 0.5296 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2031, allocations: 0 / 0.7023 GB, free: 4.484 MB / 0.5296 GB Notification: Performance of simCode: created simulation system equations: time 0.0009102/0.204, allocations: 0.6046 MB / 0.7029 GB, free: 3.883 MB / 0.5296 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/0.2045, allocations: 99.94 kB / 0.703 GB, free: 3.785 MB / 0.5296 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/0.2088, allocations: 2.871 MB / 0.7058 GB, free: 0.8867 MB / 0.5296 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006113/0.2094, allocations: 0.9268 MB / 0.7067 GB, free: 15.93 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.0008484/0.2103, allocations: 368.8 kB / 0.707 GB, free: 15.57 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/0.2106, allocations: 87.34 kB / 0.7071 GB, free: 15.48 MB / 0.5452 GB Notification: Performance of SimCode: time 1.542e-06/0.2106, allocations: 0 / 0.7071 GB, free: 15.48 MB / 0.5452 GB Notification: Performance of Templates: time 0.02038/0.2309, allocations: 10.39 MB / 0.7172 GB, free: 5.148 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/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 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.447292479686439]