Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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_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_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001662, allocations: 110.6 kB / 17.74 MB, free: 5.359 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.001903/0.001904, allocations: 194.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.307/1.307, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9287/0.9287, allocations: 119.3 MB / 411.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 61.73 kB / 0.573 GB, free: 38.86 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.144, allocations: 80.69 MB / 0.6518 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002497/0.1465, allocations: 1.386 MB / 0.6532 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008852/0.1474, allocations: 0.5184 MB / 0.6537 GB, free: 9.668 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.156e-05/0.1475, allocations: 0 / 0.6537 GB, free: 9.668 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.478e-05/0.1476, allocations: 11.92 kB / 0.6537 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.1479, allocations: 55.73 kB / 0.6537 GB, free: 9.602 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001093/0.148, allocations: 35.89 kB / 0.6538 GB, free: 9.566 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004612/0.1485, allocations: 0.546 MB / 0.6543 GB, free: 9.02 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.745e-05/0.1486, allocations: 12.12 kB / 0.6543 GB, free: 9.008 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.1488, allocations: 195.8 kB / 0.6545 GB, free: 8.816 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003583/0.1491, allocations: 287.4 kB / 0.6548 GB, free: 8.535 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.97e-05/0.1492, allocations: 28 kB / 0.6548 GB, free: 8.508 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.1494, allocations: 47.98 kB / 0.6549 GB, free: 8.461 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.1496, allocations: 239.5 kB / 0.6551 GB, free: 8.227 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.1499, allocations: 238.9 kB / 0.6553 GB, free: 7.992 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004041/0.1503, allocations: 438.4 kB / 0.6557 GB, free: 7.562 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1503, allocations: 0 / 0.6557 GB, free: 7.562 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1503, allocations: 0 / 0.6557 GB, free: 7.562 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.465e-06/0.1503, allocations: 0 / 0.6557 GB, free: 7.562 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001632/0.1519, allocations: 0.8193 MB / 0.6565 GB, free: 6.691 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.152, allocations: 11.89 kB / 0.6565 GB, free: 6.68 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.989e-05/0.1521, allocations: 44.47 kB / 0.6566 GB, free: 6.637 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.1525, allocations: 335.5 kB / 0.6569 GB, free: 6.27 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.1525, allocations: 29 kB / 0.6569 GB, free: 6.242 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.1526, allocations: 59.8 kB / 0.657 GB, free: 6.184 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008716/0.1535, allocations: 0.588 MB / 0.6576 GB, free: 5.59 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1535, allocations: 0 / 0.6576 GB, free: 5.59 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.647e-05/0.1536, allocations: 20 kB / 0.6576 GB, free: 5.57 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.1536, allocations: 8 kB / 0.6576 GB, free: 5.562 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008374/0.1544, allocations: 0.5816 MB / 0.6582 GB, free: 4.98 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007304/0.1552, allocations: 0.6176 MB / 0.6588 GB, free: 4.316 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003048/0.1582, allocations: 1.364 MB / 0.6601 GB, free: 2.945 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006129/0.1589, allocations: 463.5 kB / 0.6605 GB, free: 2.488 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/0.1591, allocations: 102.1 kB / 0.6606 GB, free: 2.371 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.1591, allocations: 43.56 kB / 0.6607 GB, free: 2.32 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=103): time 2.074e-06/0.1591, allocations: 7.938 kB / 0.6607 GB, free: 2.312 MB / 0.4983 GB Notification: Performance of matching and sorting (n=103): time 0.001993/0.1611, allocations: 1.35 MB / 0.662 GB, free: 0.957 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.1612, allocations: 64.41 kB / 0.6621 GB, free: 0.8789 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.1613, allocations: 166.7 kB / 0.6622 GB, free: 0.707 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.1614, allocations: 45.7 kB / 0.6623 GB, free: 0.6562 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.1614, allocations: 106.1 kB / 0.6624 GB, free: 0.5469 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.1617, allocations: 402.2 kB / 0.6628 GB, free: 152 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/0.162, allocations: 195 kB / 0.6629 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.1621, allocations: 378.7 kB / 0.6633 GB, free: 15.57 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006578/0.1628, allocations: 466.3 kB / 0.6637 GB, free: 15.12 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006743/0.1635, allocations: 495.5 kB / 0.6642 GB, free: 14.63 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.1649, allocations: 1.036 MB / 0.6652 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1649, allocations: 0 / 0.6652 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001732/0.1666, allocations: 1.246 MB / 0.6664 GB, free: 12.34 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1667, allocations: 7.984 kB / 0.6665 GB, free: 12.33 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1667, allocations: 3.984 kB / 0.6665 GB, free: 12.33 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.1667, allocations: 4 kB / 0.6665 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009862/0.1677, allocations: 271.7 kB / 0.6667 GB, free: 12.06 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.1677, allocations: 8 kB / 0.6667 GB, free: 12.05 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.168, allocations: 79.12 kB / 0.6668 GB, free: 11.97 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-05/0.1681, allocations: 39.98 kB / 0.6668 GB, free: 11.93 MB / 0.5139 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 (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.0002192/0.1684, allocations: 210.3 kB / 0.667 GB, free: 11.72 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.771e-05/0.1684, allocations: 43.53 kB / 0.6671 GB, free: 11.68 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.1705, allocations: 1.392 MB / 0.6684 GB, free: 10.28 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.1706, allocations: 16 kB / 0.6685 GB, free: 10.27 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1706, allocations: 0 / 0.6685 GB, free: 10.27 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.1706, allocations: 7.969 kB / 0.6685 GB, free: 10.26 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007874/0.1714, allocations: 0.7426 MB / 0.6692 GB, free: 9.465 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1714, allocations: 4 kB / 0.6692 GB, free: 9.461 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/0.1728, allocations: 307.6 kB / 0.6695 GB, free: 9.16 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.024e-06/0.1728, allocations: 4 kB / 0.6695 GB, free: 9.156 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-05/0.1729, allocations: 43.97 kB / 0.6695 GB, free: 9.113 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.1729, allocations: 7.938 kB / 0.6695 GB, free: 9.105 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1729, allocations: 4 kB / 0.6695 GB, free: 9.102 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/0.1753, allocations: 1.85 MB / 0.6714 GB, free: 7.23 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/0.1756, allocations: 252 kB / 0.6716 GB, free: 6.965 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.932e-05/0.1757, allocations: 51.91 kB / 0.6716 GB, free: 6.914 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.176, allocations: 20 kB / 0.6717 GB, free: 6.895 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.1762, allocations: 85.19 kB / 0.6717 GB, free: 6.809 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.879e-05/0.1762, allocations: 43.98 kB / 0.6718 GB, free: 6.766 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 8.855e-05/0.1763, allocations: 136.3 kB / 0.6719 GB, free: 6.633 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1763, allocations: 0 / 0.6719 GB, free: 6.633 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004426/0.1768, allocations: 239.9 kB / 0.6721 GB, free: 6.398 MB / 0.5139 GB 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.0002277/0.177, allocations: 155 kB / 0.6723 GB, free: 6.238 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001511/0.1785, allocations: 1.151 MB / 0.6734 GB, free: 5.086 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1785, allocations: 0 / 0.6734 GB, free: 5.086 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007874/0.1793, allocations: 0.6397 MB / 0.674 GB, free: 4.449 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.1798, allocations: 107.9 kB / 0.6741 GB, free: 4.344 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.1833, allocations: 2.861 MB / 0.6769 GB, free: 1.445 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.1837, allocations: 0.9307 MB / 0.6778 GB, free: 500 kB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003273/0.1841, allocations: 91.41 kB / 0.6779 GB, free: 408 kB / 0.5139 GB Notification: Performance of SimCode: time 3.41e-07/0.1841, allocations: 4 kB / 0.6779 GB, free: 404 kB / 0.5139 GB Notification: Performance of Templates: time 0.01171/0.1958, allocations: 9.632 MB / 0.6873 GB, free: 6.781 MB / 0.5295 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches