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.001269/0.001269, allocations: 111.3 kB / 17.28 MB, free: 6.199 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.001263/0.001263, allocations: 194 kB / 18.21 MB, free: 5.273 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.324/1.324, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8871/0.8871, allocations: 119.3 MB / 411.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 67.89 kB / 0.4924 GB, free: 12.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4947/0.496, allocations: 80.69 MB / 0.5712 GB, free: 43.89 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002166/0.4982, allocations: 1.445 MB / 0.5726 GB, free: 42.74 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007263/0.499, allocations: 0.5149 MB / 0.5731 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.499, allocations: 0 / 0.5731 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.524e-05/0.4991, allocations: 3.984 kB / 0.5731 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002749/0.4994, allocations: 55.86 kB / 0.5732 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.685e-05/0.4995, allocations: 30.03 kB / 0.5732 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007136/0.5002, allocations: 1.02 MB / 0.5742 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.579e-05/0.5003, allocations: 8.781 kB / 0.5742 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003431/0.5006, allocations: 372.4 kB / 0.5746 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005913/0.5012, allocations: 0.5447 MB / 0.5751 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.5014, allocations: 59.03 kB / 0.5752 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.5016, allocations: 76.8 kB / 0.5752 GB, free: 41.25 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0003536/0.5019, allocations: 465.7 kB / 0.5757 GB, free: 40.98 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003792/0.5023, allocations: 455.2 kB / 0.5761 GB, free: 40.7 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004373/0.5028, allocations: 0.545 MB / 0.5766 GB, free: 40.41 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.5028, allocations: 0.9062 kB / 0.5766 GB, free: 40.41 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5028, allocations: 0 / 0.5766 GB, free: 40.41 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.5028, allocations: 0 / 0.5766 GB, free: 40.41 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.002985/0.5058, allocations: 1.287 MB / 0.5779 GB, free: 39.55 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.5058, allocations: 13.11 kB / 0.5779 GB, free: 39.55 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002354/0.5061, allocations: 87.25 kB / 0.578 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.5067, allocations: 469.8 kB / 0.5784 GB, free: 39.13 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.184e-05/0.5067, allocations: 70.2 kB / 0.5785 GB, free: 39.09 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/0.5069, allocations: 117.1 kB / 0.5786 GB, free: 39.04 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.5086, allocations: 1.142 MB / 0.5797 GB, free: 38.4 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.5086, allocations: 1.281 kB / 0.5797 GB, free: 38.4 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.916e-05/0.5088, allocations: 34.31 kB / 0.5798 GB, free: 38.37 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.5088, allocations: 18.94 kB / 0.5798 GB, free: 38.37 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.5106, allocations: 1.261 MB / 0.581 GB, free: 37.91 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.5119, allocations: 1.084 MB / 0.5821 GB, free: 37.18 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005988/0.5179, allocations: 2.783 MB / 0.5848 GB, free: 35.62 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.519, allocations: 0.8889 MB / 0.5857 GB, free: 34.73 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002545/0.5192, allocations: 127 kB / 0.5858 GB, free: 34.59 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.5193, allocations: 56.5 kB / 0.5858 GB, free: 34.52 MB / 462.3 MB Notification: Performance of pre-optimization done (n=203): time 3.537e-06/0.5193, allocations: 0 / 0.5858 GB, free: 34.52 MB / 462.3 MB Notification: Performance of matching and sorting (n=203): time 0.003305/0.5226, allocations: 2.644 MB / 0.5884 GB, free: 31.88 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.5226, allocations: 77.41 kB / 0.5885 GB, free: 31.79 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.5228, allocations: 233 kB / 0.5887 GB, free: 31.55 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.691e-05/0.5229, allocations: 57.7 kB / 0.5888 GB, free: 31.49 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.523, allocations: 131.3 kB / 0.5889 GB, free: 31.36 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004007/0.5234, allocations: 0.7778 MB / 0.5897 GB, free: 30.57 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004167/0.5238, allocations: 380.3 kB / 0.59 GB, free: 30.19 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.7e-05/0.5239, allocations: 326 kB / 0.5903 GB, free: 29.87 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.525, allocations: 0.9216 MB / 0.5912 GB, free: 28.94 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.5261, allocations: 0.9603 MB / 0.5922 GB, free: 27.97 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002282/0.5284, allocations: 2.062 MB / 0.5942 GB, free: 25.88 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.5284, allocations: 0 / 0.5942 GB, free: 25.88 MB / 462.3 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002838/0.5312, allocations: 2.427 MB / 0.5966 GB, free: 23.41 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.5313, allocations: 4 kB / 0.5966 GB, free: 23.4 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.5313, allocations: 4 kB / 0.5966 GB, free: 23.4 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.5313, allocations: 8 kB / 0.5966 GB, free: 23.39 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.5332, allocations: 0.5189 MB / 0.5971 GB, free: 22.87 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.5332, allocations: 8 kB / 0.5971 GB, free: 22.86 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006916/0.5339, allocations: 150.3 kB / 0.5972 GB, free: 22.71 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.534, allocations: 79.97 kB / 0.5973 GB, free: 22.64 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.0003801/0.5344, allocations: 309.2 kB / 0.5976 GB, free: 22.32 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.5346, allocations: 86.97 kB / 0.5977 GB, free: 22.24 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003582/0.5382, allocations: 2.716 MB / 0.6003 GB, free: 19.47 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.5382, allocations: 31.98 kB / 0.6004 GB, free: 19.44 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.5382, allocations: 0 / 0.6004 GB, free: 19.44 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/0.5382, allocations: 15.89 kB / 0.6004 GB, free: 19.42 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.5396, allocations: 1.338 MB / 0.6017 GB, free: 18.03 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.5396, allocations: 4 kB / 0.6017 GB, free: 18.02 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002549/0.5422, allocations: 0.5814 MB / 0.6023 GB, free: 17.44 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-05/0.5422, allocations: 8 kB / 0.6023 GB, free: 17.43 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001717/0.5424, allocations: 95.92 kB / 0.6024 GB, free: 17.34 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.659e-06/0.5424, allocations: 12 kB / 0.6024 GB, free: 17.33 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5424, allocations: 3.938 kB / 0.6024 GB, free: 17.32 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004063/0.5465, allocations: 3.611 MB / 0.6059 GB, free: 13.64 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005599/0.5471, allocations: 414.8 kB / 0.6063 GB, free: 13.21 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.5473, allocations: 83.95 kB / 0.6064 GB, free: 13.13 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007063/0.548, allocations: 48 kB / 0.6064 GB, free: 13.08 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/0.5482, allocations: 165.9 kB / 0.6066 GB, free: 12.92 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/0.5484, allocations: 83.97 kB / 0.6067 GB, free: 12.84 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001162/0.5485, allocations: 172.5 kB / 0.6068 GB, free: 12.67 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5485, allocations: 0 / 0.6068 GB, free: 12.67 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0008477/0.5494, allocations: 448 kB / 0.6073 GB, free: 12.23 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.0003245/0.5497, allocations: 225 kB / 0.6075 GB, free: 12 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.00858/0.5583, allocations: 5.864 MB / 0.6132 GB, free: 6.109 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5583, allocations: 0 / 0.6132 GB, free: 6.109 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.5599, allocations: 1.265 MB / 0.6144 GB, free: 4.84 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009141/0.5608, allocations: 200.3 kB / 0.6146 GB, free: 4.645 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00681/0.5676, allocations: 5.989 MB / 0.6205 GB, free: 14.6 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006995/0.5684, allocations: 1.155 MB / 0.6216 GB, free: 13.41 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007958/0.5692, allocations: 175.4 kB / 0.6218 GB, free: 13.24 MB / 478.3 MB Notification: Performance of SimCode: time 8.51e-07/0.5692, allocations: 0 / 0.6218 GB, free: 13.24 MB / 478.3 MB Notification: Performance of Templates: time 0.02957/0.5988, allocations: 18.51 MB / 0.6398 GB, free: 10.75 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