Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001472/0.001472, allocations: 97.89 kB / 16.3 MB, free: 5.992 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.001665/0.001665, allocations: 184.5 kB / 17.2 MB, free: 5.906 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.359/1.359, allocations: 223.2 MB / 241.1 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8834/0.8834, allocations: 120.5 MB / 412.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003279, allocations: 8 kB / 0.4955 GB, free: 9.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1807, allocations: 82.85 MB / 0.5764 GB, free: 6.812 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001668/0.1825, allocations: 1.061 MB / 0.5774 GB, free: 5.738 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009523/0.1834, allocations: 487.6 kB / 0.5779 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.512e-05/0.1836, allocations: 7.938 kB / 0.5779 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.1837, allocations: 11.98 kB / 0.5779 GB, free: 5.242 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.184, allocations: 43.86 kB / 0.5779 GB, free: 5.199 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001281/0.1841, allocations: 27.91 kB / 0.578 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000272/0.1844, allocations: 211.6 kB / 0.5782 GB, free: 4.965 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.781e-05/0.1845, allocations: 8.172 kB / 0.5782 GB, free: 4.957 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.1847, allocations: 103.9 kB / 0.5783 GB, free: 4.855 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003179/0.185, allocations: 151.7 kB / 0.5784 GB, free: 4.707 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.263e-05/0.1851, allocations: 16 kB / 0.5784 GB, free: 4.691 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.1852, allocations: 35.97 kB / 0.5785 GB, free: 4.656 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.1854, allocations: 111.8 kB / 0.5786 GB, free: 4.547 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.152e-05/0.1855, allocations: 57.64 kB / 0.5786 GB, free: 4.484 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.1857, allocations: 155.9 kB / 0.5788 GB, free: 4.332 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1858, allocations: 0 / 0.5788 GB, free: 4.332 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1858, allocations: 4 kB / 0.5788 GB, free: 4.328 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.1858, allocations: 0 / 0.5788 GB, free: 4.328 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001156/0.1869, allocations: 0.5692 MB / 0.5793 GB, free: 3.711 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.187, allocations: 15.97 kB / 0.5793 GB, free: 3.695 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.302e-05/0.1871, allocations: 31.61 kB / 0.5794 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.1875, allocations: 240.4 kB / 0.5796 GB, free: 3.391 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.1875, allocations: 16.44 kB / 0.5796 GB, free: 3.371 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.806e-05/0.1876, allocations: 27.91 kB / 0.5796 GB, free: 3.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005474/0.1882, allocations: 315.1 kB / 0.5799 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1882, allocations: 0 / 0.5799 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.1882, allocations: 12 kB / 0.58 GB, free: 3.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.1882, allocations: 8 kB / 0.58 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005107/0.1888, allocations: 297.4 kB / 0.5802 GB, free: 2.719 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006083/0.1894, allocations: 395.3 kB / 0.5806 GB, free: 2.285 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.1911, allocations: 0.6739 MB / 0.5813 GB, free: 1.602 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001992/0.1914, allocations: 97.52 kB / 0.5814 GB, free: 1.488 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.1914, allocations: 35 kB / 0.5814 GB, free: 1.445 MB / 446.1 MB Notification: Performance of pre-optimization done (n=53): time 2.274e-06/0.1914, allocations: 0 / 0.5814 GB, free: 1.445 MB / 446.1 MB Notification: Performance of matching and sorting (n=53): time 0.001239/0.1927, allocations: 0.6998 MB / 0.5821 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.11e-05/0.1927, allocations: 71.72 kB / 0.5822 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.1929, allocations: 140.5 kB / 0.5823 GB, free: 0.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.1929, allocations: 37.7 kB / 0.5823 GB, free: 468 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.193, allocations: 101.1 kB / 0.5824 GB, free: 364 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.1932, allocations: 205 kB / 0.5826 GB, free: 156 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.1932, allocations: 8 kB / 0.5826 GB, free: 148 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.4898/0.683, allocations: 343.5 kB / 0.583 GB, free: 16.45 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006233/0.6837, allocations: 232.2 kB / 0.5832 GB, free: 16.45 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.6842, allocations: 244.1 kB / 0.5834 GB, free: 16.44 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.6847, allocations: 282.4 kB / 0.5837 GB, free: 16.44 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6847, allocations: 0.9375 kB / 0.5837 GB, free: 16.44 MB / 446.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001078/0.6858, allocations: 0.646 MB / 0.5843 GB, free: 16.39 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.6858, allocations: 4.375 kB / 0.5843 GB, free: 16.39 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6858, allocations: 1.438 kB / 0.5843 GB, free: 16.39 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.6858, allocations: 2.625 kB / 0.5843 GB, free: 16.39 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006032/0.6865, allocations: 141.5 kB / 0.5845 GB, free: 16.39 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.6865, allocations: 6.641 kB / 0.5845 GB, free: 16.39 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.6867, allocations: 36.62 kB / 0.5845 GB, free: 16.39 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.244e-05/0.6867, allocations: 26.3 kB / 0.5845 GB, free: 16.39 MB / 446.3 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 (74): * Single equations (assignments): 74 * 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.000164/0.6869, allocations: 157.2 kB / 0.5847 GB, free: 16.27 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.6869, allocations: 26.66 kB / 0.5847 GB, free: 16.27 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.6883, allocations: 0.729 MB / 0.5854 GB, free: 16.2 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.6883, allocations: 6.938 kB / 0.5854 GB, free: 16.2 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.6883, allocations: 1.469 kB / 0.5854 GB, free: 16.2 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.6883, allocations: 7.234 kB / 0.5854 GB, free: 16.2 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005278/0.6889, allocations: 458.4 kB / 0.5859 GB, free: 15.99 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6889, allocations: 5.047 kB / 0.5859 GB, free: 15.99 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007572/0.6897, allocations: 157.1 kB / 0.586 GB, free: 15.98 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.6897, allocations: 3.531 kB / 0.586 GB, free: 15.98 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.246e-05/0.6897, allocations: 25.05 kB / 0.586 GB, free: 15.98 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.6897, allocations: 1.625 kB / 0.586 GB, free: 15.98 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6897, allocations: 1.094 kB / 0.586 GB, free: 15.98 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.6913, allocations: 0.9691 MB / 0.587 GB, free: 15.75 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.6915, allocations: 168 kB / 0.5872 GB, free: 15.63 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.714e-05/0.6916, allocations: 19.31 kB / 0.5872 GB, free: 15.62 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.6918, allocations: 14.91 kB / 0.5872 GB, free: 15.61 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/0.6919, allocations: 43 kB / 0.5872 GB, free: 15.61 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/0.6919, allocations: 20.19 kB / 0.5872 GB, free: 15.6 MB / 446.3 MB Notification: Performance of sorting global known variables: time 6.939e-05/0.692, allocations: 111.4 kB / 0.5874 GB, free: 15.52 MB / 446.3 MB Notification: Performance of sort global known variables: time 3.41e-07/0.692, allocations: 1.031 kB / 0.5874 GB, free: 15.52 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0003953/0.6924, allocations: 126.4 kB / 0.5875 GB, free: 15.5 MB / 446.3 MB 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 (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.0001858/0.6926, allocations: 132.1 kB / 0.5876 GB, free: 15.39 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.0009364/0.6935, allocations: 0.5771 MB / 0.5882 GB, free: 15.25 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6935, allocations: 1.125 kB / 0.5882 GB, free: 15.25 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004625/0.694, allocations: 328.2 kB / 0.5885 GB, free: 15.16 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.6943, allocations: 49.08 kB / 0.5885 GB, free: 15.14 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.6966, allocations: 1.784 MB / 0.5903 GB, free: 14.09 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.6969, allocations: 0.8143 MB / 0.5911 GB, free: 13.39 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0004306/0.6973, allocations: 173.3 kB / 0.5912 GB, free: 13.38 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.6975, allocations: 50.42 kB / 0.5913 GB, free: 13.37 MB / 446.3 MB Notification: Performance of SimCode: time 6.31e-07/0.6975, allocations: 0 / 0.5913 GB, free: 13.37 MB / 446.3 MB Notification: Performance of Templates: time 0.009321/0.7068, allocations: 4.672 MB / 0.5958 GB, free: 12.89 MB / 446.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches