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.001585/0.001585, allocations: 109 kB / 21.18 MB, free: 0.7852 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.001688/0.001688, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 8 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.007/1.007, allocations: 120.6 MB / 435.3 MB, free: 0.8281 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.001959/0.001959, allocations: 71.88 kB / 0.6096 GB, free: 8.809 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1587, allocations: 85.86 MB / 0.6934 GB, free: 2.734 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002656/0.1613, allocations: 1.399 MB / 0.6948 GB, free: 1.328 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.1624, allocations: 0.5729 MB / 0.6953 GB, free: 0.7539 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.744e-05/0.1624, allocations: 8 kB / 0.6953 GB, free: 0.7461 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 7.915e-05/0.1625, allocations: 7.922 kB / 0.6954 GB, free: 0.7383 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.1628, allocations: 63.72 kB / 0.6954 GB, free: 0.6758 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001195/0.1629, allocations: 39.83 kB / 0.6955 GB, free: 0.6367 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.1632, allocations: 191.6 kB / 0.6956 GB, free: 460 kB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.1632, allocations: 8.172 kB / 0.6956 GB, free: 452 kB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.1634, allocations: 87.73 kB / 0.6957 GB, free: 364 kB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.1636, allocations: 99.75 kB / 0.6958 GB, free: 264 kB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.1637, allocations: 12 kB / 0.6958 GB, free: 252 kB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1638, allocations: 27.98 kB / 0.6959 GB, free: 224 kB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.1639, allocations: 67.78 kB / 0.6959 GB, free: 156 kB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 9.179e-05/0.164, allocations: 75.64 kB / 0.696 GB, free: 80 kB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.1642, allocations: 143.5 kB / 0.6961 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1642, allocations: 0 / 0.6961 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1642, allocations: 0 / 0.6961 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.1642, allocations: 4 kB / 0.6961 GB, free: 15.93 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.0008784/0.1651, allocations: 405.8 kB / 0.6965 GB, free: 15.5 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1651, allocations: 8.031 kB / 0.6965 GB, free: 15.49 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.57e-05/0.1652, allocations: 16.84 kB / 0.6965 GB, free: 15.48 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.1655, allocations: 161.9 kB / 0.6967 GB, free: 15.3 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.1655, allocations: 8.234 kB / 0.6967 GB, free: 15.29 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/0.1655, allocations: 19.95 kB / 0.6967 GB, free: 15.27 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.1658, allocations: 179.4 kB / 0.6969 GB, free: 15.09 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1658, allocations: 3.984 kB / 0.6969 GB, free: 15.09 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.1659, allocations: 4 kB / 0.6969 GB, free: 15.08 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1659, allocations: 4 kB / 0.6969 GB, free: 15.08 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002684/0.1661, allocations: 144.5 kB / 0.697 GB, free: 14.94 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.1665, allocations: 257.4 kB / 0.6973 GB, free: 14.64 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.1675, allocations: 354.7 kB / 0.6976 GB, free: 14.29 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.1677, allocations: 116.7 kB / 0.6977 GB, free: 14.17 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/0.1679, allocations: 11.98 kB / 0.6978 GB, free: 14.16 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.1679, allocations: 38.56 kB / 0.6978 GB, free: 14.11 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=28): time 1.473e-06/0.1679, allocations: 0 / 0.6978 GB, free: 14.11 MB / 0.5295 GB Notification: Performance of matching and sorting (n=28): time 0.0007773/0.1687, allocations: 374.1 kB / 0.6981 GB, free: 13.74 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.1687, allocations: 59.39 kB / 0.6982 GB, free: 13.67 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.1689, allocations: 132.6 kB / 0.6983 GB, free: 13.54 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.1689, allocations: 29.7 kB / 0.6984 GB, free: 13.5 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.1689, allocations: 92.64 kB / 0.6984 GB, free: 13.41 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.1691, allocations: 119 kB / 0.6986 GB, free: 13.29 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.1692, allocations: 62.03 kB / 0.6986 GB, free: 13.22 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1693, allocations: 334.8 kB / 0.6989 GB, free: 12.88 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.1695, allocations: 116.6 kB / 0.6991 GB, free: 12.77 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.1697, allocations: 133.2 kB / 0.6992 GB, free: 12.64 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.1702, allocations: 274.3 kB / 0.6994 GB, free: 12.37 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1702, allocations: 0 / 0.6994 GB, free: 12.37 MB / 0.5295 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005749/0.1708, allocations: 361.9 kB / 0.6998 GB, free: 12.01 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1708, allocations: 4 kB / 0.6998 GB, free: 12.01 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1708, allocations: 0 / 0.6998 GB, free: 12.01 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.1708, allocations: 8 kB / 0.6998 GB, free: 12 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.1711, allocations: 67.91 kB / 0.6999 GB, free: 11.93 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.1712, allocations: 11.92 kB / 0.6999 GB, free: 11.92 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.1713, allocations: 19.83 kB / 0.6999 GB, free: 11.9 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.1713, allocations: 15.98 kB / 0.6999 GB, free: 11.89 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.0001517/0.1715, allocations: 137.7 kB / 0.7 GB, free: 11.74 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.1715, allocations: 11.91 kB / 0.7001 GB, free: 11.73 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007909/0.1723, allocations: 399.2 kB / 0.7004 GB, free: 11.33 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1723, allocations: 4 kB / 0.7004 GB, free: 11.32 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1723, allocations: 0 / 0.7004 GB, free: 11.32 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1723, allocations: 0 / 0.7004 GB, free: 11.32 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.1727, allocations: 292.3 kB / 0.7007 GB, free: 11 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1727, allocations: 4 kB / 0.7007 GB, free: 10.99 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004601/0.1731, allocations: 91.83 kB / 0.7008 GB, free: 10.9 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1731, allocations: 4 kB / 0.7008 GB, free: 10.9 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.1732, allocations: 8 kB / 0.7008 GB, free: 10.89 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1732, allocations: 4 kB / 0.7008 GB, free: 10.89 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1732, allocations: 3.984 kB / 0.7008 GB, free: 10.88 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008286/0.174, allocations: 0.5262 MB / 0.7013 GB, free: 10.34 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.1741, allocations: 47.8 kB / 0.7014 GB, free: 10.29 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.1742, allocations: 8 kB / 0.7014 GB, free: 10.29 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.1743, allocations: 8 kB / 0.7014 GB, free: 10.28 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.1743, allocations: 27.95 kB / 0.7014 GB, free: 10.25 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.1744, allocations: 15.94 kB / 0.7014 GB, free: 10.23 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 7.716e-05/0.1744, allocations: 107.2 kB / 0.7015 GB, free: 10.13 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1744, allocations: 0 / 0.7015 GB, free: 10.13 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002866/0.1747, allocations: 68 kB / 0.7016 GB, free: 10.06 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.0001893/0.1749, allocations: 119.1 kB / 0.7017 GB, free: 9.938 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0005084/0.1754, allocations: 287.6 kB / 0.702 GB, free: 9.656 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1754, allocations: 4 kB / 0.702 GB, free: 9.652 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.1757, allocations: 164.8 kB / 0.7022 GB, free: 9.492 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.1759, allocations: 37.12 kB / 0.7022 GB, free: 9.461 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.1774, allocations: 0.8979 MB / 0.7031 GB, free: 8.535 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.1778, allocations: 0.7448 MB / 0.7038 GB, free: 7.762 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.1779, allocations: 31.42 kB / 0.7038 GB, free: 7.73 MB / 0.5295 GB Notification: Performance of SimCode: time 3.2e-07/0.1779, allocations: 0 / 0.7038 GB, free: 7.73 MB / 0.5295 GB Notification: Performance of Templates: time 0.005443/0.1834, allocations: 3.041 MB / 0.7068 GB, free: 4.699 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 299] Reference file matches [Calling sys.exit(0), Time elapsed: 9.823534056078643]