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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 106.9 kB / 17.74 MB, free: 5.363 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.001291/0.001291, allocations: 180.5 kB / 18.66 MB, free: 4.449 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.324/1.324, 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.8903/0.8903, allocations: 119.3 MB / 411.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 58.56 kB / 0.573 GB, free: 38.88 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1444, allocations: 80.69 MB / 0.6518 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002202/0.1466, allocations: 1.39 MB / 0.6532 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008116/0.1474, allocations: 0.5106 MB / 0.6537 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.801e-05/0.1475, allocations: 4 kB / 0.6537 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.246e-05/0.1476, allocations: 15.92 kB / 0.6537 GB, free: 9.641 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.1478, allocations: 55.73 kB / 0.6538 GB, free: 9.586 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001025/0.1479, allocations: 35.83 kB / 0.6538 GB, free: 9.551 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.1482, allocations: 191.6 kB / 0.654 GB, free: 9.363 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.1482, allocations: 12.12 kB / 0.654 GB, free: 9.352 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.1483, allocations: 75.8 kB / 0.6541 GB, free: 9.277 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.1485, allocations: 95.75 kB / 0.6541 GB, free: 9.184 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.1485, allocations: 8 kB / 0.6542 GB, free: 9.176 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.166e-05/0.1486, allocations: 39.92 kB / 0.6542 GB, free: 9.137 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 8.748e-05/0.1487, allocations: 67.84 kB / 0.6543 GB, free: 9.07 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 7.344e-05/0.1488, allocations: 75.58 kB / 0.6543 GB, free: 8.996 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.149, allocations: 139.5 kB / 0.6545 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.149, allocations: 0 / 0.6545 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.292e-06/0.149, allocations: 0 / 0.6545 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.149, allocations: 0 / 0.6545 GB, free: 8.859 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.0007322/0.1498, allocations: 471.2 kB / 0.6549 GB, free: 8.348 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1498, allocations: 19.88 kB / 0.6549 GB, free: 8.328 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.1499, allocations: 12.84 kB / 0.6549 GB, free: 8.316 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.15, allocations: 223.7 kB / 0.6552 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1501, allocations: 12.23 kB / 0.6552 GB, free: 8.047 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.1501, allocations: 12 kB / 0.6552 GB, free: 8.035 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.1504, allocations: 179.4 kB / 0.6553 GB, free: 7.855 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1504, allocations: 0 / 0.6553 GB, free: 7.855 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.1504, allocations: 8 kB / 0.6554 GB, free: 7.848 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1505, allocations: 0 / 0.6554 GB, free: 7.848 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002264/0.1507, allocations: 140.6 kB / 0.6555 GB, free: 7.711 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.151, allocations: 282.3 kB / 0.6558 GB, free: 7.387 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009095/0.1519, allocations: 362.7 kB / 0.6561 GB, free: 7.023 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.1521, allocations: 116.8 kB / 0.6562 GB, free: 6.906 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001499/0.1523, allocations: 93.09 kB / 0.6563 GB, free: 6.797 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1523, allocations: 46.48 kB / 0.6564 GB, free: 6.742 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=28): time 1.373e-06/0.1523, allocations: 0 / 0.6564 GB, free: 6.742 MB / 0.4983 GB Notification: Performance of matching and sorting (n=28): time 0.0005934/0.1529, allocations: 366.1 kB / 0.6567 GB, free: 6.379 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.1529, allocations: 55.41 kB / 0.6568 GB, free: 6.312 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.153, allocations: 140.4 kB / 0.6569 GB, free: 6.168 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.1531, allocations: 33.69 kB / 0.6569 GB, free: 6.129 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.1531, allocations: 88.7 kB / 0.657 GB, free: 6.039 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 8.447e-05/0.1532, allocations: 102.5 kB / 0.6571 GB, free: 5.938 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.532e-05/0.1533, allocations: 62.02 kB / 0.6572 GB, free: 5.867 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1534, allocations: 338.8 kB / 0.6575 GB, free: 5.527 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.1536, allocations: 124.6 kB / 0.6576 GB, free: 5.406 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.1538, allocations: 125.2 kB / 0.6577 GB, free: 5.285 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.1541, allocations: 282.9 kB / 0.658 GB, free: 5.008 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1542, allocations: 0 / 0.658 GB, free: 5.008 MB / 0.4983 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004739/0.1546, allocations: 357.2 kB / 0.6583 GB, free: 4.652 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1547, allocations: 8 kB / 0.6583 GB, free: 4.645 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1547, allocations: 0 / 0.6583 GB, free: 4.645 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1547, allocations: 0 / 0.6583 GB, free: 4.645 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.155, allocations: 79.91 kB / 0.6584 GB, free: 4.566 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.155, allocations: 3.938 kB / 0.6584 GB, free: 4.562 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.1551, allocations: 15.84 kB / 0.6584 GB, free: 4.547 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.1551, allocations: 11.98 kB / 0.6584 GB, free: 4.535 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.0001148/0.1552, allocations: 142.6 kB / 0.6586 GB, free: 4.387 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.1553, allocations: 15.81 kB / 0.6586 GB, free: 4.371 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006533/0.1559, allocations: 411.3 kB / 0.659 GB, free: 3.957 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.156, allocations: 4 kB / 0.659 GB, free: 3.953 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.156, allocations: 3.984 kB / 0.659 GB, free: 3.949 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.156, allocations: 0 / 0.659 GB, free: 3.949 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.1563, allocations: 309.3 kB / 0.6593 GB, free: 3.598 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1563, allocations: 3.938 kB / 0.6593 GB, free: 3.594 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/0.1567, allocations: 87.89 kB / 0.6594 GB, free: 3.508 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1568, allocations: 0 / 0.6594 GB, free: 3.508 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.1568, allocations: 16 kB / 0.6594 GB, free: 3.492 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1568, allocations: 0 / 0.6594 GB, free: 3.492 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1568, allocations: 0 / 0.6594 GB, free: 3.492 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007497/0.1576, allocations: 0.5296 MB / 0.6599 GB, free: 2.941 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.1577, allocations: 128.8 kB / 0.66 GB, free: 2.797 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.1577, allocations: 15.98 kB / 0.66 GB, free: 2.781 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.1578, allocations: 8 kB / 0.6601 GB, free: 2.773 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.1579, allocations: 23.91 kB / 0.6601 GB, free: 2.75 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.1579, allocations: 16 kB / 0.6601 GB, free: 2.734 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 6.389e-05/0.158, allocations: 99.25 kB / 0.6602 GB, free: 2.637 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.1e-07/0.158, allocations: 0 / 0.6602 GB, free: 2.637 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002764/0.1583, allocations: 72 kB / 0.6603 GB, free: 2.566 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.000172/0.1584, allocations: 111.7 kB / 0.6604 GB, free: 2.449 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.000442/0.1589, allocations: 307.9 kB / 0.6607 GB, free: 2.148 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1589, allocations: 0 / 0.6607 GB, free: 2.148 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.1591, allocations: 171.8 kB / 0.6608 GB, free: 1.98 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.1594, allocations: 35.98 kB / 0.6609 GB, free: 1.945 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.1606, allocations: 0.876 MB / 0.6617 GB, free: 1.039 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.1608, allocations: 0.7488 MB / 0.6624 GB, free: 268 kB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.161, allocations: 31.42 kB / 0.6625 GB, free: 236 kB / 0.4983 GB Notification: Performance of SimCode: time 2.2e-07/0.161, allocations: 0 / 0.6625 GB, free: 236 kB / 0.4983 GB Notification: Performance of Templates: time 0.004335/0.1653, allocations: 2.98 MB / 0.6654 GB, free: 13.25 MB / 0.5139 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches