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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 192.9 kB / 17.27 MB, free: 4.5 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.361/1.361, allocations: 222.9 MB / 240.9 MB, free: 10.99 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.001035/0.001035, allocations: 102.3 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.8996/0.8996, allocations: 119.3 MB / 460.6 MB, free: 9.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 59.14 kB / 0.5404 GB, free: 41.88 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1547, allocations: 80.69 MB / 0.6192 GB, free: 11.37 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002722/0.1575, allocations: 1.442 MB / 0.6207 GB, free: 9.914 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009219/0.1585, allocations: 0.5186 MB / 0.6212 GB, free: 9.395 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.1585, allocations: 0 / 0.6212 GB, free: 9.395 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.1586, allocations: 11.92 kB / 0.6212 GB, free: 9.383 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.1589, allocations: 51.8 kB / 0.6212 GB, free: 9.332 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.191e-05/0.159, allocations: 23.97 kB / 0.6212 GB, free: 9.309 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.000769/0.1598, allocations: 1.045 MB / 0.6223 GB, free: 8.262 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.565e-05/0.1599, allocations: 16.19 kB / 0.6223 GB, free: 8.246 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003088/0.1602, allocations: 363.6 kB / 0.6226 GB, free: 7.891 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000608/0.1608, allocations: 0.5455 MB / 0.6232 GB, free: 7.348 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.1609, allocations: 60 kB / 0.6232 GB, free: 7.289 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.1611, allocations: 83.91 kB / 0.6233 GB, free: 7.207 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003784/0.1615, allocations: 470.9 kB / 0.6237 GB, free: 6.746 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0004166/0.162, allocations: 449.9 kB / 0.6242 GB, free: 6.305 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0006253/0.1626, allocations: 0.8099 MB / 0.625 GB, free: 5.492 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1626, allocations: 0 / 0.625 GB, free: 5.492 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1626, allocations: 0 / 0.625 GB, free: 5.492 MB / 442.8 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.1626, allocations: 0 / 0.625 GB, free: 5.492 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.002836/0.1655, allocations: 1.288 MB / 0.6262 GB, free: 4.152 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1655, allocations: 8.031 kB / 0.6262 GB, free: 4.145 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.1657, allocations: 88 kB / 0.6263 GB, free: 4.059 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007577/0.1665, allocations: 469.9 kB / 0.6268 GB, free: 3.555 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.638e-05/0.1665, allocations: 69.92 kB / 0.6268 GB, free: 3.484 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.1667, allocations: 111.7 kB / 0.6269 GB, free: 3.375 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.1684, allocations: 1.139 MB / 0.628 GB, free: 2.23 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.1684, allocations: 3.938 kB / 0.6281 GB, free: 2.227 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-05/0.1685, allocations: 32 kB / 0.6281 GB, free: 2.195 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.1686, allocations: 20 kB / 0.6281 GB, free: 2.176 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.1703, allocations: 1.261 MB / 0.6293 GB, free: 0.9141 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.1716, allocations: 1.088 MB / 0.6304 GB, free: 15.77 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006008/0.1776, allocations: 2.786 MB / 0.6331 GB, free: 12.99 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.1788, allocations: 0.8811 MB / 0.634 GB, free: 12.11 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002642/0.1791, allocations: 127 kB / 0.6341 GB, free: 11.97 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.1792, allocations: 56.56 kB / 0.6342 GB, free: 11.9 MB / 458.8 MB Notification: Performance of pre-optimization done (n=203): time 4.679e-06/0.1792, allocations: 0 / 0.6342 GB, free: 11.9 MB / 458.8 MB Notification: Performance of matching and sorting (n=203): time 0.003925/0.1831, allocations: 2.648 MB / 0.6367 GB, free: 9.254 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.1832, allocations: 77.34 kB / 0.6368 GB, free: 9.168 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.1834, allocations: 237 kB / 0.637 GB, free: 8.926 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 8.193e-05/0.1835, allocations: 53.7 kB / 0.6371 GB, free: 8.867 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.1835, allocations: 131.3 kB / 0.6372 GB, free: 8.734 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005373/0.1841, allocations: 0.7779 MB / 0.638 GB, free: 7.945 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004595/0.1846, allocations: 380.3 kB / 0.6383 GB, free: 7.566 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1847, allocations: 322 kB / 0.6386 GB, free: 7.246 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.186, allocations: 0.9216 MB / 0.6395 GB, free: 6.32 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.1873, allocations: 0.9486 MB / 0.6405 GB, free: 5.363 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002772/0.1901, allocations: 2.062 MB / 0.6425 GB, free: 3.27 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.1901, allocations: 0 / 0.6425 GB, free: 3.27 MB / 458.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.00338/0.1935, allocations: 2.43 MB / 0.6449 GB, free: 0.793 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.1935, allocations: 15.94 kB / 0.6449 GB, free: 0.7773 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.1935, allocations: 0 / 0.6449 GB, free: 0.7773 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.1935, allocations: 8 kB / 0.6449 GB, free: 0.7695 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/0.1955, allocations: 0.515 MB / 0.6454 GB, free: 260 kB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/0.1955, allocations: 8 kB / 0.6454 GB, free: 252 kB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000665/0.1962, allocations: 150.2 kB / 0.6455 GB, free: 100 kB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.1963, allocations: 79.97 kB / 0.6456 GB, free: 20 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.0004027/0.1967, allocations: 305.2 kB / 0.6459 GB, free: 15.71 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.1969, allocations: 87 kB / 0.646 GB, free: 15.62 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004232/0.2011, allocations: 2.728 MB / 0.6486 GB, free: 12.84 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.2012, allocations: 28 kB / 0.6487 GB, free: 12.82 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.2012, allocations: 0 / 0.6487 GB, free: 12.82 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/0.2012, allocations: 15.89 kB / 0.6487 GB, free: 12.8 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.2028, allocations: 1.354 MB / 0.65 GB, free: 11.39 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.2028, allocations: 0 / 0.65 GB, free: 11.39 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00261/0.2054, allocations: 0.5853 MB / 0.6506 GB, free: 10.8 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.571e-05/0.2055, allocations: 12 kB / 0.6506 GB, free: 10.79 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001816/0.2056, allocations: 95.92 kB / 0.6507 GB, free: 10.7 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-05/0.2057, allocations: 8 kB / 0.6507 GB, free: 10.69 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2057, allocations: 4 kB / 0.6507 GB, free: 10.69 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05669/0.2624, allocations: 27.19 MB / 0.6772 GB, free: 15.13 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008745/0.2633, allocations: 422.9 kB / 0.6777 GB, free: 14.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/0.2635, allocations: 71.97 kB / 0.6777 GB, free: 14.63 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007056/0.2642, allocations: 47.98 kB / 0.6778 GB, free: 14.58 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/0.2645, allocations: 170 kB / 0.6779 GB, free: 14.41 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/0.2647, allocations: 75.97 kB / 0.678 GB, free: 14.34 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0001708/0.2648, allocations: 172.5 kB / 0.6782 GB, free: 14.17 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2648, allocations: 0 / 0.6782 GB, free: 14.17 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.002012/0.2669, allocations: 0.7341 MB / 0.6789 GB, free: 13.43 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.0004501/0.2673, allocations: 221 kB / 0.6791 GB, free: 13.21 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.00353/0.2709, allocations: 2.271 MB / 0.6813 GB, free: 10.91 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.2709, allocations: 0 / 0.6813 GB, free: 10.91 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.001648/0.2725, 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.0007888/0.2733, allocations: 204.3 kB / 0.6827 GB, free: 9.438 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.2834, allocations: 7.339 MB / 0.6899 GB, free: 2.039 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007751/0.2842, allocations: 1.238 MB / 0.6911 GB, free: 0.7734 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.5004/0.7846, allocations: 0.8906 MB / 0.692 GB, free: 74.41 MB / 0.495 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001322/0.786, allocations: 207 kB / 0.6922 GB, free: 74.4 MB / 0.495 GB Notification: Performance of SimCode: time 1.022e-06/0.786, allocations: 0.9375 kB / 0.6922 GB, free: 74.4 MB / 0.495 GB Notification: Performance of Templates: time 0.0459/0.8319, allocations: 32.06 MB / 0.7235 GB, free: 60 MB / 0.495 GB 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@2/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