Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.conf.json 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/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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) 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_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_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 111.8 kB / 17.74 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 184.2 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9359/0.9359, allocations: 119.3 MB / 411.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 70.72 kB / 0.573 GB, free: 38.8 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1264, allocations: 80.68 MB / 0.6518 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002779/0.1292, allocations: 1.382 MB / 0.6532 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009448/0.1302, allocations: 0.5224 MB / 0.6537 GB, free: 9.676 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.075e-05/0.1302, allocations: 0 / 0.6537 GB, free: 9.676 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.46e-05/0.1303, allocations: 3.938 kB / 0.6537 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.1307, allocations: 63.72 kB / 0.6537 GB, free: 9.609 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.1308, allocations: 35.89 kB / 0.6538 GB, free: 9.574 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000235/0.1311, allocations: 195.4 kB / 0.654 GB, free: 9.383 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.1311, allocations: 12.19 kB / 0.654 GB, free: 9.371 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.1313, allocations: 79.8 kB / 0.6541 GB, free: 9.293 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.1314, allocations: 91.77 kB / 0.6541 GB, free: 9.203 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.1315, allocations: 8 kB / 0.6542 GB, free: 9.195 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1316, allocations: 31.97 kB / 0.6542 GB, free: 9.164 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 9.91e-05/0.1317, allocations: 63.84 kB / 0.6542 GB, free: 9.102 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 7.985e-05/0.1318, allocations: 75.59 kB / 0.6543 GB, free: 9.027 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.132, allocations: 151.4 kB / 0.6545 GB, free: 8.879 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.132, allocations: 0 / 0.6545 GB, free: 8.879 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.583e-06/0.132, allocations: 0 / 0.6545 GB, free: 8.879 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.132, allocations: 0 / 0.6545 GB, free: 8.879 MB / 0.4983 GB 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.0008017/0.1328, allocations: 471.2 kB / 0.6549 GB, free: 8.367 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.1329, allocations: 11.89 kB / 0.6549 GB, free: 8.355 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.1329, allocations: 12.84 kB / 0.6549 GB, free: 8.344 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.1331, allocations: 223.8 kB / 0.6551 GB, free: 8.086 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.1332, allocations: 16.17 kB / 0.6552 GB, free: 8.07 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/0.1332, allocations: 16 kB / 0.6552 GB, free: 8.055 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.1335, allocations: 179.4 kB / 0.6553 GB, free: 7.875 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1335, allocations: 0 / 0.6553 GB, free: 7.875 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.1336, allocations: 4 kB / 0.6553 GB, free: 7.871 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1336, allocations: 8 kB / 0.6554 GB, free: 7.863 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.1338, allocations: 144.6 kB / 0.6555 GB, free: 7.723 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.1343, allocations: 282.2 kB / 0.6558 GB, free: 7.398 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009256/0.1352, allocations: 362.7 kB / 0.6561 GB, free: 7.035 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.1354, allocations: 120.8 kB / 0.6562 GB, free: 6.914 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001661/0.1355, allocations: 93.09 kB / 0.6563 GB, free: 6.805 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.1356, allocations: 30.56 kB / 0.6563 GB, free: 6.766 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=28): time 1.383e-06/0.1356, allocations: 0 / 0.6563 GB, free: 6.766 MB / 0.4983 GB Notification: Performance of matching and sorting (n=28): time 0.0006208/0.1362, allocations: 378 kB / 0.6567 GB, free: 6.391 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.1363, allocations: 55.41 kB / 0.6568 GB, free: 6.324 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.1364, allocations: 137.2 kB / 0.6569 GB, free: 6.184 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.1364, allocations: 37.7 kB / 0.6569 GB, free: 6.141 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.1365, allocations: 88.69 kB / 0.657 GB, free: 6.051 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 9.161e-05/0.1366, allocations: 110.5 kB / 0.6571 GB, free: 5.941 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.09e-05/0.1367, allocations: 62.02 kB / 0.6572 GB, free: 5.871 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1368, allocations: 330.8 kB / 0.6575 GB, free: 5.539 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.137, allocations: 120.6 kB / 0.6576 GB, free: 5.422 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.1372, allocations: 133.2 kB / 0.6577 GB, free: 5.293 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.1376, allocations: 278.9 kB / 0.658 GB, free: 5.02 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1376, allocations: 4 kB / 0.658 GB, free: 5.016 MB / 0.4983 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005567/0.1382, allocations: 357.2 kB / 0.6583 GB, free: 4.66 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1382, allocations: 4 kB / 0.6583 GB, free: 4.656 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1382, allocations: 0 / 0.6583 GB, free: 4.656 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1383, allocations: 4 kB / 0.6583 GB, free: 4.652 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.1386, allocations: 71.91 kB / 0.6584 GB, free: 4.582 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1386, allocations: 0 / 0.6584 GB, free: 4.582 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.1387, allocations: 19.84 kB / 0.6584 GB, free: 4.562 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.1387, allocations: 8 kB / 0.6584 GB, free: 4.555 MB / 0.4983 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 (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 0.0001279/0.1388, allocations: 150.6 kB / 0.6586 GB, free: 4.398 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.1389, allocations: 15.81 kB / 0.6586 GB, free: 4.383 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006491/0.1395, allocations: 399.3 kB / 0.659 GB, free: 3.98 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1396, allocations: 4 kB / 0.659 GB, free: 3.977 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1396, allocations: 0 / 0.659 GB, free: 3.977 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1396, allocations: 4 kB / 0.659 GB, free: 3.973 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.1399, allocations: 317.2 kB / 0.6593 GB, free: 3.613 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1399, allocations: 0 / 0.6593 GB, free: 3.613 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/0.1404, allocations: 83.91 kB / 0.6594 GB, free: 3.531 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1404, allocations: 0 / 0.6594 GB, free: 3.531 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.1404, allocations: 11.98 kB / 0.6594 GB, free: 3.52 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1404, allocations: 4 kB / 0.6594 GB, free: 3.516 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1404, allocations: 0 / 0.6594 GB, free: 3.516 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007271/0.1412, allocations: 0.5374 MB / 0.6599 GB, free: 2.957 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.1413, allocations: 132.7 kB / 0.66 GB, free: 2.809 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.1413, allocations: 11.98 kB / 0.6601 GB, free: 2.797 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.1414, allocations: 8 kB / 0.6601 GB, free: 2.789 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.1415, allocations: 19.97 kB / 0.6601 GB, free: 2.77 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.1415, allocations: 12 kB / 0.6601 GB, free: 2.758 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 5.861e-05/0.1416, allocations: 103.2 kB / 0.6602 GB, free: 2.656 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.473e-06/0.1416, allocations: 0 / 0.6602 GB, free: 2.656 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002699/0.1419, allocations: 71.94 kB / 0.6603 GB, free: 2.586 MB / 0.4983 GB 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.0001514/0.142, allocations: 111.8 kB / 0.6604 GB, free: 2.469 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.000543/0.1426, allocations: 311.8 kB / 0.6607 GB, free: 2.164 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1426, allocations: 4 kB / 0.6607 GB, free: 2.16 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.1428, allocations: 167.8 kB / 0.6608 GB, free: 1.996 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.1431, allocations: 35.64 kB / 0.6609 GB, free: 1.965 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.1443, allocations: 0.8721 MB / 0.6617 GB, free: 1.062 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.1447, allocations: 0.7488 MB / 0.6624 GB, free: 292 kB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.1448, allocations: 31.44 kB / 0.6625 GB, free: 260 kB / 0.4983 GB Notification: Performance of SimCode: time 2.9e-07/0.1448, allocations: 0 / 0.6625 GB, free: 260 kB / 0.4983 GB Notification: Performance of Templates: time 0.004707/0.1495, allocations: 2.988 MB / 0.6654 GB, free: 13.28 MB / 0.5139 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches