Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.001547/0.001547, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.001844/0.001844, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.424/1.424, allocations: 230.6 MB / 258.3 MB, free: 8.211 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 0.9591/0.9591, allocations: 120.6 MB / 435.2 MB, free: 0.8672 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_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_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.001951/0.001951, allocations: 63.89 kB / 0.6096 GB, free: 8.824 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1489, allocations: 85.86 MB / 0.6934 GB, free: 2.746 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.00247/0.1514, allocations: 1.406 MB / 0.6948 GB, free: 1.336 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.1524, allocations: 0.5769 MB / 0.6954 GB, free: 0.7578 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.1524, allocations: 0 / 0.6954 GB, free: 0.7578 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 7.733e-05/0.1525, allocations: 7.922 kB / 0.6954 GB, free: 0.75 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.1528, allocations: 59.73 kB / 0.6954 GB, free: 0.6914 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001174/0.1529, allocations: 51.75 kB / 0.6955 GB, free: 0.6406 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.1532, allocations: 195.5 kB / 0.6957 GB, free: 460 kB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.1532, allocations: 8.188 kB / 0.6957 GB, free: 452 kB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.1534, allocations: 79.81 kB / 0.6957 GB, free: 372 kB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.1536, allocations: 99.69 kB / 0.6958 GB, free: 272 kB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.1536, allocations: 11.98 kB / 0.6958 GB, free: 260 kB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.1537, allocations: 31.97 kB / 0.6959 GB, free: 228 kB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.1538, allocations: 67.8 kB / 0.6959 GB, free: 160 kB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 9.448e-05/0.1539, allocations: 75.64 kB / 0.696 GB, free: 84 kB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.1541, allocations: 147.4 kB / 0.6962 GB, free: 15.94 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1541, allocations: 0 / 0.6962 GB, free: 15.94 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1541, allocations: 0 / 0.6962 GB, free: 15.94 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.1541, allocations: 0 / 0.6962 GB, free: 15.94 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.0008212/0.155, allocations: 401.9 kB / 0.6965 GB, free: 15.51 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.155, allocations: 8.031 kB / 0.6965 GB, free: 15.5 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.1551, allocations: 16.84 kB / 0.6966 GB, free: 15.49 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.1553, allocations: 165.1 kB / 0.6967 GB, free: 15.3 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1553, allocations: 8.234 kB / 0.6967 GB, free: 15.3 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/0.1553, allocations: 15.95 kB / 0.6967 GB, free: 15.28 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.1557, allocations: 175.4 kB / 0.6969 GB, free: 15.11 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1557, allocations: 0 / 0.6969 GB, free: 15.11 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.1557, allocations: 8 kB / 0.6969 GB, free: 15.1 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1557, allocations: 4 kB / 0.6969 GB, free: 15.09 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.156, allocations: 148.5 kB / 0.6971 GB, free: 14.95 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.1563, allocations: 257.4 kB / 0.6973 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009714/0.1573, allocations: 346.8 kB / 0.6976 GB, free: 14.31 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.1575, allocations: 116.8 kB / 0.6977 GB, free: 14.19 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.1576, allocations: 15.92 kB / 0.6978 GB, free: 14.18 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.1576, allocations: 38.56 kB / 0.6978 GB, free: 14.13 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=28): time 1.342e-06/0.1576, allocations: 0 / 0.6978 GB, free: 14.13 MB / 0.5295 GB Notification: Performance of matching and sorting (n=28): time 0.0006879/0.1583, allocations: 374.8 kB / 0.6982 GB, free: 13.76 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.1583, allocations: 59.34 kB / 0.6982 GB, free: 13.69 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.1585, allocations: 129.8 kB / 0.6983 GB, free: 13.55 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.1585, allocations: 33.7 kB / 0.6984 GB, free: 13.51 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/0.1585, allocations: 92.64 kB / 0.6985 GB, free: 13.42 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.1587, allocations: 115 kB / 0.6986 GB, free: 13.3 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.319e-05/0.1588, allocations: 58.03 kB / 0.6986 GB, free: 13.24 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1589, allocations: 338.8 kB / 0.6989 GB, free: 12.9 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.1591, allocations: 120.6 kB / 0.6991 GB, free: 12.78 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.1593, allocations: 125.2 kB / 0.6992 GB, free: 12.66 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004356/0.1598, allocations: 282.3 kB / 0.6994 GB, free: 12.38 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1598, allocations: 4 kB / 0.6995 GB, free: 12.38 MB / 0.5295 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005447/0.1603, allocations: 353.9 kB / 0.6998 GB, free: 12.03 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1603, allocations: 11.94 kB / 0.6998 GB, free: 12.02 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1603, allocations: 0 / 0.6998 GB, free: 12.02 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1603, allocations: 0 / 0.6998 GB, free: 12.02 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.1607, allocations: 75.89 kB / 0.6999 GB, free: 11.94 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1607, allocations: 0 / 0.6999 GB, free: 11.94 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.1608, allocations: 23.83 kB / 0.6999 GB, free: 11.92 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.1608, allocations: 12 kB / 0.6999 GB, free: 11.91 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.0001237/0.1609, allocations: 141.7 kB / 0.7 GB, free: 11.76 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.161, allocations: 15.91 kB / 0.7001 GB, free: 11.74 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007059/0.1617, allocations: 399.2 kB / 0.7004 GB, free: 11.34 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.1617, allocations: 4 kB / 0.7004 GB, free: 11.34 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1617, allocations: 0 / 0.7004 GB, free: 11.34 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1617, allocations: 7.984 kB / 0.7004 GB, free: 11.33 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.162, allocations: 288.3 kB / 0.7007 GB, free: 11 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.162, allocations: 0 / 0.7007 GB, free: 11 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004375/0.1625, allocations: 83.91 kB / 0.7008 GB, free: 10.92 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1625, allocations: 0 / 0.7008 GB, free: 10.92 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.1625, allocations: 15.98 kB / 0.7008 GB, free: 10.91 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1625, allocations: 0 / 0.7008 GB, free: 10.91 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1625, allocations: 3.938 kB / 0.7008 GB, free: 10.9 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008269/0.1633, allocations: 0.5301 MB / 0.7013 GB, free: 10.36 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.1634, allocations: 51.8 kB / 0.7014 GB, free: 10.3 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.1635, allocations: 8 kB / 0.7014 GB, free: 10.3 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.1636, allocations: 4 kB / 0.7014 GB, free: 10.29 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.1636, allocations: 27.89 kB / 0.7014 GB, free: 10.27 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.1637, allocations: 15.98 kB / 0.7014 GB, free: 10.25 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 7.269e-05/0.1637, allocations: 105.7 kB / 0.7015 GB, free: 10.15 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1e-07/0.1637, allocations: 0 / 0.7015 GB, free: 10.15 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002878/0.164, allocations: 68 kB / 0.7016 GB, free: 10.08 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.0001667/0.1642, allocations: 127.1 kB / 0.7017 GB, free: 9.949 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.00051/0.1647, allocations: 287.6 kB / 0.702 GB, free: 9.668 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1647, allocations: 0 / 0.702 GB, free: 9.668 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002401/0.1649, allocations: 160.8 kB / 0.7022 GB, free: 9.512 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.1652, allocations: 43.5 kB / 0.7022 GB, free: 9.473 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.1666, allocations: 0.8853 MB / 0.7031 GB, free: 8.559 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.167, allocations: 0.7526 MB / 0.7038 GB, free: 7.777 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.1672, allocations: 35.42 kB / 0.7038 GB, free: 7.742 MB / 0.5295 GB Notification: Performance of SimCode: time 3.31e-07/0.1672, allocations: 0 / 0.7038 GB, free: 7.742 MB / 0.5295 GB Notification: Performance of Templates: time 0.005313/0.1725, allocations: 3.024 MB / 0.7068 GB, free: 4.711 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_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_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.815238584997132]