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.0008019/0.000802, allocations: 90.67 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.0009849/0.000985, allocations: 184.1 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.309/1.309, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8652/0.8652, allocations: 120.5 MB / 413.2 MB, free: 9.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003302, allocations: 8 kB / 0.4962 GB, free: 10.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.487/0.4873, 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.001207/0.4886, allocations: 1.101 MB / 0.5782 GB, free: 41.51 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000763/0.4894, allocations: 0.5159 MB / 0.5787 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.4894, allocations: 0 / 0.5787 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.16e-05/0.4895, allocations: 1.281 kB / 0.5787 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.4898, allocations: 55.22 kB / 0.5788 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.662e-05/0.4899, allocations: 36 kB / 0.5788 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007133/0.4906, allocations: 1.033 MB / 0.5798 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.108e-05/0.4906, allocations: 9.438 kB / 0.5798 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003387/0.491, allocations: 368.4 kB / 0.5802 GB, free: 40.36 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005908/0.4916, allocations: 0.5561 MB / 0.5807 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.4917, allocations: 63.53 kB / 0.5808 GB, free: 40.03 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.4919, allocations: 80.14 kB / 0.5809 GB, free: 40.02 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0003236/0.4922, allocations: 460.5 kB / 0.5813 GB, free: 39.75 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003753/0.4926, allocations: 477.5 kB / 0.5818 GB, free: 39.44 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000598/0.4932, allocations: 0.8065 MB / 0.5825 GB, free: 38.96 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4932, allocations: 4 kB / 0.5825 GB, free: 38.96 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4932, allocations: 0 / 0.5825 GB, free: 38.96 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.4933, allocations: 0.9062 kB / 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.003012/0.4963, allocations: 1.556 MB / 0.5841 GB, free: 37.97 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.4963, allocations: 12.78 kB / 0.5841 GB, free: 37.97 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.4965, allocations: 91.48 kB / 0.5842 GB, free: 37.92 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005431/0.4971, allocations: 474.2 kB / 0.5846 GB, free: 37.54 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/0.4971, allocations: 65.44 kB / 0.5847 GB, free: 37.51 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/0.4973, allocations: 115.4 kB / 0.5848 GB, free: 37.46 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.4988, allocations: 1.136 MB / 0.5859 GB, free: 36.82 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.4989, allocations: 1.25 kB / 0.5859 GB, free: 36.82 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.145e-05/0.4989, allocations: 30.31 kB / 0.5859 GB, free: 36.8 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.499, allocations: 18.94 kB / 0.5859 GB, free: 36.8 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.5004, allocations: 1.261 MB / 0.5872 GB, free: 35.72 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.5015, allocations: 1.092 MB / 0.5882 GB, free: 34.57 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005228/0.5067, allocations: 2.777 MB / 0.591 GB, free: 31.8 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009633/0.5077, allocations: 0.8851 MB / 0.5918 GB, free: 30.91 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001979/0.5079, allocations: 135 kB / 0.5919 GB, free: 30.76 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.5079, allocations: 60.5 kB / 0.592 GB, free: 30.69 MB / 462.3 MB Notification: Performance of pre-optimization done (n=203): time 3.817e-06/0.5079, allocations: 0 / 0.592 GB, free: 30.69 MB / 462.3 MB Notification: Performance of matching and sorting (n=203): time 0.003224/0.5112, allocations: 2.648 MB / 0.5946 GB, free: 28.04 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.5112, allocations: 73.41 kB / 0.5947 GB, free: 27.96 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.5114, allocations: 233 kB / 0.5949 GB, free: 27.72 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.632e-05/0.5115, allocations: 57.7 kB / 0.5949 GB, free: 27.66 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.5115, allocations: 131.3 kB / 0.5951 GB, free: 27.53 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/0.5119, allocations: 0.7778 MB / 0.5958 GB, free: 26.74 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.5121, allocations: 178.1 kB / 0.596 GB, free: 26.56 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.5121, allocations: 322 kB / 0.5963 GB, free: 26.24 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.5132, allocations: 0.9216 MB / 0.5972 GB, free: 25.31 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.5143, allocations: 0.9525 MB / 0.5981 GB, free: 24.35 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002289/0.5166, allocations: 2.066 MB / 0.6001 GB, free: 22.25 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.5166, allocations: 0 / 0.6001 GB, free: 22.25 MB / 462.3 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002737/0.5194, allocations: 2.43 MB / 0.6025 GB, free: 19.78 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.5194, allocations: 8 kB / 0.6025 GB, free: 19.77 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.5194, allocations: 0 / 0.6025 GB, free: 19.77 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.5194, allocations: 11.94 kB / 0.6025 GB, free: 19.76 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.5212, allocations: 0.5228 MB / 0.6031 GB, free: 19.23 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.193e-05/0.5213, allocations: 12 kB / 0.6031 GB, free: 19.22 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008078/0.5221, allocations: 146.3 kB / 0.6032 GB, free: 19.08 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.5222, allocations: 75.97 kB / 0.6033 GB, free: 19 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.0004454/0.5227, allocations: 313.2 kB / 0.6036 GB, free: 18.69 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.5228, allocations: 86.97 kB / 0.6037 GB, free: 18.6 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003715/0.5265, allocations: 2.716 MB / 0.6063 GB, free: 15.83 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.5266, allocations: 31.98 kB / 0.6063 GB, free: 15.8 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.5266, allocations: 0 / 0.6063 GB, free: 15.8 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/0.5266, allocations: 19.88 kB / 0.6064 GB, free: 15.78 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.5279, allocations: 1.33 MB / 0.6077 GB, free: 14.39 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.5279, allocations: 0 / 0.6077 GB, free: 14.39 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002491/0.5304, allocations: 0.5892 MB / 0.6082 GB, free: 13.8 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/0.5304, allocations: 8 kB / 0.6082 GB, free: 13.8 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/0.5306, allocations: 91.94 kB / 0.6083 GB, free: 13.71 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.338e-06/0.5306, allocations: 11.98 kB / 0.6083 GB, free: 13.7 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5306, allocations: 11.88 kB / 0.6084 GB, free: 13.68 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003846/0.5345, allocations: 3.611 MB / 0.6119 GB, free: 9.996 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004833/0.535, allocations: 418.8 kB / 0.6123 GB, free: 9.566 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.5351, allocations: 75.95 kB / 0.6124 GB, free: 9.492 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006489/0.5358, allocations: 44 kB / 0.6124 GB, free: 9.449 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/0.536, allocations: 166 kB / 0.6126 GB, free: 9.285 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.5361, allocations: 79.97 kB / 0.6126 GB, free: 9.207 MB / 462.3 MB Notification: Performance of sorting global known variables: time 9.809e-05/0.5362, allocations: 176.4 kB / 0.6128 GB, free: 9.039 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5362, allocations: 0 / 0.6128 GB, free: 9.039 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007086/0.537, allocations: 452 kB / 0.6132 GB, free: 8.598 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.0002671/0.5372, allocations: 213 kB / 0.6134 GB, free: 8.379 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.00249/0.5397, allocations: 2.275 MB / 0.6157 GB, free: 6.074 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5397, allocations: 0 / 0.6157 GB, free: 6.074 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.541, allocations: 1.265 MB / 0.6169 GB, free: 4.805 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006716/0.5417, allocations: 201.1 kB / 0.6171 GB, free: 4.609 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006373/0.5481, allocations: 6.577 MB / 0.6235 GB, free: 13.98 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006856/0.5488, allocations: 1.151 MB / 0.6246 GB, free: 12.8 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.00167/0.5504, allocations: 0.7434 MB / 0.6254 GB, free: 12.05 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005934/0.551, allocations: 163.4 kB / 0.6255 GB, free: 11.89 MB / 478.3 MB Notification: Performance of SimCode: time 7.52e-07/0.5511, allocations: 0 / 0.6255 GB, free: 11.89 MB / 478.3 MB Notification: Performance of Templates: time 0.02809/0.5791, allocations: 17.5 MB / 0.6426 GB, free: 10.45 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/jenkins1/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