Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/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) 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) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 190.4 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.001319, allocations: 107.1 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.8939/0.8939, allocations: 119.3 MB / 460.6 MB, free: 9.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 51.92 kB / 0.5405 GB, free: 41.89 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1687, allocations: 80.69 MB / 0.6192 GB, free: 11.35 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.00292/0.1717, allocations: 1.445 MB / 0.6207 GB, free: 9.891 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009898/0.1727, allocations: 0.5069 MB / 0.6212 GB, free: 9.383 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.811e-05/0.1728, allocations: 3.938 kB / 0.6212 GB, free: 9.379 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.1729, allocations: 0 / 0.6212 GB, free: 9.379 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003368/0.1733, allocations: 63.73 kB / 0.6212 GB, free: 9.316 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.269e-05/0.1734, allocations: 31.94 kB / 0.6212 GB, free: 9.285 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.1737, allocations: 359.2 kB / 0.6216 GB, free: 8.934 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.404e-05/0.1738, allocations: 4.188 kB / 0.6216 GB, free: 8.93 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.174, allocations: 119.8 kB / 0.6217 GB, free: 8.812 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.1742, allocations: 171.6 kB / 0.6219 GB, free: 8.645 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 4.565e-05/0.1743, allocations: 16 kB / 0.6219 GB, free: 8.629 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.1744, allocations: 35.98 kB / 0.6219 GB, free: 8.594 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.1746, allocations: 123.7 kB / 0.622 GB, free: 8.473 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.1747, allocations: 127.4 kB / 0.6222 GB, free: 8.348 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.175, allocations: 235.5 kB / 0.6224 GB, free: 8.117 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.175, allocations: 0 / 0.6224 GB, free: 8.117 MB / 442.8 MB Notification: Performance of FrontEnd: time 7.92e-07/0.175, allocations: 0 / 0.6224 GB, free: 8.117 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.175, allocations: 0 / 0.6224 GB, free: 8.117 MB / 442.8 MB 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.001173/0.1762, allocations: 0.5771 MB / 0.623 GB, free: 7.492 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1763, allocations: 16.02 kB / 0.623 GB, free: 7.477 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.442e-05/0.1764, allocations: 24.66 kB / 0.623 GB, free: 7.453 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.1767, allocations: 255.8 kB / 0.6232 GB, free: 7.164 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.1767, allocations: 16.38 kB / 0.6232 GB, free: 7.145 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/0.1768, allocations: 28 kB / 0.6233 GB, free: 7.117 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005203/0.1773, allocations: 327 kB / 0.6236 GB, free: 6.793 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1774, allocations: 0 / 0.6236 GB, free: 6.793 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.1774, allocations: 4 kB / 0.6236 GB, free: 6.789 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1774, allocations: 8 kB / 0.6236 GB, free: 6.781 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004487/0.1779, allocations: 289.5 kB / 0.6239 GB, free: 6.496 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.1784, allocations: 399.2 kB / 0.6243 GB, free: 6.059 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.1801, allocations: 0.6891 MB / 0.6249 GB, free: 5.359 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.1804, allocations: 234 kB / 0.6252 GB, free: 5.129 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/0.1806, allocations: 97.52 kB / 0.6252 GB, free: 5.016 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.1806, allocations: 39 kB / 0.6253 GB, free: 4.969 MB / 442.8 MB Notification: Performance of pre-optimization done (n=53): time 1.873e-06/0.1807, allocations: 0 / 0.6253 GB, free: 4.969 MB / 442.8 MB Notification: Performance of matching and sorting (n=53): time 0.001141/0.1818, allocations: 0.6917 MB / 0.626 GB, free: 4.266 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.1819, allocations: 55.84 kB / 0.626 GB, free: 4.195 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.182, allocations: 156.6 kB / 0.6262 GB, free: 4.027 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.182, allocations: 33.7 kB / 0.6262 GB, free: 3.988 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.358e-05/0.1821, allocations: 97.12 kB / 0.6263 GB, free: 3.891 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.1823, allocations: 209 kB / 0.6265 GB, free: 3.684 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.1824, allocations: 106.3 kB / 0.6266 GB, free: 3.57 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1826, allocations: 346.8 kB / 0.6269 GB, free: 3.223 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.1829, allocations: 237.1 kB / 0.6271 GB, free: 2.992 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.1833, allocations: 245.7 kB / 0.6274 GB, free: 2.75 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007252/0.184, allocations: 0.5282 MB / 0.6279 GB, free: 2.223 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.184, allocations: 0 / 0.6279 GB, free: 2.223 MB / 442.8 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009139/0.1849, allocations: 0.6413 MB / 0.6285 GB, free: 1.574 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.185, allocations: 8 kB / 0.6285 GB, free: 1.566 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.185, allocations: 4 kB / 0.6285 GB, free: 1.562 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.185, allocations: 0 / 0.6285 GB, free: 1.562 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/0.1856, allocations: 143.8 kB / 0.6287 GB, free: 1.422 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.1856, allocations: 11.92 kB / 0.6287 GB, free: 1.41 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.1858, allocations: 39.53 kB / 0.6287 GB, free: 1.371 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.1858, allocations: 19.98 kB / 0.6287 GB, free: 1.352 MB / 442.8 MB 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.0001617/0.186, allocations: 161.6 kB / 0.6289 GB, free: 1.184 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.186, allocations: 27.72 kB / 0.6289 GB, free: 1.156 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.1872, allocations: 0.7205 MB / 0.6296 GB, free: 440 kB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.1872, allocations: 11.94 kB / 0.6296 GB, free: 428 kB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.1873, allocations: 3.938 kB / 0.6296 GB, free: 424 kB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.1873, allocations: 3.984 kB / 0.6296 GB, free: 420 kB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005084/0.1878, allocations: 465.6 kB / 0.6301 GB, free: 15.9 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1878, allocations: 3.938 kB / 0.6301 GB, free: 15.9 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007352/0.1885, allocations: 155.8 kB / 0.6302 GB, free: 15.75 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1885, allocations: 0 / 0.6302 GB, free: 15.75 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.081e-05/0.1886, allocations: 31.98 kB / 0.6303 GB, free: 15.71 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.1886, allocations: 7.984 kB / 0.6303 GB, free: 15.71 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1886, allocations: 3.938 kB / 0.6303 GB, free: 15.7 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/0.2031, allocations: 7.215 MB / 0.6373 GB, free: 8.336 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/0.2034, allocations: 172.5 kB / 0.6375 GB, free: 8.148 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.489e-05/0.2034, allocations: 19.98 kB / 0.6375 GB, free: 8.129 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.2036, allocations: 8.188 kB / 0.6375 GB, free: 8.121 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.623e-05/0.2037, allocations: 48.53 kB / 0.6376 GB, free: 8.074 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/0.2038, allocations: 23.98 kB / 0.6376 GB, free: 8.051 MB / 458.8 MB Notification: Performance of sorting global known variables: time 8.052e-05/0.2039, allocations: 108.9 kB / 0.6377 GB, free: 7.945 MB / 458.8 MB Notification: Performance of sort global known variables: time 1e-07/0.2039, allocations: 0 / 0.6377 GB, free: 7.945 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0005555/0.2044, allocations: 200 kB / 0.6379 GB, free: 7.75 MB / 458.8 MB 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.0002434/0.2047, allocations: 135 kB / 0.638 GB, free: 7.605 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0009846/0.2057, allocations: 0.5755 MB / 0.6386 GB, free: 7.027 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.2057, allocations: 0 / 0.6386 GB, free: 7.027 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004587/0.2062, allocations: 331.6 kB / 0.6389 GB, free: 6.707 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.2066, allocations: 59.95 kB / 0.6389 GB, free: 6.648 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/0.2095, allocations: 2.065 MB / 0.641 GB, free: 4.547 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.21, allocations: 0.8245 MB / 0.6418 GB, free: 3.695 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0005991/0.2106, allocations: 219.1 kB / 0.642 GB, free: 3.48 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.2108, allocations: 59.42 kB / 0.642 GB, free: 3.422 MB / 458.8 MB Notification: Performance of SimCode: time 1.753e-06/0.2108, allocations: 3.938 kB / 0.642 GB, free: 3.418 MB / 458.8 MB Notification: Performance of Templates: time 0.01571/0.2266, allocations: 8.586 MB / 0.6504 GB, free: 10.88 MB / 474.8 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches