Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001028, allocations: 190.9 kB / 16.62 MB, free: 5.145 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.3532/0.3532, allocations: 225.7 MB / 243 MB, free: 4.168 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.0009172/0.0009172, allocations: 112.8 kB / 293.2 MB, free: 11.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo): time 0.398/0.398, allocations: 119.5 MB / 462.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 51.92 kB / 0.5427 GB, free: 9.305 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1081, allocations: 80.69 MB / 0.6215 GB, free: 8.457 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.00179/0.1099, allocations: 1.447 MB / 0.6229 GB, free: 6.996 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006378/0.1105, allocations: 0.5186 MB / 0.6234 GB, free: 6.477 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.472e-05/0.1106, allocations: 0 / 0.6234 GB, free: 6.477 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 6.902e-05/0.1107, allocations: 7.922 kB / 0.6234 GB, free: 6.469 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.1109, allocations: 47.81 kB / 0.6234 GB, free: 6.422 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.193e-05/0.111, allocations: 31.89 kB / 0.6235 GB, free: 6.391 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.1113, allocations: 0.5498 MB / 0.624 GB, free: 5.84 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.379e-05/0.1114, allocations: 8.188 kB / 0.624 GB, free: 5.832 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.1116, allocations: 203.7 kB / 0.6242 GB, free: 5.633 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.1119, allocations: 299.4 kB / 0.6245 GB, free: 5.34 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 5.446e-05/0.1119, allocations: 32 kB / 0.6245 GB, free: 5.309 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.112, allocations: 47.98 kB / 0.6246 GB, free: 5.262 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.1122, allocations: 247.4 kB / 0.6248 GB, free: 5.02 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.1124, allocations: 234.9 kB / 0.625 GB, free: 4.789 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.1127, allocations: 438.8 kB / 0.6254 GB, free: 4.359 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1127, allocations: 0 / 0.6254 GB, free: 4.359 MB / 442.8 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1127, allocations: 0 / 0.6254 GB, free: 4.359 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1127, allocations: 0 / 0.6254 GB, free: 4.359 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001342/0.114, allocations: 0.8192 MB / 0.6262 GB, free: 3.492 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.676e-05/0.1141, allocations: 8.031 kB / 0.6263 GB, free: 3.484 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.356e-05/0.1142, allocations: 48.38 kB / 0.6263 GB, free: 3.438 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.1145, allocations: 327.3 kB / 0.6266 GB, free: 3.078 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.1145, allocations: 29 kB / 0.6266 GB, free: 3.047 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.768e-05/0.1146, allocations: 63.8 kB / 0.6267 GB, free: 2.984 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007104/0.1153, allocations: 0.588 MB / 0.6273 GB, free: 2.391 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1153, allocations: 0 / 0.6273 GB, free: 2.391 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.1154, allocations: 16 kB / 0.6273 GB, free: 2.375 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.1154, allocations: 12 kB / 0.6273 GB, free: 2.363 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007093/0.1161, allocations: 0.5894 MB / 0.6279 GB, free: 1.773 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006018/0.1167, allocations: 0.6098 MB / 0.6285 GB, free: 1.105 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002679/0.1194, allocations: 1.365 MB / 0.6298 GB, free: 15.73 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005108/0.1199, allocations: 455.6 kB / 0.6302 GB, free: 15.29 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/0.1201, allocations: 106.1 kB / 0.6303 GB, free: 15.17 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.1201, allocations: 47.56 kB / 0.6304 GB, free: 15.11 MB / 458.8 MB Notification: Performance of pre-optimization done (n=103): time 1.753e-06/0.1201, allocations: 0 / 0.6304 GB, free: 15.11 MB / 458.8 MB Notification: Performance of matching and sorting (n=103): time 0.001704/0.1218, allocations: 1.354 MB / 0.6317 GB, free: 13.75 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.1219, allocations: 60.41 kB / 0.6318 GB, free: 13.68 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.122, allocations: 179.7 kB / 0.6319 GB, free: 13.5 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.122, allocations: 41.7 kB / 0.632 GB, free: 13.45 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.1221, allocations: 106.1 kB / 0.6321 GB, free: 13.35 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/0.1223, allocations: 402.2 kB / 0.6325 GB, free: 12.95 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.1225, allocations: 195 kB / 0.6326 GB, free: 12.75 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 9.754e-05/0.1226, allocations: 374.7 kB / 0.633 GB, free: 12.38 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005722/0.1232, allocations: 470.3 kB / 0.6335 GB, free: 11.92 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005748/0.1238, allocations: 491.5 kB / 0.6339 GB, free: 11.43 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.125, allocations: 1.044 MB / 0.6349 GB, free: 10.39 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.125, allocations: 0 / 0.6349 GB, free: 10.39 MB / 458.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001469/0.1265, allocations: 1.242 MB / 0.6362 GB, free: 9.137 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1265, allocations: 11.98 kB / 0.6362 GB, free: 9.125 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1265, allocations: 0 / 0.6362 GB, free: 9.125 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1265, allocations: 7.938 kB / 0.6362 GB, free: 9.117 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008748/0.1274, allocations: 271.7 kB / 0.6364 GB, free: 8.852 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.1274, allocations: 4 kB / 0.6364 GB, free: 8.848 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.1277, allocations: 75.12 kB / 0.6365 GB, free: 8.773 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/0.1278, allocations: 39.98 kB / 0.6365 GB, free: 8.734 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 (144): * Single equations (assignments): 144 * 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.0001743/0.128, allocations: 213.5 kB / 0.6367 GB, free: 8.516 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.968e-05/0.128, allocations: 47.44 kB / 0.6368 GB, free: 8.469 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/0.1298, allocations: 1.396 MB / 0.6382 GB, free: 7.066 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.1299, allocations: 12 kB / 0.6382 GB, free: 7.055 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1299, allocations: 0 / 0.6382 GB, free: 7.055 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.1299, allocations: 11.91 kB / 0.6382 GB, free: 7.043 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006783/0.1306, allocations: 0.7465 MB / 0.6389 GB, free: 6.246 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1306, allocations: 0 / 0.6389 GB, free: 6.246 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.1318, allocations: 307.6 kB / 0.6392 GB, free: 5.945 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.1318, allocations: 12 kB / 0.6392 GB, free: 5.934 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.739e-05/0.1319, allocations: 47.97 kB / 0.6393 GB, free: 5.887 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1319, allocations: 4 kB / 0.6393 GB, free: 5.883 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.1319, allocations: 0 / 0.6393 GB, free: 5.883 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.134, allocations: 1.858 MB / 0.6411 GB, free: 4.004 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.1343, allocations: 252 kB / 0.6413 GB, free: 3.738 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.929e-05/0.1344, allocations: 39.97 kB / 0.6414 GB, free: 3.699 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.1347, allocations: 24 kB / 0.6414 GB, free: 3.676 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.1348, allocations: 89.19 kB / 0.6415 GB, free: 3.586 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.93e-05/0.1349, allocations: 39.98 kB / 0.6415 GB, free: 3.547 MB / 458.8 MB Notification: Performance of sorting global known variables: time 6.942e-05/0.1349, allocations: 133.4 kB / 0.6416 GB, free: 3.418 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1349, allocations: 0 / 0.6416 GB, free: 3.418 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0003661/0.1353, allocations: 232 kB / 0.6419 GB, free: 3.191 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20]) * 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 (144): * Single equations (assignments): 144 * 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.0001628/0.1355, allocations: 158.2 kB / 0.642 GB, free: 3.031 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.1368, allocations: 1.147 MB / 0.6431 GB, free: 1.887 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1368, allocations: 4 kB / 0.6431 GB, free: 1.883 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006945/0.1375, allocations: 0.6358 MB / 0.6437 GB, free: 1.246 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.1379, allocations: 99.95 kB / 0.6438 GB, free: 1.148 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3775/0.5153, allocations: 3.052 MB / 0.6468 GB, free: 32.34 MB / 458.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.5157, allocations: 0.9219 MB / 0.6477 GB, free: 31.63 MB / 458.9 MB Notification: Performance of simCode: alias equations: time 0.0007678/0.5165, allocations: 363.1 kB / 0.6481 GB, free: 31.57 MB / 458.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/0.5167, allocations: 96.05 kB / 0.6482 GB, free: 31.56 MB / 458.9 MB Notification: Performance of SimCode: time 3.01e-07/0.5167, allocations: 0.875 kB / 0.6482 GB, free: 31.56 MB / 458.9 MB Notification: Performance of Templates: time 0.01402/0.5308, allocations: 9.927 MB / 0.6579 GB, free: 29.49 MB / 458.9 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches