Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/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) 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) 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_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.198/1.198, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009575/0.0009578, allocations: 101.9 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.6796/0.6796, allocations: 119.3 MB / 460.6 MB, free: 9.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 51.92 kB / 0.5404 GB, free: 41.88 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1114, allocations: 80.69 MB / 0.6192 GB, free: 11.36 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002376/0.1139, allocations: 1.441 MB / 0.6207 GB, free: 9.898 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008148/0.1147, allocations: 0.5108 MB / 0.6212 GB, free: 9.387 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.304e-05/0.1147, allocations: 0 / 0.6212 GB, free: 9.387 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 7.47e-05/0.1148, allocations: 7.922 kB / 0.6212 GB, free: 9.379 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.1151, allocations: 59.8 kB / 0.6212 GB, free: 9.32 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.702e-05/0.1152, allocations: 27.91 kB / 0.6212 GB, free: 9.293 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007623/0.116, allocations: 1.045 MB / 0.6223 GB, free: 8.246 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.116, allocations: 8.188 kB / 0.6223 GB, free: 8.238 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003974/0.1164, allocations: 355.6 kB / 0.6226 GB, free: 7.891 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00071/0.1171, allocations: 0.565 MB / 0.6232 GB, free: 7.328 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.1173, allocations: 60 kB / 0.6232 GB, free: 7.27 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.1175, allocations: 75.98 kB / 0.6233 GB, free: 7.195 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003795/0.1179, allocations: 462.9 kB / 0.6237 GB, free: 6.742 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0004862/0.1184, allocations: 461.8 kB / 0.6242 GB, free: 6.289 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0006602/0.1191, allocations: 0.8021 MB / 0.625 GB, free: 5.484 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1191, allocations: 0 / 0.625 GB, free: 5.484 MB / 442.8 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1191, allocations: 0 / 0.625 GB, free: 5.484 MB / 442.8 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.1191, allocations: 0 / 0.625 GB, free: 5.484 MB / 442.8 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.002724/0.1218, allocations: 1.285 MB / 0.6262 GB, free: 4.148 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.1219, allocations: 12.03 kB / 0.6262 GB, free: 4.137 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.1221, allocations: 91.98 kB / 0.6263 GB, free: 4.047 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007291/0.1228, allocations: 469.9 kB / 0.6268 GB, free: 3.543 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.79e-05/0.1228, allocations: 61.94 kB / 0.6268 GB, free: 3.48 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.123, allocations: 115.7 kB / 0.6269 GB, free: 3.367 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.1246, allocations: 1.135 MB / 0.628 GB, free: 2.227 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.1246, allocations: 7.938 kB / 0.628 GB, free: 2.219 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.272e-05/0.1247, allocations: 36 kB / 0.6281 GB, free: 2.184 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.1247, allocations: 16 kB / 0.6281 GB, free: 2.168 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/0.1264, allocations: 1.261 MB / 0.6293 GB, free: 0.9062 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.1277, allocations: 1.088 MB / 0.6304 GB, free: 15.77 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00582/0.1335, allocations: 2.786 MB / 0.6331 GB, free: 12.98 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/0.1347, allocations: 0.8811 MB / 0.634 GB, free: 12.1 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/0.135, allocations: 123 kB / 0.6341 GB, free: 11.96 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.135, allocations: 52.56 kB / 0.6341 GB, free: 11.9 MB / 458.8 MB Notification: Performance of pre-optimization done (n=203): time 2.655e-06/0.135, allocations: 0 / 0.6341 GB, free: 11.9 MB / 458.8 MB Notification: Performance of matching and sorting (n=203): time 0.003741/0.1388, allocations: 2.656 MB / 0.6367 GB, free: 9.246 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.1388, allocations: 77.41 kB / 0.6368 GB, free: 9.16 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.139, allocations: 229 kB / 0.637 GB, free: 8.926 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 7.368e-05/0.1391, allocations: 61.7 kB / 0.6371 GB, free: 8.859 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.955e-05/0.1392, allocations: 123.3 kB / 0.6372 GB, free: 8.734 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005049/0.1397, allocations: 0.7818 MB / 0.638 GB, free: 7.941 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004769/0.1402, allocations: 380.3 kB / 0.6383 GB, free: 7.562 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 9.02e-05/0.1403, allocations: 318 kB / 0.6386 GB, free: 7.246 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.1416, allocations: 0.9216 MB / 0.6395 GB, free: 6.32 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.1429, allocations: 0.9525 MB / 0.6405 GB, free: 5.359 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002716/0.1456, allocations: 2.07 MB / 0.6425 GB, free: 3.258 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1456, allocations: 0 / 0.6425 GB, free: 3.258 MB / 458.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003255/0.1489, allocations: 2.43 MB / 0.6449 GB, free: 0.7812 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1489, allocations: 8 kB / 0.6449 GB, free: 0.7734 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.1489, allocations: 7.969 kB / 0.6449 GB, free: 0.7656 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.149, allocations: 8 kB / 0.6449 GB, free: 0.7578 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.1508, allocations: 0.5189 MB / 0.6454 GB, free: 244 kB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.3e-05/0.1508, allocations: 8 kB / 0.6454 GB, free: 236 kB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006749/0.1515, allocations: 150.2 kB / 0.6455 GB, free: 84 kB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.1517, allocations: 79.97 kB / 0.6456 GB, free: 4 kB / 458.8 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.0003609/0.152, allocations: 317.1 kB / 0.6459 GB, free: 15.68 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.1522, allocations: 83.06 kB / 0.646 GB, free: 15.6 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004141/0.1563, allocations: 2.712 MB / 0.6486 GB, free: 12.84 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.1564, allocations: 28 kB / 0.6487 GB, free: 12.81 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.1564, allocations: 0 / 0.6487 GB, free: 12.81 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.132e-05/0.1564, allocations: 19.88 kB / 0.6487 GB, free: 12.79 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.1579, allocations: 1.354 MB / 0.65 GB, free: 11.38 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1579, allocations: 0 / 0.65 GB, free: 11.38 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002646/0.1605, allocations: 0.5891 MB / 0.6506 GB, free: 10.79 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.884e-05/0.1606, allocations: 12 kB / 0.6506 GB, free: 10.78 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/0.1608, allocations: 91.94 kB / 0.6507 GB, free: 10.69 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.765e-05/0.1608, allocations: 8 kB / 0.6507 GB, free: 10.68 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1608, allocations: 3.984 kB / 0.6507 GB, free: 10.68 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05174/0.2125, allocations: 27.19 MB / 0.6772 GB, free: 15.13 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006469/0.2132, allocations: 410.9 kB / 0.6776 GB, free: 14.71 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.2134, allocations: 79.95 kB / 0.6777 GB, free: 14.63 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006239/0.214, allocations: 44 kB / 0.6778 GB, free: 14.59 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002585/0.2143, allocations: 158 kB / 0.6779 GB, free: 14.43 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/0.2144, allocations: 83.97 kB / 0.678 GB, free: 14.35 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0001268/0.2145, allocations: 176.5 kB / 0.6782 GB, free: 14.17 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2146, allocations: 0 / 0.6782 GB, free: 14.17 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001173/0.2157, allocations: 0.7302 MB / 0.6789 GB, free: 13.44 MB / 0.4949 GB 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.0002892/0.216, allocations: 229 kB / 0.6791 GB, free: 13.21 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.002952/0.219, allocations: 2.271 MB / 0.6813 GB, free: 10.91 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.219, allocations: 0 / 0.6813 GB, free: 10.91 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.001521/0.2205, allocations: 1.265 MB / 0.6825 GB, free: 9.637 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006438/0.2212, allocations: 200.3 kB / 0.6827 GB, free: 9.441 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008327/0.2295, allocations: 7.335 MB / 0.6899 GB, free: 2.043 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006642/0.2302, allocations: 1.242 MB / 0.6911 GB, free: 0.7734 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.3511/0.5813, allocations: 0.8997 MB / 0.692 GB, free: 74.41 MB / 0.495 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/0.5824, allocations: 208.3 kB / 0.6922 GB, free: 74.4 MB / 0.495 GB Notification: Performance of SimCode: time 6.21e-07/0.5824, allocations: 1.25 kB / 0.6922 GB, free: 74.4 MB / 0.495 GB Notification: Performance of Templates: time 0.03747/0.6199, allocations: 32.05 MB / 0.7235 GB, free: 60.03 MB / 0.495 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches