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.0007865/0.0007867, allocations: 91.72 kB / 17.31 MB, free: 6.535 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.0008652/0.0008653, allocations: 179.8 kB / 18.21 MB, free: 5.68 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.26/1.26, allocations: 223.3 MB / 242.3 MB, free: 14.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8943/0.8943, allocations: 120.4 MB / 413.8 MB, free: 9.23 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003167, allocations: 8 kB / 0.4969 GB, free: 10.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5091/0.5094, allocations: 82.83 MB / 0.5778 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001215/0.5107, allocations: 1.111 MB / 0.5789 GB, free: 40.94 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007344/0.5115, allocations: 0.5049 MB / 0.5793 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.5115, allocations: 0 / 0.5793 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.5116, allocations: 5.062 kB / 0.5793 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.5119, allocations: 46.17 kB / 0.5794 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.077e-05/0.512, allocations: 37.61 kB / 0.5794 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007204/0.5127, allocations: 1.041 MB / 0.5804 GB, free: 39.95 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/0.5128, allocations: 9.812 kB / 0.5805 GB, free: 39.95 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003102/0.5131, allocations: 368.4 kB / 0.5808 GB, free: 39.79 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006631/0.5138, allocations: 0.5522 MB / 0.5813 GB, free: 39.46 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.5139, allocations: 58 kB / 0.5814 GB, free: 39.46 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.5142, allocations: 81.17 kB / 0.5815 GB, free: 39.45 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0004243/0.5146, allocations: 468.8 kB / 0.5819 GB, free: 39.18 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0004339/0.515, allocations: 483 kB / 0.5824 GB, free: 38.86 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004453/0.5155, allocations: 0.5243 MB / 0.5829 GB, free: 38.59 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5155, allocations: 0 / 0.5829 GB, free: 38.59 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5155, allocations: 0 / 0.5829 GB, free: 38.59 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.5155, allocations: 5.25 kB / 0.5829 GB, free: 38.59 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.003352/0.5189, allocations: 1.558 MB / 0.5844 GB, free: 37.6 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.5189, allocations: 9.219 kB / 0.5844 GB, free: 37.6 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002097/0.5191, allocations: 88.16 kB / 0.5845 GB, free: 37.55 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000645/0.5198, allocations: 477.8 kB / 0.585 GB, free: 37.17 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.705e-05/0.5199, allocations: 65.91 kB / 0.585 GB, free: 37.14 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.5201, allocations: 115.3 kB / 0.5851 GB, free: 37.09 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.5218, allocations: 1.14 MB / 0.5863 GB, free: 36.45 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.5219, allocations: 1 kB / 0.5863 GB, free: 36.45 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.663e-05/0.522, allocations: 29.84 kB / 0.5863 GB, free: 36.43 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.522, allocations: 19.41 kB / 0.5863 GB, free: 36.43 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.5238, allocations: 1.262 MB / 0.5875 GB, free: 35.96 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.525, allocations: 1.095 MB / 0.5886 GB, free: 34.89 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005406/0.5304, allocations: 2.773 MB / 0.5913 GB, free: 32.12 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009967/0.5314, allocations: 0.8889 MB / 0.5922 GB, free: 31.23 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/0.5316, allocations: 123.1 kB / 0.5923 GB, free: 31.09 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.5317, allocations: 60.48 kB / 0.5924 GB, free: 31.02 MB / 462.3 MB Notification: Performance of pre-optimization done (n=203): time 3.466e-06/0.5317, allocations: 4 kB / 0.5924 GB, free: 31.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=203): time 0.003352/0.535, allocations: 2.64 MB / 0.5949 GB, free: 28.38 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.5351, allocations: 77.41 kB / 0.595 GB, free: 28.29 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.5353, allocations: 229 kB / 0.5952 GB, free: 28.06 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.189e-05/0.5354, allocations: 61.64 kB / 0.5953 GB, free: 27.99 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.5354, allocations: 127.3 kB / 0.5954 GB, free: 27.86 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003878/0.5358, allocations: 0.7817 MB / 0.5962 GB, free: 27.07 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.536, allocations: 178.1 kB / 0.5963 GB, free: 26.89 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.384e-05/0.5361, allocations: 330 kB / 0.5967 GB, free: 26.56 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.5372, allocations: 0.9138 MB / 0.5976 GB, free: 25.64 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.5383, allocations: 0.9486 MB / 0.5985 GB, free: 24.69 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002352/0.5407, allocations: 2.07 MB / 0.6005 GB, free: 22.59 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.5407, allocations: 0 / 0.6005 GB, free: 22.59 MB / 462.3 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.00293/0.5436, allocations: 2.434 MB / 0.6029 GB, free: 20.11 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.5436, allocations: 4 kB / 0.6029 GB, free: 20.1 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.5437, allocations: 3.984 kB / 0.6029 GB, free: 20.1 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.5437, allocations: 12 kB / 0.6029 GB, free: 20.09 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/0.5456, allocations: 0.5266 MB / 0.6034 GB, free: 19.56 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/0.5456, allocations: 12 kB / 0.6034 GB, free: 19.55 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007831/0.5464, allocations: 146.3 kB / 0.6036 GB, free: 19.4 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.5465, allocations: 75.97 kB / 0.6036 GB, free: 19.33 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.0003824/0.5469, allocations: 313.2 kB / 0.6039 GB, free: 19.01 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.547, allocations: 90.97 kB / 0.604 GB, free: 18.92 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003776/0.5508, allocations: 2.708 MB / 0.6067 GB, free: 16.16 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/0.5508, allocations: 32 kB / 0.6067 GB, free: 16.13 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.5509, allocations: 0 / 0.6067 GB, free: 16.13 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/0.5509, allocations: 15.94 kB / 0.6067 GB, free: 16.11 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.5523, allocations: 1.342 MB / 0.608 GB, free: 14.71 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.5524, allocations: 0 / 0.608 GB, free: 14.71 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002558/0.5549, allocations: 0.5892 MB / 0.6086 GB, free: 14.12 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/0.5549, allocations: 8 kB / 0.6086 GB, free: 14.12 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/0.5551, allocations: 95.92 kB / 0.6087 GB, free: 14.02 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/0.5551, allocations: 12 kB / 0.6087 GB, free: 14.01 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5551, allocations: 0 / 0.6087 GB, free: 14.01 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00397/0.5591, allocations: 3.619 MB / 0.6122 GB, free: 10.32 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005433/0.5597, allocations: 422.8 kB / 0.6126 GB, free: 9.883 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.5598, allocations: 71.95 kB / 0.6127 GB, free: 9.812 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006719/0.5605, allocations: 48 kB / 0.6128 GB, free: 9.766 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/0.5607, allocations: 166 kB / 0.6129 GB, free: 9.602 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.5609, allocations: 83.91 kB / 0.613 GB, free: 9.52 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001051/0.561, allocations: 168.5 kB / 0.6132 GB, free: 9.359 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.561, allocations: 0 / 0.6132 GB, free: 9.359 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007754/0.5618, allocations: 452 kB / 0.6136 GB, free: 8.918 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.0003001/0.5621, allocations: 213 kB / 0.6138 GB, free: 8.699 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002648/0.5647, allocations: 2.275 MB / 0.616 GB, free: 6.395 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5647, allocations: 4 kB / 0.616 GB, free: 6.391 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.5661, allocations: 1.265 MB / 0.6173 GB, free: 5.121 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007386/0.5668, allocations: 200.3 kB / 0.6174 GB, free: 4.926 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007146/0.574, allocations: 6.629 MB / 0.6239 GB, free: 14.24 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007139/0.5747, allocations: 1.159 MB / 0.6251 GB, free: 13.05 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007459/0.5755, allocations: 171.4 kB / 0.6252 GB, free: 12.88 MB / 478.3 MB Notification: Performance of SimCode: time 1.212e-06/0.5755, allocations: 0 / 0.6252 GB, free: 12.88 MB / 478.3 MB Notification: Performance of Templates: time 0.02832/0.6038, allocations: 18.4 MB / 0.6432 GB, free: 10.49 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