Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.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_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 90.61 kB / 16.65 MB, free: 6.59 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.001103/0.001103, allocations: 186.5 kB / 17.57 MB, free: 6.199 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.39/1.39, allocations: 223.3 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9675/0.9675, allocations: 120.5 MB / 413.2 MB, free: 9.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003548, allocations: 8 kB / 0.4962 GB, free: 10.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5121/0.5125, allocations: 82.84 MB / 0.5771 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001037/0.5136, allocations: 1.106 MB / 0.5782 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006702/0.5143, allocations: 0.5088 MB / 0.5787 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.866e-05/0.5143, allocations: 0 / 0.5787 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.577e-05/0.5144, allocations: 3.938 kB / 0.5787 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.5146, allocations: 54.52 kB / 0.5788 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.225e-05/0.5147, allocations: 32.95 kB / 0.5788 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000701/0.5154, allocations: 1.034 MB / 0.5798 GB, free: 40.51 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.434e-05/0.5155, allocations: 9.438 kB / 0.5798 GB, free: 40.51 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003341/0.5158, allocations: 364.7 kB / 0.5802 GB, free: 40.36 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005545/0.5164, allocations: 0.559 MB / 0.5807 GB, free: 40.03 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.5165, allocations: 58.09 kB / 0.5808 GB, free: 40.03 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.5167, allocations: 81.42 kB / 0.5808 GB, free: 40.02 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0003224/0.517, allocations: 457.4 kB / 0.5813 GB, free: 39.75 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003609/0.5174, allocations: 488.5 kB / 0.5817 GB, free: 39.43 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0005912/0.518, allocations: 0.803 MB / 0.5825 GB, free: 38.96 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.518, allocations: 0 / 0.5825 GB, free: 38.96 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.503e-06/0.518, allocations: 0.9062 kB / 0.5825 GB, free: 38.96 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.518, allocations: 0 / 0.5825 GB, free: 38.96 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003255/0.5213, allocations: 1.571 MB / 0.5841 GB, free: 37.96 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.5213, allocations: 9.969 kB / 0.5841 GB, free: 37.96 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/0.5216, allocations: 87.75 kB / 0.5842 GB, free: 37.91 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005709/0.5221, allocations: 477 kB / 0.5846 GB, free: 37.53 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/0.5222, allocations: 62.19 kB / 0.5847 GB, free: 37.5 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/0.5224, allocations: 115.2 kB / 0.5848 GB, free: 37.45 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.524, allocations: 1.133 MB / 0.5859 GB, free: 36.82 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.524, allocations: 3.984 kB / 0.5859 GB, free: 36.82 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.223e-05/0.5241, allocations: 34.28 kB / 0.5859 GB, free: 36.79 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.5241, allocations: 20.22 kB / 0.5859 GB, free: 36.79 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.5255, allocations: 1.261 MB / 0.5872 GB, free: 35.72 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.5267, allocations: 1.084 MB / 0.5882 GB, free: 34.58 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005279/0.532, allocations: 2.781 MB / 0.591 GB, free: 31.8 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.5331, allocations: 0.8929 MB / 0.5918 GB, free: 30.91 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002068/0.5333, allocations: 127 kB / 0.5919 GB, free: 30.77 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.5333, allocations: 48.56 kB / 0.592 GB, free: 30.71 MB / 462.3 MB Notification: Performance of pre-optimization done (n=203): time 3.306e-06/0.5333, allocations: 4 kB / 0.592 GB, free: 30.7 MB / 462.3 MB Notification: Performance of matching and sorting (n=203): time 0.003267/0.5366, allocations: 2.648 MB / 0.5946 GB, free: 28.05 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.5367, allocations: 73.41 kB / 0.5946 GB, free: 27.97 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.5368, allocations: 232.9 kB / 0.5949 GB, free: 27.73 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.93e-05/0.5369, allocations: 65.7 kB / 0.5949 GB, free: 27.66 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.537, allocations: 127.3 kB / 0.5951 GB, free: 27.54 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/0.5374, allocations: 0.7739 MB / 0.5958 GB, free: 26.75 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.5375, allocations: 182.1 kB / 0.596 GB, free: 26.57 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.312e-05/0.5376, allocations: 326 kB / 0.5963 GB, free: 26.24 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.5387, allocations: 0.9177 MB / 0.5972 GB, free: 25.32 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.5398, allocations: 0.9486 MB / 0.5981 GB, free: 24.36 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/0.5421, allocations: 2.066 MB / 0.6001 GB, free: 22.27 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.5421, allocations: 0 / 0.6001 GB, free: 22.27 MB / 462.3 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002827/0.5449, allocations: 2.434 MB / 0.6025 GB, free: 19.79 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.545, allocations: 4 kB / 0.6025 GB, free: 19.78 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.545, allocations: 0 / 0.6025 GB, free: 19.78 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.545, allocations: 8 kB / 0.6025 GB, free: 19.77 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/0.5469, allocations: 0.5189 MB / 0.603 GB, free: 19.25 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.099e-05/0.5469, allocations: 12 kB / 0.603 GB, free: 19.24 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007887/0.5477, allocations: 150.3 kB / 0.6032 GB, free: 19.09 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.5478, allocations: 79.97 kB / 0.6033 GB, free: 19.02 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 (284): * Single equations (assignments): 284 * 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.0003832/0.5482, allocations: 317.2 kB / 0.6036 GB, free: 18.7 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.5483, allocations: 94.89 kB / 0.6037 GB, free: 18.6 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003675/0.552, allocations: 2.716 MB / 0.6063 GB, free: 15.83 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.5521, allocations: 28 kB / 0.6063 GB, free: 15.8 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.5521, allocations: 0 / 0.6063 GB, free: 15.8 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.5521, allocations: 15.94 kB / 0.6064 GB, free: 15.79 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.5535, allocations: 1.33 MB / 0.6076 GB, free: 14.4 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.5535, allocations: 0 / 0.6076 GB, free: 14.4 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002612/0.5561, allocations: 0.593 MB / 0.6082 GB, free: 13.81 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.29e-05/0.5561, allocations: 8 kB / 0.6082 GB, free: 13.8 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001635/0.5563, allocations: 95.92 kB / 0.6083 GB, free: 13.71 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.5563, allocations: 12 kB / 0.6083 GB, free: 13.7 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5563, allocations: 3.938 kB / 0.6083 GB, free: 13.69 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004045/0.5604, allocations: 3.611 MB / 0.6119 GB, free: 10 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005307/0.5609, allocations: 418.8 kB / 0.6123 GB, free: 9.574 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/0.5611, allocations: 75.95 kB / 0.6123 GB, free: 9.5 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000697/0.5618, allocations: 48 kB / 0.6124 GB, free: 9.453 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/0.5621, allocations: 162 kB / 0.6125 GB, free: 9.293 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/0.5622, allocations: 83.98 kB / 0.6126 GB, free: 9.211 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001124/0.5623, allocations: 172.4 kB / 0.6128 GB, free: 9.047 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5623, allocations: 0 / 0.6128 GB, free: 9.047 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007679/0.5631, allocations: 448 kB / 0.6132 GB, free: 8.609 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 81 (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],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],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],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40]) * 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 (284): * Single equations (assignments): 284 * 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.0002874/0.5634, allocations: 217 kB / 0.6134 GB, free: 8.387 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002912/0.5663, allocations: 2.275 MB / 0.6156 GB, free: 6.082 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.5663, allocations: 0 / 0.6156 GB, free: 6.082 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001385/0.5677, allocations: 1.265 MB / 0.6169 GB, free: 4.812 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000825/0.5686, allocations: 200.3 kB / 0.6171 GB, free: 4.617 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006617/0.5752, allocations: 6.577 MB / 0.6235 GB, free: 13.99 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000686/0.5759, allocations: 1.155 MB / 0.6246 GB, free: 12.8 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.001857/0.5778, allocations: 0.7434 MB / 0.6253 GB, free: 12.06 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005541/0.5783, allocations: 163.4 kB / 0.6255 GB, free: 11.9 MB / 478.3 MB Notification: Performance of SimCode: time 5.01e-07/0.5783, allocations: 0 / 0.6255 GB, free: 11.9 MB / 478.3 MB Notification: Performance of Templates: time 0.02846/0.6068, allocations: 17.48 MB / 0.6426 GB, free: 10.47 MB / 494.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches