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/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.3-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-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_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_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.001044/0.001044, allocations: 190.1 kB / 16.61 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.3504/0.3504, allocations: 225.7 MB / 243 MB, free: 4.152 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.0008995/0.0008995, allocations: 105.5 kB / 293.2 MB, free: 11.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo): time 0.3918/0.3918, allocations: 119.5 MB / 462.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 55.92 kB / 0.5427 GB, free: 9.27 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1083, allocations: 80.7 MB / 0.6215 GB, free: 8.43 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001785/0.1102, allocations: 1.432 MB / 0.6229 GB, free: 6.984 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006261/0.1108, allocations: 0.5186 MB / 0.6234 GB, free: 6.465 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.1108, allocations: 3.938 kB / 0.6234 GB, free: 6.461 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 6.732e-05/0.1109, allocations: 3.984 kB / 0.6234 GB, free: 6.457 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.1111, allocations: 55.73 kB / 0.6234 GB, free: 6.402 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.126e-05/0.1112, allocations: 23.97 kB / 0.6235 GB, free: 6.379 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.1115, allocations: 331.3 kB / 0.6238 GB, free: 6.055 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.332e-05/0.1115, allocations: 8.125 kB / 0.6238 GB, free: 6.047 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.1116, allocations: 115.8 kB / 0.6239 GB, free: 5.934 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.1118, allocations: 167.6 kB / 0.6241 GB, free: 5.77 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.1119, allocations: 16 kB / 0.6241 GB, free: 5.754 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.214e-05/0.112, allocations: 39.97 kB / 0.6241 GB, free: 5.715 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.1121, allocations: 123.7 kB / 0.6242 GB, free: 5.594 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.1122, allocations: 131.3 kB / 0.6244 GB, free: 5.465 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.1124, allocations: 235.5 kB / 0.6246 GB, free: 5.234 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1124, allocations: 4 kB / 0.6246 GB, free: 5.23 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1124, allocations: 0 / 0.6246 GB, free: 5.23 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.1124, allocations: 0 / 0.6246 GB, free: 5.23 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.0008637/0.1133, allocations: 0.5771 MB / 0.6251 GB, free: 4.605 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.589e-05/0.1133, allocations: 12.03 kB / 0.6252 GB, free: 4.594 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.1134, allocations: 28.64 kB / 0.6252 GB, free: 4.566 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.1136, allocations: 251.8 kB / 0.6254 GB, free: 4.281 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1136, allocations: 16.44 kB / 0.6254 GB, free: 4.262 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.1136, allocations: 28 kB / 0.6255 GB, free: 4.234 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.114, allocations: 319.1 kB / 0.6258 GB, free: 3.918 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1141, allocations: 0 / 0.6258 GB, free: 3.918 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.1141, allocations: 8 kB / 0.6258 GB, free: 3.91 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-06/0.1141, allocations: 11.94 kB / 0.6258 GB, free: 3.898 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/0.1145, allocations: 293.5 kB / 0.6261 GB, free: 3.609 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.1148, allocations: 391.2 kB / 0.6264 GB, free: 3.18 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.1162, allocations: 0.6887 MB / 0.6271 GB, free: 2.484 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/0.1165, allocations: 234 kB / 0.6273 GB, free: 2.254 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.1167, allocations: 97.52 kB / 0.6274 GB, free: 2.141 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.1167, allocations: 42.98 kB / 0.6275 GB, free: 2.09 MB / 442.8 MB Notification: Performance of pre-optimization done (n=53): time 1.342e-06/0.1167, allocations: 0 / 0.6275 GB, free: 2.09 MB / 442.8 MB Notification: Performance of matching and sorting (n=53): time 0.0009121/0.1176, allocations: 0.6917 MB / 0.6282 GB, free: 1.387 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.1177, allocations: 55.84 kB / 0.6282 GB, free: 1.316 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.32e-05/0.1178, allocations: 157.4 kB / 0.6284 GB, free: 1.148 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.1178, allocations: 33.64 kB / 0.6284 GB, free: 1.109 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.669e-05/0.1178, allocations: 101.1 kB / 0.6285 GB, free: 1.008 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.118, allocations: 201 kB / 0.6287 GB, free: 0.8086 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.1181, allocations: 110.3 kB / 0.6288 GB, free: 0.6914 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 8.36e-05/0.1182, allocations: 346.8 kB / 0.6291 GB, free: 352 kB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.1185, allocations: 237.1 kB / 0.6293 GB, free: 116 kB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.1188, allocations: 249.7 kB / 0.6296 GB, free: 15.87 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/0.1194, allocations: 0.5282 MB / 0.6301 GB, free: 15.34 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1194, allocations: 0 / 0.6301 GB, free: 15.34 MB / 458.8 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007558/0.1202, allocations: 0.6452 MB / 0.6307 GB, free: 14.69 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.1202, allocations: 8 kB / 0.6307 GB, free: 14.68 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.1202, allocations: 0 / 0.6307 GB, free: 14.68 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.1202, allocations: 0 / 0.6307 GB, free: 14.68 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004659/0.1207, allocations: 139.8 kB / 0.6309 GB, free: 14.54 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.1207, allocations: 7.938 kB / 0.6309 GB, free: 14.54 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.1208, allocations: 47.53 kB / 0.6309 GB, free: 14.49 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.1209, allocations: 19.98 kB / 0.6309 GB, free: 14.47 MB / 458.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.0001138/0.121, allocations: 158 kB / 0.6311 GB, free: 14.3 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.121, allocations: 27.72 kB / 0.6311 GB, free: 14.28 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009651/0.122, allocations: 0.7166 MB / 0.6318 GB, free: 13.55 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.122, allocations: 12 kB / 0.6318 GB, free: 13.54 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.122, allocations: 3.938 kB / 0.6318 GB, free: 13.54 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.1221, allocations: 3.984 kB / 0.6318 GB, free: 13.54 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/0.1224, allocations: 465.5 kB / 0.6323 GB, free: 13.03 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1224, allocations: 0 / 0.6323 GB, free: 13.03 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006689/0.1231, allocations: 159.8 kB / 0.6324 GB, free: 12.88 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1231, allocations: 4 kB / 0.6324 GB, free: 12.87 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/0.1232, allocations: 23.98 kB / 0.6325 GB, free: 12.85 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1232, allocations: 0 / 0.6325 GB, free: 12.85 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1232, allocations: 7.938 kB / 0.6325 GB, free: 12.84 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.1243, allocations: 0.9631 MB / 0.6334 GB, free: 11.86 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.1244, allocations: 172.6 kB / 0.6336 GB, free: 11.67 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.1245, allocations: 27.98 kB / 0.6336 GB, free: 11.64 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.1247, allocations: 12 kB / 0.6336 GB, free: 11.63 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.1247, allocations: 40.59 kB / 0.6336 GB, free: 11.59 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.1248, allocations: 20 kB / 0.6337 GB, free: 11.57 MB / 458.8 MB Notification: Performance of sorting global known variables: time 5.119e-05/0.1248, allocations: 110.2 kB / 0.6338 GB, free: 11.47 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1248, allocations: 4 kB / 0.6338 GB, free: 11.46 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0002652/0.1251, allocations: 128 kB / 0.6339 GB, free: 11.34 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.0001185/0.1252, allocations: 130.4 kB / 0.634 GB, free: 11.21 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0006875/0.1259, allocations: 0.5833 MB / 0.6346 GB, free: 10.62 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1259, allocations: 0 / 0.6346 GB, free: 10.62 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.1263, allocations: 331.5 kB / 0.6349 GB, free: 10.3 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.1265, allocations: 63.89 kB / 0.635 GB, free: 10.24 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.1283, allocations: 1.613 MB / 0.6365 GB, free: 8.594 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.1286, allocations: 0.8167 MB / 0.6373 GB, free: 7.75 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0003089/0.1289, allocations: 175.1 kB / 0.6375 GB, free: 7.582 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.129, allocations: 51.42 kB / 0.6376 GB, free: 7.531 MB / 458.8 MB Notification: Performance of SimCode: time 2.81e-07/0.129, allocations: 0 / 0.6376 GB, free: 7.531 MB / 458.8 MB Notification: Performance of Templates: time 0.009432/0.1385, allocations: 5.364 MB / 0.6428 GB, free: 2.223 MB / 458.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (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) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches