Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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.001533/0.001533, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001593/0.001593, allocations: 180.9 kB / 23.71 MB, free: 4.695 MB / 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.343/1.343, allocations: 225.6 MB / 252.5 MB, free: 13.01 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 0.9497/0.9497, allocations: 120.6 MB / 428.3 MB, free: 5.551 MB / 334.1 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_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 71.88 kB / 0.6005 GB, free: 15.19 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.134, allocations: 84.69 MB / 0.6832 GB, free: 10.29 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002401/0.1364, allocations: 1.39 MB / 0.6846 GB, free: 8.891 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0009073/0.1373, allocations: 0.5262 MB / 0.6851 GB, free: 8.363 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.1374, allocations: 0 / 0.6851 GB, free: 8.363 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 7.749e-05/0.1374, allocations: 11.86 kB / 0.6851 GB, free: 8.352 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.1377, allocations: 67.73 kB / 0.6852 GB, free: 8.285 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001191/0.1378, allocations: 39.88 kB / 0.6852 GB, free: 8.246 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.1382, allocations: 319.3 kB / 0.6855 GB, free: 7.934 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.1382, allocations: 8.172 kB / 0.6855 GB, free: 7.926 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.1384, allocations: 115.8 kB / 0.6856 GB, free: 7.812 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.1386, allocations: 159.7 kB / 0.6858 GB, free: 7.656 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 4.67e-05/0.1387, allocations: 16 kB / 0.6858 GB, free: 7.641 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1388, allocations: 35.98 kB / 0.6858 GB, free: 7.605 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.1389, allocations: 127.6 kB / 0.6859 GB, free: 7.48 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.1391, allocations: 127.4 kB / 0.6861 GB, free: 7.355 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.1394, allocations: 243 kB / 0.6863 GB, free: 7.117 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1394, allocations: 0 / 0.6863 GB, free: 7.117 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1394, allocations: 0 / 0.6863 GB, free: 7.117 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.1394, allocations: 0 / 0.6863 GB, free: 7.117 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001145/0.1405, allocations: 0.5132 MB / 0.6868 GB, free: 6.574 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.1406, allocations: 8.031 kB / 0.6868 GB, free: 6.566 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.374e-05/0.1406, allocations: 36.73 kB / 0.6868 GB, free: 6.531 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.141, allocations: 193.9 kB / 0.687 GB, free: 6.316 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.141, allocations: 16.44 kB / 0.687 GB, free: 6.301 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.141, allocations: 27.95 kB / 0.6871 GB, free: 6.273 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005476/0.1416, allocations: 327 kB / 0.6874 GB, free: 5.945 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.1416, allocations: 3.984 kB / 0.6874 GB, free: 5.941 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.1416, allocations: 8 kB / 0.6874 GB, free: 5.934 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.1416, allocations: 8 kB / 0.6874 GB, free: 5.926 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004715/0.1421, allocations: 289.5 kB / 0.6877 GB, free: 5.645 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.1426, allocations: 366.4 kB / 0.688 GB, free: 5.242 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.1444, allocations: 0.6512 MB / 0.6887 GB, free: 4.586 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.1448, allocations: 222 kB / 0.6889 GB, free: 4.367 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/0.1449, allocations: 16.42 kB / 0.6889 GB, free: 4.352 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.1449, allocations: 50.92 kB / 0.6889 GB, free: 4.289 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=53): time 1.573e-06/0.1449, allocations: 0 / 0.6889 GB, free: 4.289 MB / 0.5139 GB Notification: Performance of matching and sorting (n=53): time 0.001204/0.1462, allocations: 0.6917 MB / 0.6896 GB, free: 3.586 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.1462, allocations: 55.84 kB / 0.6897 GB, free: 3.52 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.1463, allocations: 148.2 kB / 0.6898 GB, free: 3.359 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.1464, allocations: 33.7 kB / 0.6898 GB, free: 3.32 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.1464, allocations: 101.1 kB / 0.6899 GB, free: 3.219 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.1466, allocations: 214.2 kB / 0.6901 GB, free: 3.008 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.1468, allocations: 110.3 kB / 0.6902 GB, free: 2.891 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1469, allocations: 346.7 kB / 0.6906 GB, free: 2.543 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.1473, allocations: 237.1 kB / 0.6908 GB, free: 2.312 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/0.1477, allocations: 253.7 kB / 0.691 GB, free: 2.066 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000826/0.1485, allocations: 0.5282 MB / 0.6916 GB, free: 1.531 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1485, allocations: 4 kB / 0.6916 GB, free: 1.527 MB / 0.5139 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001008/0.1495, allocations: 0.6454 MB / 0.6922 GB, free: 0.875 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1496, allocations: 4 kB / 0.6922 GB, free: 0.8711 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1496, allocations: 8 kB / 0.6922 GB, free: 0.8633 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1496, allocations: 0 / 0.6922 GB, free: 0.8633 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005706/0.1501, allocations: 147.8 kB / 0.6923 GB, free: 0.7188 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1502, allocations: 4 kB / 0.6923 GB, free: 0.7148 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.1504, allocations: 43.61 kB / 0.6924 GB, free: 0.6719 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.1504, allocations: 19.98 kB / 0.6924 GB, free: 0.6523 MB / 0.5139 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 (74): * Single equations (assignments): 74 * 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.000165/0.1506, allocations: 157.7 kB / 0.6926 GB, free: 500 kB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.1506, allocations: 23.86 kB / 0.6926 GB, free: 476 kB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.1519, allocations: 0.7204 MB / 0.6933 GB, free: 15.74 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.1519, allocations: 15.94 kB / 0.6933 GB, free: 15.72 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1519, allocations: 0 / 0.6933 GB, free: 15.72 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.1519, allocations: 3.984 kB / 0.6933 GB, free: 15.72 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/0.1525, allocations: 440.7 kB / 0.6937 GB, free: 15.25 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1525, allocations: 0 / 0.6937 GB, free: 15.25 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007581/0.1532, allocations: 151.9 kB / 0.6939 GB, free: 15.1 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1532, allocations: 4 kB / 0.6939 GB, free: 15.09 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-05/0.1533, allocations: 23.98 kB / 0.6939 GB, free: 15.07 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.1533, allocations: 7.922 kB / 0.6939 GB, free: 15.06 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1533, allocations: 4 kB / 0.6939 GB, free: 15.06 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.1548, allocations: 0.967 MB / 0.6949 GB, free: 14.07 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.155, allocations: 99.72 kB / 0.6949 GB, free: 13.97 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.942e-05/0.155, allocations: 19.98 kB / 0.695 GB, free: 13.95 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.1552, allocations: 12 kB / 0.695 GB, free: 13.94 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/0.1553, allocations: 48.56 kB / 0.695 GB, free: 13.89 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.205e-05/0.1554, allocations: 23.98 kB / 0.695 GB, free: 13.87 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 7.995e-05/0.1554, allocations: 110.1 kB / 0.6952 GB, free: 13.77 MB / 0.5295 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1554, allocations: 0 / 0.6952 GB, free: 13.77 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0003442/0.1558, allocations: 124 kB / 0.6953 GB, free: 13.64 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.0001814/0.156, allocations: 132.5 kB / 0.6954 GB, free: 13.51 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0009109/0.1569, allocations: 0.552 MB / 0.6959 GB, free: 12.96 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1569, allocations: 0 / 0.6959 GB, free: 12.96 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0004559/0.1573, allocations: 315.5 kB / 0.6962 GB, free: 12.65 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.1576, allocations: 62.58 kB / 0.6963 GB, free: 12.59 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.1599, allocations: 1.528 MB / 0.6978 GB, free: 11.04 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.1604, allocations: 0.805 MB / 0.6986 GB, free: 10.21 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0003832/0.1607, allocations: 187.1 kB / 0.6988 GB, free: 10.02 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.1609, allocations: 51.36 kB / 0.6988 GB, free: 9.973 MB / 0.5295 GB Notification: Performance of SimCode: time 4.81e-07/0.1609, allocations: 0 / 0.6988 GB, free: 9.973 MB / 0.5295 GB Notification: Performance of Templates: time 0.01088/0.1718, allocations: 5.763 MB / 0.7044 GB, free: 4.254 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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.964392531663179]