Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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_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_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001454, allocations: 115.5 kB / 17.74 MB, free: 5.355 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.001677/0.001678, allocations: 189.2 kB / 18.67 MB, free: 4.434 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.263/1.263, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9506/0.9506, allocations: 119.3 MB / 411.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 61 kB / 0.573 GB, free: 38.8 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1558, allocations: 80.7 MB / 0.6518 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.00224/0.1581, allocations: 1.374 MB / 0.6532 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008034/0.1589, allocations: 0.5224 MB / 0.6537 GB, free: 9.676 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.05e-05/0.1589, allocations: 0 / 0.6537 GB, free: 9.676 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.455e-05/0.159, allocations: 7.922 kB / 0.6537 GB, free: 9.668 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.1593, allocations: 55.75 kB / 0.6537 GB, free: 9.613 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/0.1594, allocations: 35.88 kB / 0.6538 GB, free: 9.578 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.1597, allocations: 319.3 kB / 0.6541 GB, free: 9.266 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.349e-05/0.1598, allocations: 12.17 kB / 0.6541 GB, free: 9.254 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.1599, allocations: 119.8 kB / 0.6542 GB, free: 9.137 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.1602, allocations: 155.7 kB / 0.6544 GB, free: 8.984 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.519e-05/0.1603, allocations: 16 kB / 0.6544 GB, free: 8.969 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.1604, allocations: 35.97 kB / 0.6544 GB, free: 8.934 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.1605, allocations: 115.7 kB / 0.6545 GB, free: 8.82 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.1606, allocations: 135.3 kB / 0.6546 GB, free: 8.688 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.1609, allocations: 247.1 kB / 0.6549 GB, free: 8.445 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1609, allocations: 0 / 0.6549 GB, free: 8.445 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.895e-06/0.1609, allocations: 4 kB / 0.6549 GB, free: 8.441 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.1609, allocations: 0 / 0.6549 GB, free: 8.441 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001023/0.1619, allocations: 0.5732 MB / 0.6554 GB, free: 7.82 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.162, allocations: 15.89 kB / 0.6555 GB, free: 7.805 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.595e-05/0.1621, allocations: 28.66 kB / 0.6555 GB, free: 7.777 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.1623, allocations: 251.6 kB / 0.6557 GB, free: 7.492 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1623, allocations: 24.38 kB / 0.6557 GB, free: 7.469 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.068e-05/0.1624, allocations: 27.91 kB / 0.6558 GB, free: 7.441 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/0.1629, allocations: 319.1 kB / 0.6561 GB, free: 7.121 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1629, allocations: 0 / 0.6561 GB, free: 7.121 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.1629, allocations: 8 kB / 0.6561 GB, free: 7.113 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.163, allocations: 11.94 kB / 0.6561 GB, free: 7.102 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004163/0.1634, allocations: 285.5 kB / 0.6564 GB, free: 6.824 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.1638, allocations: 399.2 kB / 0.6568 GB, free: 6.383 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.1655, allocations: 0.6799 MB / 0.6574 GB, free: 5.699 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/0.1658, allocations: 230 kB / 0.6576 GB, free: 5.473 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/0.166, allocations: 93.52 kB / 0.6577 GB, free: 5.363 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.166, allocations: 39.56 kB / 0.6578 GB, free: 5.316 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=53): time 1.463e-06/0.166, allocations: 0 / 0.6578 GB, free: 5.316 MB / 0.4983 GB Notification: Performance of matching and sorting (n=53): time 0.001079/0.1671, allocations: 0.6994 MB / 0.6584 GB, free: 4.605 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.1672, allocations: 55.84 kB / 0.6585 GB, free: 4.539 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.1673, allocations: 157 kB / 0.6586 GB, free: 4.371 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.1673, allocations: 33.7 kB / 0.6587 GB, free: 4.332 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.1674, allocations: 97.14 kB / 0.6588 GB, free: 4.23 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.1676, allocations: 208.9 kB / 0.659 GB, free: 4.023 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.1677, allocations: 106.3 kB / 0.6591 GB, free: 3.914 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1678, allocations: 342.8 kB / 0.6594 GB, free: 3.57 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.1682, allocations: 241.1 kB / 0.6596 GB, free: 3.336 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/0.1685, allocations: 245.7 kB / 0.6599 GB, free: 3.094 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007164/0.1692, allocations: 0.5359 MB / 0.6604 GB, free: 2.555 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1693, allocations: 0 / 0.6604 GB, free: 2.555 MB / 0.4983 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008813/0.1701, allocations: 0.6413 MB / 0.661 GB, free: 1.906 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1702, allocations: 8 kB / 0.661 GB, free: 1.898 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1702, allocations: 3.984 kB / 0.661 GB, free: 1.895 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1702, allocations: 0 / 0.661 GB, free: 1.895 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005226/0.1707, allocations: 143.8 kB / 0.6612 GB, free: 1.754 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.1707, allocations: 4 kB / 0.6612 GB, free: 1.75 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.1709, allocations: 39.53 kB / 0.6612 GB, free: 1.711 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.171, allocations: 16 kB / 0.6612 GB, free: 1.695 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 (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.0001537/0.1711, allocations: 170.5 kB / 0.6614 GB, free: 1.52 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/0.1712, allocations: 31.72 kB / 0.6614 GB, free: 1.488 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.1723, allocations: 0.7244 MB / 0.6621 GB, free: 0.7617 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.1723, allocations: 11.94 kB / 0.6621 GB, free: 0.75 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1723, allocations: 0 / 0.6621 GB, free: 0.75 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.1724, allocations: 3.984 kB / 0.6621 GB, free: 0.7461 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.1728, allocations: 457.6 kB / 0.6626 GB, free: 256 kB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1728, allocations: 3.938 kB / 0.6626 GB, free: 252 kB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007166/0.1736, allocations: 155.8 kB / 0.6627 GB, free: 96 kB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1736, allocations: 8 kB / 0.6627 GB, free: 88 kB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.636e-05/0.1736, allocations: 27.98 kB / 0.6628 GB, free: 60 kB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1736, allocations: 3.938 kB / 0.6628 GB, free: 56 kB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1736, allocations: 4 kB / 0.6628 GB, free: 52 kB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.1749, allocations: 0.9592 MB / 0.6637 GB, free: 15.06 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.1751, allocations: 176.6 kB / 0.6639 GB, free: 14.87 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.059e-05/0.1752, allocations: 20 kB / 0.6639 GB, free: 14.85 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.1754, allocations: 12 kB / 0.6639 GB, free: 14.84 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/0.1754, allocations: 48.59 kB / 0.6639 GB, free: 14.79 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.704e-05/0.1755, allocations: 23.98 kB / 0.664 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.61e-05/0.1756, allocations: 107.2 kB / 0.6641 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1756, allocations: 3.938 kB / 0.6641 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003425/0.1759, allocations: 124 kB / 0.6642 GB, free: 14.54 MB / 0.5139 GB 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.0001869/0.1761, allocations: 127 kB / 0.6643 GB, free: 14.41 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0008112/0.1769, allocations: 0.5911 MB / 0.6649 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1769, allocations: 0 / 0.6649 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004045/0.1774, allocations: 331.5 kB / 0.6652 GB, free: 13.49 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.1777, allocations: 51.92 kB / 0.6653 GB, free: 13.44 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.1797, allocations: 1.544 MB / 0.6668 GB, free: 11.87 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.1801, allocations: 0.809 MB / 0.6676 GB, free: 11.03 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.1802, allocations: 51.42 kB / 0.6676 GB, free: 10.98 MB / 0.5139 GB Notification: Performance of SimCode: time 2.4e-07/0.1803, allocations: 0 / 0.6676 GB, free: 10.98 MB / 0.5139 GB Notification: Performance of Templates: time 0.006944/0.1872, allocations: 5.15 MB / 0.6726 GB, free: 5.848 MB / 0.5139 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches