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/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_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,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=43200,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 188.9 kB / 17.27 MB, free: 4.504 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.177/1.177, allocations: 222.9 MB / 240.9 MB, free: 10.99 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.0009533/0.0009533, allocations: 103.8 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.6329/0.6329, allocations: 119.3 MB / 460.6 MB, free: 9.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009079/0.000908, allocations: 47.92 kB / 0.5404 GB, free: 41.95 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1086, allocations: 80.69 MB / 0.6192 GB, free: 11.34 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002041/0.1107, allocations: 1.446 MB / 0.6207 GB, free: 9.883 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007147/0.1114, allocations: 0.5186 MB / 0.6212 GB, free: 9.363 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.1115, allocations: 0 / 0.6212 GB, free: 9.363 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 7.492e-05/0.1116, allocations: 3.938 kB / 0.6212 GB, free: 9.359 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.1118, allocations: 59.78 kB / 0.6212 GB, free: 9.301 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.784e-05/0.1119, allocations: 31.91 kB / 0.6213 GB, free: 9.27 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.1121, allocations: 235.4 kB / 0.6215 GB, free: 9.039 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.59e-05/0.1122, allocations: 4.188 kB / 0.6215 GB, free: 9.035 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.1123, allocations: 79.81 kB / 0.6216 GB, free: 8.957 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.1124, allocations: 107.7 kB / 0.6217 GB, free: 8.852 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.1125, allocations: 8 kB / 0.6217 GB, free: 8.844 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.015e-05/0.1126, allocations: 27.98 kB / 0.6217 GB, free: 8.816 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 8.662e-05/0.1126, allocations: 71.8 kB / 0.6218 GB, free: 8.746 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 7.516e-05/0.1127, allocations: 75.62 kB / 0.6218 GB, free: 8.672 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.1129, allocations: 135.9 kB / 0.622 GB, free: 8.539 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1129, allocations: 0 / 0.622 GB, free: 8.539 MB / 442.8 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1129, allocations: 3.938 kB / 0.622 GB, free: 8.535 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1129, allocations: 0 / 0.622 GB, free: 8.535 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006578/0.1136, allocations: 471.1 kB / 0.6224 GB, free: 8.023 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.1136, allocations: 8.031 kB / 0.6224 GB, free: 8.016 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.1137, allocations: 20.73 kB / 0.6224 GB, free: 7.996 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.1139, allocations: 208.1 kB / 0.6226 GB, free: 7.754 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1139, allocations: 12.17 kB / 0.6227 GB, free: 7.742 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.1139, allocations: 15.91 kB / 0.6227 GB, free: 7.727 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.1142, allocations: 179.4 kB / 0.6228 GB, free: 7.547 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.1142, allocations: 4 kB / 0.6228 GB, free: 7.543 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.1142, allocations: 4 kB / 0.6228 GB, free: 7.539 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1142, allocations: 4 kB / 0.6229 GB, free: 7.535 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.1145, allocations: 144.6 kB / 0.623 GB, free: 7.395 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002687/0.1147, allocations: 286.2 kB / 0.6233 GB, free: 7.066 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008516/0.1156, allocations: 362.8 kB / 0.6236 GB, free: 6.703 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.1158, allocations: 120.8 kB / 0.6237 GB, free: 6.582 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.1159, allocations: 92.98 kB / 0.6238 GB, free: 6.473 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.1159, allocations: 38.55 kB / 0.6238 GB, free: 6.426 MB / 442.8 MB Notification: Performance of pre-optimization done (n=28): time 1.332e-06/0.1159, allocations: 0 / 0.6238 GB, free: 6.426 MB / 442.8 MB Notification: Performance of matching and sorting (n=28): time 0.0005525/0.1165, allocations: 378 kB / 0.6242 GB, free: 6.051 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.1165, allocations: 55.41 kB / 0.6243 GB, free: 5.984 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.449e-05/0.1166, allocations: 136.3 kB / 0.6244 GB, free: 5.844 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1166, allocations: 29.7 kB / 0.6244 GB, free: 5.809 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.1167, allocations: 96.69 kB / 0.6245 GB, free: 5.711 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.839e-05/0.1168, allocations: 110.4 kB / 0.6246 GB, free: 5.602 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.058e-05/0.1169, allocations: 69.95 kB / 0.6247 GB, free: 5.527 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 8.102e-05/0.1169, allocations: 330.8 kB / 0.625 GB, free: 5.195 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.1171, allocations: 120.6 kB / 0.6251 GB, free: 5.078 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.1173, allocations: 137.1 kB / 0.6252 GB, free: 4.945 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/0.1176, allocations: 282.6 kB / 0.6255 GB, free: 4.668 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1176, allocations: 0 / 0.6255 GB, free: 4.668 MB / 442.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004539/0.1181, allocations: 353.3 kB / 0.6259 GB, free: 4.316 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.1181, allocations: 4 kB / 0.6259 GB, free: 4.312 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.1181, allocations: 0 / 0.6259 GB, free: 4.312 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1182, allocations: 4 kB / 0.6259 GB, free: 4.309 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.1184, allocations: 71.91 kB / 0.6259 GB, free: 4.238 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1185, allocations: 4 kB / 0.6259 GB, free: 4.234 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.1186, allocations: 19.75 kB / 0.626 GB, free: 4.215 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.1186, allocations: 19.98 kB / 0.626 GB, free: 4.195 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 (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 8.717e-05/0.1187, allocations: 133.7 kB / 0.6261 GB, free: 4.055 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.1187, allocations: 15.81 kB / 0.6261 GB, free: 4.039 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005965/0.1193, allocations: 411.3 kB / 0.6265 GB, free: 3.625 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1193, allocations: 4 kB / 0.6265 GB, free: 3.621 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1193, allocations: 0 / 0.6265 GB, free: 3.621 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1194, allocations: 0 / 0.6265 GB, free: 3.621 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.1196, allocations: 313.2 kB / 0.6268 GB, free: 3.266 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1196, allocations: 4 kB / 0.6268 GB, free: 3.262 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.12, allocations: 83.89 kB / 0.6269 GB, free: 3.18 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.12, allocations: 4 kB / 0.6269 GB, free: 3.176 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.12, allocations: 8 kB / 0.6269 GB, free: 3.168 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.1201, allocations: 4 kB / 0.6269 GB, free: 3.164 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1201, allocations: 4 kB / 0.6269 GB, free: 3.16 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007139/0.1272, allocations: 4.098 MB / 0.6309 GB, free: 14.9 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.1273, allocations: 128.7 kB / 0.631 GB, free: 14.76 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.1274, allocations: 15.98 kB / 0.6311 GB, free: 14.74 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.1275, allocations: 7.938 kB / 0.6311 GB, free: 14.73 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.1275, allocations: 23.97 kB / 0.6311 GB, free: 14.71 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.1276, allocations: 16 kB / 0.6311 GB, free: 14.7 MB / 458.8 MB Notification: Performance of sorting global known variables: time 5.191e-05/0.1276, allocations: 110 kB / 0.6312 GB, free: 14.59 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1276, allocations: 0 / 0.6312 GB, free: 14.59 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0003638/0.128, allocations: 108 kB / 0.6313 GB, free: 14.48 MB / 458.8 MB 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.0001278/0.1281, allocations: 115.1 kB / 0.6314 GB, free: 14.36 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.000414/0.1285, allocations: 312.3 kB / 0.6317 GB, free: 14.06 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1286, allocations: 0 / 0.6317 GB, free: 14.06 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.1288, allocations: 167.8 kB / 0.6319 GB, free: 13.89 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.129, allocations: 35.98 kB / 0.6319 GB, free: 13.86 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.1304, allocations: 1.187 MB / 0.6331 GB, free: 12.63 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.1306, allocations: 0.7567 MB / 0.6338 GB, free: 11.84 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0002574/0.1309, allocations: 118.8 kB / 0.6339 GB, free: 11.73 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.131, allocations: 35.44 kB / 0.634 GB, free: 11.7 MB / 458.8 MB Notification: Performance of SimCode: time 2.61e-07/0.131, allocations: 0 / 0.634 GB, free: 11.7 MB / 458.8 MB Notification: Performance of Templates: time 0.007059/0.1381, allocations: 4.691 MB / 0.6385 GB, free: 7.027 MB / 458.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (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) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches