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.00119/0.00119, allocations: 94.11 kB / 16.3 MB, free: 5.996 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.001155/0.001155, allocations: 183.9 kB / 17.2 MB, free: 5.914 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.376/1.376, allocations: 223.2 MB / 241.1 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9019/0.9019, allocations: 120.5 MB / 412.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.000365, allocations: 4 kB / 0.4955 GB, free: 9.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1707, allocations: 82.84 MB / 0.5764 GB, free: 6.816 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001459/0.1722, allocations: 1.069 MB / 0.5774 GB, free: 5.734 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008814/0.1731, allocations: 491.7 kB / 0.5779 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.188e-05/0.1732, allocations: 4 kB / 0.5779 GB, free: 5.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.342e-05/0.1733, allocations: 11.92 kB / 0.5779 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.1736, allocations: 43.86 kB / 0.5779 GB, free: 5.195 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000115/0.1737, allocations: 27.91 kB / 0.578 GB, free: 5.168 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.1739, allocations: 127.7 kB / 0.5781 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.199e-05/0.174, allocations: 192 / 0.5781 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.1741, allocations: 71.88 kB / 0.5782 GB, free: 4.973 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.1744, allocations: 91.77 kB / 0.5782 GB, free: 4.883 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.1744, allocations: 8 kB / 0.5782 GB, free: 4.875 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.1745, allocations: 27.97 kB / 0.5783 GB, free: 4.848 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.628e-05/0.1746, allocations: 59.86 kB / 0.5783 GB, free: 4.789 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.183e-05/0.1747, allocations: 49.64 kB / 0.5784 GB, free: 4.734 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.1748, allocations: 84.08 kB / 0.5785 GB, free: 4.652 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.1749, allocations: 0 / 0.5785 GB, free: 4.652 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1749, allocations: 0 / 0.5785 GB, free: 4.652 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1749, allocations: 0 / 0.5785 GB, free: 4.652 MB / 446.1 MB 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.0008033/0.1757, allocations: 469.4 kB / 0.5789 GB, free: 4.145 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1757, allocations: 12.03 kB / 0.5789 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.294e-05/0.1758, allocations: 19.77 kB / 0.5789 GB, free: 4.113 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.1761, allocations: 208.7 kB / 0.5791 GB, free: 3.871 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.1761, allocations: 8.234 kB / 0.5791 GB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/0.1761, allocations: 12 kB / 0.5792 GB, free: 3.852 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.1765, allocations: 179.4 kB / 0.5793 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.1765, allocations: 0 / 0.5793 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.1765, allocations: 4 kB / 0.5793 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.1765, allocations: 4 kB / 0.5793 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002625/0.1768, allocations: 152.5 kB / 0.5795 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.1771, allocations: 290.2 kB / 0.5798 GB, free: 3.184 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000935/0.1781, allocations: 346.9 kB / 0.5801 GB, free: 2.836 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.1783, allocations: 97.09 kB / 0.5802 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1783, allocations: 30.56 kB / 0.5802 GB, free: 2.684 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.312e-06/0.1783, allocations: 0 / 0.5802 GB, free: 2.684 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.0006431/0.1789, allocations: 382 kB / 0.5806 GB, free: 2.305 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.179, allocations: 55.41 kB / 0.5806 GB, free: 2.238 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.1791, allocations: 143.8 kB / 0.5808 GB, free: 2.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.1792, allocations: 29.7 kB / 0.5808 GB, free: 2.055 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/0.1792, allocations: 96.69 kB / 0.5809 GB, free: 1.957 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.397e-05/0.1793, allocations: 110.4 kB / 0.581 GB, free: 1.848 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.741e-05/0.1793, allocations: 8 kB / 0.581 GB, free: 1.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1795, allocations: 326.8 kB / 0.5813 GB, free: 1.512 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.1797, allocations: 128.5 kB / 0.5814 GB, free: 1.383 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.1799, allocations: 125.2 kB / 0.5816 GB, free: 1.262 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.1801, allocations: 137.6 kB / 0.5817 GB, free: 1.129 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1801, allocations: 0 / 0.5817 GB, free: 1.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005322/0.1806, allocations: 358.1 kB / 0.582 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1807, allocations: 11.94 kB / 0.582 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1807, allocations: 4 kB / 0.582 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1807, allocations: 0 / 0.582 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.181, allocations: 75.91 kB / 0.5821 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.181, allocations: 0 / 0.5821 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.1811, allocations: 15.84 kB / 0.5821 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.1812, allocations: 23.94 kB / 0.5821 GB, free: 0.6445 MB / 446.1 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001261/0.1813, allocations: 133.8 kB / 0.5823 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.1813, allocations: 15.81 kB / 0.5823 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006645/0.182, allocations: 403 kB / 0.5827 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.182, allocations: 4 kB / 0.5827 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.182, allocations: 7.984 kB / 0.5827 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1821, allocations: 0 / 0.5827 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4784/0.6605, allocations: 309 kB / 0.583 GB, free: 16.58 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.6606, allocations: 0 / 0.583 GB, free: 16.58 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005251/0.6611, allocations: 82.56 kB / 0.5831 GB, free: 16.58 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/0.6611, allocations: 2.609 kB / 0.5831 GB, free: 16.58 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-05/0.6612, allocations: 13.47 kB / 0.5831 GB, free: 16.58 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.6612, allocations: 1.375 kB / 0.5831 GB, free: 16.58 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6612, allocations: 0.6562 kB / 0.5831 GB, free: 16.58 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.6623, allocations: 0.5246 MB / 0.5836 GB, free: 16.5 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.6624, allocations: 130.8 kB / 0.5837 GB, free: 16.4 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/0.6625, allocations: 10.75 kB / 0.5837 GB, free: 16.4 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.6626, allocations: 7.062 kB / 0.5837 GB, free: 16.4 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.6627, allocations: 23.97 kB / 0.5838 GB, free: 16.4 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.6627, allocations: 16.08 kB / 0.5838 GB, free: 16.4 MB / 446.3 MB Notification: Performance of sorting global known variables: time 6.676e-05/0.6628, allocations: 105.3 kB / 0.5839 GB, free: 16.32 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.012e-06/0.6628, allocations: 0.75 kB / 0.5839 GB, free: 16.32 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.000319/0.6631, allocations: 70.73 kB / 0.5839 GB, free: 16.32 MB / 446.3 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002005/0.6633, allocations: 113.9 kB / 0.584 GB, free: 16.23 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.0005918/0.6639, allocations: 305.8 kB / 0.5843 GB, free: 16.23 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6639, allocations: 0.9062 kB / 0.5843 GB, free: 16.23 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.6642, allocations: 166.9 kB / 0.5845 GB, free: 16.23 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.6644, allocations: 28.41 kB / 0.5845 GB, free: 16.23 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.666, allocations: 1.003 MB / 0.5855 GB, free: 15.68 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.6662, allocations: 0.7507 MB / 0.5862 GB, free: 14.98 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0002431/0.6665, allocations: 94.53 kB / 0.5863 GB, free: 14.97 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.996e-05/0.6666, allocations: 31.34 kB / 0.5864 GB, free: 14.96 MB / 446.3 MB Notification: Performance of SimCode: time 3.7e-07/0.6666, allocations: 0.7812 kB / 0.5864 GB, free: 14.96 MB / 446.3 MB Notification: Performance of Templates: time 0.007257/0.6739, allocations: 2.668 MB / 0.589 GB, free: 14.76 MB / 446.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches