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.001172/0.001172, allocations: 114.6 kB / 17.28 MB, free: 6.219 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.001195/0.001195, allocations: 197.3 kB / 18.21 MB, free: 5.293 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.277/1.277, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.915/0.915, allocations: 119.3 MB / 411.4 MB, free: 9.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 59.89 kB / 0.4924 GB, free: 12.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.484/0.4854, allocations: 80.69 MB / 0.5712 GB, free: 43.91 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002267/0.4877, allocations: 1.449 MB / 0.5726 GB, free: 42.76 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007245/0.4884, allocations: 0.5101 MB / 0.5731 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.928e-05/0.4885, allocations: 1.094 kB / 0.5731 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.143e-05/0.4885, allocations: 7.922 kB / 0.5731 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.4888, allocations: 46.62 kB / 0.5732 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001006/0.489, allocations: 39.05 kB / 0.5732 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004333/0.4894, allocations: 0.5368 MB / 0.5737 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.694e-05/0.4895, allocations: 7.062 kB / 0.5737 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.4897, allocations: 210.4 kB / 0.5739 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003421/0.49, allocations: 303.7 kB / 0.5742 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.737e-05/0.4901, allocations: 30.06 kB / 0.5743 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.4902, allocations: 47.61 kB / 0.5743 GB, free: 41.74 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.4904, allocations: 246.8 kB / 0.5745 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.4906, allocations: 230.5 kB / 0.5748 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.4909, allocations: 293.1 kB / 0.575 GB, free: 41.3 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4909, allocations: 0 / 0.575 GB, free: 41.3 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4909, allocations: 0 / 0.575 GB, free: 41.3 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.4909, allocations: 0 / 0.575 GB, free: 41.3 MB / 462.3 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.001554/0.4925, allocations: 0.8138 MB / 0.5758 GB, free: 40.69 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.4925, allocations: 12.39 kB / 0.5758 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.4926, allocations: 48.28 kB / 0.5759 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.493, allocations: 326.7 kB / 0.5762 GB, free: 40.37 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.493, allocations: 30.22 kB / 0.5762 GB, free: 40.35 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.4931, allocations: 63.58 kB / 0.5763 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008242/0.4939, allocations: 0.5864 MB / 0.5769 GB, free: 39.98 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.494, allocations: 5.375 kB / 0.5769 GB, free: 39.98 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.475e-05/0.494, allocations: 18.75 kB / 0.5769 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.494, allocations: 9.625 kB / 0.5769 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000803/0.4948, allocations: 0.5859 MB / 0.5775 GB, free: 39.72 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007609/0.4956, allocations: 0.6183 MB / 0.5781 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/0.4987, allocations: 1.366 MB / 0.5794 GB, free: 38.65 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005852/0.4993, allocations: 455.3 kB / 0.5798 GB, free: 38.45 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001915/0.4995, allocations: 108 kB / 0.5799 GB, free: 38.34 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.4995, allocations: 44.59 kB / 0.58 GB, free: 38.29 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 2.145e-06/0.4996, allocations: 0 / 0.58 GB, free: 38.29 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.002023/0.5016, allocations: 1.342 MB / 0.5813 GB, free: 37.69 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.5016, allocations: 67.19 kB / 0.5814 GB, free: 37.62 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.5018, allocations: 184.1 kB / 0.5815 GB, free: 37.48 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/0.5018, allocations: 41.17 kB / 0.5816 GB, free: 37.44 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.5019, allocations: 103.7 kB / 0.5817 GB, free: 37.34 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/0.5021, allocations: 408 kB / 0.5821 GB, free: 36.98 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.5023, allocations: 195.1 kB / 0.5823 GB, free: 36.88 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.249e-05/0.5024, allocations: 371.2 kB / 0.5826 GB, free: 36.52 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006474/0.5031, allocations: 474.8 kB / 0.5831 GB, free: 36.31 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006535/0.5037, allocations: 488.7 kB / 0.5835 GB, free: 36.09 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.5051, allocations: 1.044 MB / 0.5845 GB, free: 35.61 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.5051, allocations: 0 / 0.5845 GB, free: 35.61 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001572/0.5067, allocations: 1.242 MB / 0.5858 GB, free: 34.55 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.5067, allocations: 4 kB / 0.5858 GB, free: 34.55 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.5068, allocations: 0 / 0.5858 GB, free: 34.55 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.5068, allocations: 4 kB / 0.5858 GB, free: 34.55 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009571/0.5077, allocations: 279.7 kB / 0.586 GB, free: 34.27 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.5078, allocations: 7.984 kB / 0.586 GB, free: 34.27 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000357/0.5081, allocations: 83.06 kB / 0.5861 GB, free: 34.18 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.396e-05/0.5082, allocations: 39.98 kB / 0.5862 GB, free: 34.14 MB / 462.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002208/0.5084, allocations: 209.5 kB / 0.5864 GB, free: 33.93 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.814e-05/0.5085, allocations: 43.53 kB / 0.5864 GB, free: 33.89 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/0.5103, allocations: 1.396 MB / 0.5878 GB, free: 32.48 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.5103, allocations: 16 kB / 0.5878 GB, free: 32.47 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.5104, allocations: 0 / 0.5878 GB, free: 32.47 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.5104, allocations: 3.984 kB / 0.5878 GB, free: 32.46 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007323/0.5111, allocations: 0.7426 MB / 0.5885 GB, free: 31.67 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.5111, allocations: 4 kB / 0.5885 GB, free: 31.67 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/0.5124, allocations: 303.6 kB / 0.5888 GB, free: 31.37 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.5124, allocations: 7.938 kB / 0.5888 GB, free: 31.36 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.674e-05/0.5125, allocations: 55.95 kB / 0.5889 GB, free: 31.31 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.5125, allocations: 4 kB / 0.5889 GB, free: 31.3 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5125, allocations: 0 / 0.5889 GB, free: 31.3 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/0.5146, allocations: 1.85 MB / 0.5907 GB, free: 29.43 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/0.5149, allocations: 248 kB / 0.5909 GB, free: 29.17 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.515, allocations: 47.91 kB / 0.591 GB, free: 29.12 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/0.5153, allocations: 20 kB / 0.591 GB, free: 29.11 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.5155, allocations: 93.19 kB / 0.5911 GB, free: 29.01 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-05/0.5155, allocations: 39.98 kB / 0.5911 GB, free: 28.97 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6.859e-05/0.5156, allocations: 132.2 kB / 0.5912 GB, free: 28.84 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5156, allocations: 0 / 0.5912 GB, free: 28.84 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004598/0.5161, allocations: 232 kB / 0.5914 GB, free: 28.62 MB / 462.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 (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.000205/0.5163, allocations: 151.8 kB / 0.5916 GB, free: 28.46 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002826/0.5191, allocations: 2.092 MB / 0.5936 GB, free: 26.37 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5191, allocations: 0 / 0.5936 GB, free: 26.37 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006406/0.5198, allocations: 0.6358 MB / 0.5943 GB, free: 25.73 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.5202, allocations: 110.8 kB / 0.5944 GB, free: 25.63 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.5235, allocations: 3.092 MB / 0.5974 GB, free: 22.5 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.5238, allocations: 0.919 MB / 0.5983 GB, free: 21.55 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/0.5241, allocations: 99.41 kB / 0.5984 GB, free: 21.46 MB / 462.3 MB Notification: Performance of SimCode: time 4.1e-07/0.5241, allocations: 0 / 0.5984 GB, free: 21.46 MB / 462.3 MB Notification: Performance of Templates: time 0.009403/0.5335, allocations: 9.486 MB / 0.6076 GB, free: 11.99 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (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) diffSimulationResults("ScalableTestSuite_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","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches