Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001212/0.001212, allocations: 92.8 kB / 16.3 MB, free: 6.457 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.001246/0.001246, allocations: 183.8 kB / 17.2 MB, free: 6.34 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.361/1.361, allocations: 223.2 MB / 241.1 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9016/0.9016, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003101, allocations: 8 kB / 0.4955 GB, free: 9.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1771, allocations: 82.85 MB / 0.5764 GB, free: 6.793 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001514/0.1787, allocations: 1.065 MB / 0.5774 GB, free: 5.715 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008393/0.1795, allocations: 491.7 kB / 0.5779 GB, free: 5.234 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.312e-05/0.1796, allocations: 0 / 0.5779 GB, free: 5.234 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.677e-05/0.1797, allocations: 11.86 kB / 0.5779 GB, free: 5.223 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.18, allocations: 39.94 kB / 0.5779 GB, free: 5.184 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.122e-05/0.1801, allocations: 39.83 kB / 0.578 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003638/0.1804, allocations: 363.4 kB / 0.5783 GB, free: 4.789 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.82e-05/0.1805, allocations: 4.188 kB / 0.5783 GB, free: 4.785 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.1807, allocations: 199.7 kB / 0.5785 GB, free: 4.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003603/0.1811, allocations: 267.6 kB / 0.5788 GB, free: 4.328 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.256e-05/0.1812, allocations: 32 kB / 0.5788 GB, free: 4.297 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.1813, allocations: 47.97 kB / 0.5788 GB, free: 4.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.1815, allocations: 219.5 kB / 0.579 GB, free: 4.035 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.1816, allocations: 93.52 kB / 0.5791 GB, free: 3.938 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.1819, allocations: 283.6 kB / 0.5794 GB, free: 3.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1819, allocations: 0 / 0.5794 GB, free: 3.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1819, allocations: 4 kB / 0.5794 GB, free: 3.656 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1819, allocations: 0 / 0.5794 GB, free: 3.656 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.00176/0.1837, allocations: 0.8502 MB / 0.5802 GB, free: 2.758 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1837, allocations: 12.03 kB / 0.5802 GB, free: 2.746 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.1839, allocations: 55.38 kB / 0.5803 GB, free: 2.691 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00046/0.1843, allocations: 314.3 kB / 0.5806 GB, free: 2.344 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.1844, allocations: 29 kB / 0.5806 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.722e-05/0.1845, allocations: 51.91 kB / 0.5807 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008729/0.1853, allocations: 0.5801 MB / 0.5812 GB, free: 1.676 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1854, allocations: 0 / 0.5812 GB, free: 1.676 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.353e-05/0.1854, allocations: 16 kB / 0.5813 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.1854, allocations: 12 kB / 0.5813 GB, free: 1.648 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008641/0.1863, allocations: 0.5894 MB / 0.5818 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008121/0.1871, allocations: 0.6254 MB / 0.5825 GB, free: 384 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4846/0.6718, allocations: 1.357 MB / 0.5838 GB, free: 16.39 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002138/0.672, allocations: 102.9 kB / 0.5839 GB, free: 16.3 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.6721, allocations: 42.16 kB / 0.5839 GB, free: 16.26 MB / 446.3 MB Notification: Performance of pre-optimization done (n=103): time 2.866e-06/0.6721, allocations: 0 / 0.5839 GB, free: 16.26 MB / 446.3 MB Notification: Performance of matching and sorting (n=103): time 0.002264/0.6743, allocations: 1.344 MB / 0.5852 GB, free: 16.18 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.6744, allocations: 69.34 kB / 0.5853 GB, free: 16.11 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.6745, allocations: 175.7 kB / 0.5855 GB, free: 16.01 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 5.624e-05/0.6746, allocations: 42.86 kB / 0.5855 GB, free: 15.98 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.6747, allocations: 108.3 kB / 0.5856 GB, free: 15.9 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.6749, allocations: 408.3 kB / 0.586 GB, free: 15.66 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/0.675, allocations: 20.31 kB / 0.586 GB, free: 15.66 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.6751, allocations: 367.2 kB / 0.5864 GB, free: 15.35 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008039/0.6759, allocations: 472.4 kB / 0.5868 GB, free: 15.3 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007872/0.6767, allocations: 479.2 kB / 0.5873 GB, free: 15.18 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008476/0.6776, allocations: 0.5475 MB / 0.5878 GB, free: 15 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6776, allocations: 0.9375 kB / 0.5878 GB, free: 15 MB / 446.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001901/0.6795, allocations: 1.242 MB / 0.589 GB, free: 14.61 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.6795, allocations: 5.734 kB / 0.589 GB, free: 14.61 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.6796, allocations: 0 / 0.589 GB, free: 14.61 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.6796, allocations: 5.281 kB / 0.589 GB, free: 14.61 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.6807, allocations: 268.6 kB / 0.5893 GB, free: 14.59 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.6807, allocations: 4.719 kB / 0.5893 GB, free: 14.59 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.681, allocations: 77.62 kB / 0.5894 GB, free: 14.54 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.67e-05/0.6811, allocations: 42.36 kB / 0.5894 GB, free: 14.52 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 (144): * Single equations (assignments): 144 * 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.0002299/0.6814, allocations: 206.6 kB / 0.5896 GB, free: 14.37 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/0.6814, allocations: 53.02 kB / 0.5897 GB, free: 14.34 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002361/0.6838, allocations: 1.394 MB / 0.591 GB, free: 13.84 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.6838, allocations: 14 kB / 0.591 GB, free: 13.84 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.6839, allocations: 0 / 0.591 GB, free: 13.84 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.6839, allocations: 8.094 kB / 0.591 GB, free: 13.84 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008915/0.6848, allocations: 0.7465 MB / 0.5918 GB, free: 13.46 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6848, allocations: 0 / 0.5918 GB, free: 13.46 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/0.6862, allocations: 305.2 kB / 0.5921 GB, free: 13.43 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.6862, allocations: 7.734 kB / 0.5921 GB, free: 13.43 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.915e-05/0.6863, allocations: 51.69 kB / 0.5921 GB, free: 13.41 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.6863, allocations: 9.125 kB / 0.5921 GB, free: 13.41 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6863, allocations: 1.078 kB / 0.5921 GB, free: 13.41 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002593/0.6889, allocations: 1.84 MB / 0.5939 GB, free: 12.78 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003614/0.6893, allocations: 252 kB / 0.5942 GB, free: 12.62 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.6894, allocations: 41.45 kB / 0.5942 GB, free: 12.61 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/0.6898, allocations: 25.5 kB / 0.5942 GB, free: 12.59 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.6899, allocations: 81.2 kB / 0.5943 GB, free: 12.58 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-05/0.69, allocations: 39.53 kB / 0.5943 GB, free: 12.57 MB / 446.3 MB Notification: Performance of sorting global known variables: time 9.354e-05/0.6901, allocations: 136.1 kB / 0.5945 GB, free: 12.48 MB / 446.3 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6901, allocations: 1.375 kB / 0.5945 GB, free: 12.48 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0005438/0.6906, allocations: 229.8 kB / 0.5947 GB, free: 12.45 MB / 446.3 MB 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 (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.0002303/0.6909, allocations: 165.1 kB / 0.5949 GB, free: 12.32 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.6927, allocations: 1.135 MB / 0.596 GB, free: 12.03 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6927, allocations: 4.844 kB / 0.596 GB, free: 12.02 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0009129/0.6936, allocations: 0.6312 MB / 0.5966 GB, free: 11.85 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.694, allocations: 84.27 kB / 0.5967 GB, free: 11.82 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/0.6982, allocations: 3.353 MB / 0.5999 GB, free: 9.879 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.6986, allocations: 0.9353 MB / 0.6009 GB, free: 9.168 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0008444/0.6995, allocations: 371.7 kB / 0.6012 GB, free: 9.105 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/0.6998, allocations: 82.31 kB / 0.6013 GB, free: 9.094 MB / 446.3 MB Notification: Performance of SimCode: time 4.71e-07/0.6998, allocations: 0 / 0.6013 GB, free: 9.094 MB / 446.3 MB Notification: Performance of Templates: time 0.01813/0.7179, allocations: 8.704 MB / 0.6098 GB, free: 5.184 MB / 446.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches