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.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.001519/0.001519, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001847/0.001847, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.43/1.43, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.023/1.023, allocations: 120.6 MB / 435.2 MB, free: 0.6523 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_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: 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.002294/0.002294, allocations: 64.14 kB / 0.6095 GB, free: 8.637 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1638, allocations: 85.87 MB / 0.6933 GB, free: 2.555 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002738/0.1665, allocations: 1.373 MB / 0.6947 GB, free: 1.172 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.1676, allocations: 0.5185 MB / 0.6952 GB, free: 0.6523 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.038e-05/0.1677, allocations: 3.938 kB / 0.6952 GB, free: 0.6484 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.433e-05/0.1678, allocations: 7.922 kB / 0.6952 GB, free: 0.6406 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.1681, allocations: 63.72 kB / 0.6953 GB, free: 0.5781 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.1682, allocations: 39.89 kB / 0.6953 GB, free: 0.5391 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0005591/0.1688, allocations: 0.546 MB / 0.6958 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 5.096e-05/0.1689, allocations: 8.188 kB / 0.6958 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004174/0.1693, allocations: 211.6 kB / 0.696 GB, free: 15.78 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005225/0.1698, allocations: 275.5 kB / 0.6963 GB, free: 15.51 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.1699, allocations: 28 kB / 0.6963 GB, free: 15.48 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.1701, allocations: 55.97 kB / 0.6964 GB, free: 15.43 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0002748/0.1704, allocations: 235.5 kB / 0.6966 GB, free: 15.2 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.0003216/0.1707, allocations: 211.1 kB / 0.6968 GB, free: 14.99 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.0005352/0.1712, allocations: 446.2 kB / 0.6972 GB, free: 14.55 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1712, allocations: 0 / 0.6972 GB, free: 14.55 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1713, allocations: 0 / 0.6972 GB, free: 14.55 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 1.58e-05/0.1713, allocations: 0 / 0.6972 GB, free: 14.55 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001845/0.1731, allocations: 0.759 MB / 0.698 GB, free: 13.76 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1732, allocations: 15.91 kB / 0.698 GB, free: 13.75 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.1733, allocations: 44.7 kB / 0.698 GB, free: 13.7 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005751/0.1739, allocations: 269.4 kB / 0.6983 GB, free: 13.41 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.1739, allocations: 29 kB / 0.6983 GB, free: 13.39 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.174, allocations: 59.91 kB / 0.6984 GB, free: 13.33 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.1751, allocations: 0.584 MB / 0.6989 GB, free: 12.73 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.1752, allocations: 0 / 0.6989 GB, free: 12.73 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.436e-05/0.1752, allocations: 20 kB / 0.699 GB, free: 12.71 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.1752, allocations: 15.94 kB / 0.699 GB, free: 12.7 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.1763, allocations: 0.5777 MB / 0.6995 GB, free: 12.12 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007883/0.1771, allocations: 0.4886 MB / 0.7 GB, free: 11.61 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003265/0.1803, allocations: 1.323 MB / 0.7013 GB, free: 10.27 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006776/0.181, allocations: 435.6 kB / 0.7017 GB, free: 9.844 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.1812, allocations: 17 kB / 0.7017 GB, free: 9.828 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.1812, allocations: 43.56 kB / 0.7018 GB, free: 9.777 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=103): time 2.835e-06/0.1812, allocations: 0 / 0.7018 GB, free: 9.777 MB / 0.5295 GB Notification: Performance of matching and sorting (n=103): time 0.002287/0.1835, allocations: 1.354 MB / 0.7031 GB, free: 8.418 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.1836, allocations: 64.41 kB / 0.7032 GB, free: 8.344 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.1837, allocations: 179.2 kB / 0.7033 GB, free: 8.16 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 5.925e-05/0.1838, allocations: 49.7 kB / 0.7034 GB, free: 8.105 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 6.955e-05/0.1839, allocations: 106.1 kB / 0.7035 GB, free: 7.996 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003564/0.1842, allocations: 424.4 kB / 0.7039 GB, free: 7.578 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002928/0.1845, allocations: 199 kB / 0.7041 GB, free: 7.375 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.1847, allocations: 366.8 kB / 0.7044 GB, free: 7.008 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007709/0.1855, allocations: 466.3 kB / 0.7049 GB, free: 6.555 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000787/0.1863, allocations: 495.5 kB / 0.7053 GB, free: 6.066 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.1879, allocations: 1.044 MB / 0.7064 GB, free: 5.02 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.1879, allocations: 0 / 0.7064 GB, free: 5.02 MB / 0.5295 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001966/0.1899, allocations: 1.246 MB / 0.7076 GB, free: 3.766 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1899, allocations: 4 kB / 0.7076 GB, free: 3.762 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1899, allocations: 4 kB / 0.7076 GB, free: 3.758 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.1899, allocations: 4 kB / 0.7076 GB, free: 3.754 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.191, allocations: 267.7 kB / 0.7078 GB, free: 3.492 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.628e-05/0.191, allocations: 11.94 kB / 0.7079 GB, free: 3.48 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.1914, allocations: 83.3 kB / 0.7079 GB, free: 3.398 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-05/0.1915, allocations: 39.98 kB / 0.708 GB, free: 3.359 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 (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.0002862/0.1918, allocations: 213.5 kB / 0.7082 GB, free: 3.141 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.1919, allocations: 47.7 kB / 0.7082 GB, free: 3.094 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/0.1943, allocations: 1.385 MB / 0.7096 GB, free: 1.707 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.1943, allocations: 16 kB / 0.7096 GB, free: 1.691 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.423e-06/0.1943, allocations: 0 / 0.7096 GB, free: 1.691 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.1943, allocations: 11.97 kB / 0.7096 GB, free: 1.68 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008929/0.1952, allocations: 0.5902 MB / 0.7102 GB, free: 1.059 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.1952, allocations: 8 kB / 0.7102 GB, free: 1.051 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/0.1967, allocations: 303.7 kB / 0.7105 GB, free: 0.7539 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.079e-05/0.1967, allocations: 4 kB / 0.7105 GB, free: 0.75 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.1968, allocations: 43.97 kB / 0.7105 GB, free: 0.707 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.178e-05/0.1968, allocations: 4 kB / 0.7105 GB, free: 0.7031 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.1968, allocations: 3.984 kB / 0.7105 GB, free: 0.6992 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/0.1997, allocations: 1.863 MB / 0.7124 GB, free: 14.81 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000441/0.2001, allocations: 171.2 kB / 0.7125 GB, free: 14.64 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.2003, allocations: 39.97 kB / 0.7126 GB, free: 14.61 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/0.2006, allocations: 28 kB / 0.7126 GB, free: 14.58 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.2007, allocations: 89.14 kB / 0.7127 GB, free: 14.49 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-05/0.2008, allocations: 39.98 kB / 0.7127 GB, free: 14.45 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.0001148/0.2009, allocations: 127.2 kB / 0.7128 GB, free: 14.32 MB / 0.5452 GB Notification: Performance of sort global known variables: time 7e-08/0.2009, allocations: 0 / 0.7128 GB, free: 14.32 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0005479/0.2015, allocations: 235.9 kB / 0.713 GB, free: 14.09 MB / 0.5452 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.000262/0.2017, allocations: 164.8 kB / 0.7132 GB, free: 13.93 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.001863/0.2036, allocations: 1.085 MB / 0.7143 GB, free: 12.84 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2036, allocations: 3.938 kB / 0.7143 GB, free: 12.84 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.000919/0.2045, allocations: 0.6046 MB / 0.7149 GB, free: 12.23 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.205, allocations: 103.9 kB / 0.715 GB, free: 12.13 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004345/0.2093, allocations: 2.895 MB / 0.7178 GB, free: 9.195 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.2097, allocations: 326.8 kB / 0.7181 GB, free: 8.855 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003586/0.21, allocations: 91.41 kB / 0.7182 GB, free: 8.766 MB / 0.5452 GB Notification: Performance of SimCode: time 9.51e-07/0.21, allocations: 3.938 kB / 0.7182 GB, free: 8.762 MB / 0.5452 GB Notification: Performance of Templates: time 0.01607/0.2261, allocations: 9.839 MB / 0.7278 GB, free: 14.94 MB / 0.5608 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 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.191832951270044]