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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 107.5 kB / 17.16 MB, free: 6.082 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.001253/0.001253, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.273/1.273, allocations: 222.9 MB / 241.8 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8935/0.8935, allocations: 119.3 MB / 411.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 60.05 kB / 0.4922 GB, free: 12.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4681/0.4693, allocations: 80.69 MB / 0.571 GB, free: 43.84 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002095/0.4714, allocations: 1.454 MB / 0.5724 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007235/0.4721, allocations: 0.5139 MB / 0.5729 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/0.4722, allocations: 4 kB / 0.5729 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.353e-05/0.4723, allocations: 9.297 kB / 0.573 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.4725, allocations: 49.55 kB / 0.573 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.815e-05/0.4726, allocations: 33.53 kB / 0.573 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006738/0.4733, allocations: 1.037 MB / 0.574 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.509e-05/0.4734, allocations: 8.844 kB / 0.5741 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003228/0.4737, allocations: 356.7 kB / 0.5744 GB, free: 41.53 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005804/0.4743, allocations: 0.5628 MB / 0.5749 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.4744, allocations: 59.5 kB / 0.575 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000222/0.4747, allocations: 81.11 kB / 0.5751 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0003637/0.475, allocations: 461.6 kB / 0.5755 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003967/0.4754, allocations: 462.8 kB / 0.576 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.4758, allocations: 0.5256 MB / 0.5765 GB, free: 40.36 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4758, allocations: 0 / 0.5765 GB, free: 40.36 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4758, allocations: 0 / 0.5765 GB, free: 40.36 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.4758, allocations: 1.344 kB / 0.5765 GB, free: 40.36 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.002671/0.4785, allocations: 1.286 MB / 0.5777 GB, free: 39.5 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.4786, allocations: 9.219 kB / 0.5777 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.4788, allocations: 88.19 kB / 0.5778 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005899/0.4794, allocations: 469.8 kB / 0.5783 GB, free: 39.08 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/0.4794, allocations: 66.19 kB / 0.5783 GB, free: 39.05 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.4796, allocations: 122.7 kB / 0.5784 GB, free: 38.99 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.4812, allocations: 1.136 MB / 0.5796 GB, free: 38.36 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.4813, allocations: 1.25 kB / 0.5796 GB, free: 38.36 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.05e-05/0.4814, allocations: 30.31 kB / 0.5796 GB, free: 38.33 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.4814, allocations: 18.94 kB / 0.5796 GB, free: 38.33 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.483, allocations: 1.269 MB / 0.5808 GB, free: 37.86 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.4844, allocations: 1.092 MB / 0.5819 GB, free: 37.12 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005846/0.4902, allocations: 2.78 MB / 0.5846 GB, free: 35.68 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009908/0.4912, allocations: 0.8811 MB / 0.5855 GB, free: 34.79 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002439/0.4915, allocations: 127 kB / 0.5856 GB, free: 34.65 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.4915, allocations: 52.56 kB / 0.5857 GB, free: 34.59 MB / 462.3 MB Notification: Performance of pre-optimization done (n=203): time 3.416e-06/0.4915, allocations: 7.938 kB / 0.5857 GB, free: 34.58 MB / 462.3 MB Notification: Performance of matching and sorting (n=203): time 0.003311/0.4949, allocations: 2.656 MB / 0.5883 GB, free: 31.93 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.4949, allocations: 73.41 kB / 0.5883 GB, free: 31.84 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.4951, allocations: 229 kB / 0.5885 GB, free: 31.61 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.866e-05/0.4952, allocations: 53.7 kB / 0.5886 GB, free: 31.55 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.4952, allocations: 131.3 kB / 0.5887 GB, free: 31.42 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000375/0.4956, allocations: 0.7817 MB / 0.5895 GB, free: 30.62 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004017/0.496, allocations: 376.3 kB / 0.5898 GB, free: 30.25 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5e-05/0.4961, allocations: 326 kB / 0.5902 GB, free: 29.93 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.4972, allocations: 0.9177 MB / 0.5911 GB, free: 29 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.4983, allocations: 0.9525 MB / 0.592 GB, free: 28.04 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002372/0.5007, allocations: 2.062 MB / 0.594 GB, free: 25.95 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.5007, allocations: 0 / 0.594 GB, free: 25.95 MB / 462.3 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002861/0.5036, allocations: 2.438 MB / 0.5964 GB, free: 23.46 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.5036, allocations: 4.625 kB / 0.5964 GB, free: 23.46 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.5036, allocations: 0 / 0.5964 GB, free: 23.46 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.5037, allocations: 8 kB / 0.5964 GB, free: 23.45 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/0.5055, allocations: 0.5228 MB / 0.5969 GB, free: 22.93 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.5055, allocations: 16 kB / 0.5969 GB, free: 22.91 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006512/0.5062, allocations: 142.3 kB / 0.5971 GB, free: 22.77 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.5063, allocations: 75.97 kB / 0.5971 GB, free: 22.7 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.0003558/0.5066, allocations: 309.2 kB / 0.5974 GB, free: 22.39 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.5068, allocations: 86.97 kB / 0.5975 GB, free: 22.3 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003568/0.5104, allocations: 2.72 MB / 0.6002 GB, free: 19.53 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.5104, allocations: 28 kB / 0.6002 GB, free: 19.5 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.5104, allocations: 0 / 0.6002 GB, free: 19.5 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/0.5104, allocations: 15.95 kB / 0.6002 GB, free: 19.48 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.5118, allocations: 1.338 MB / 0.6015 GB, free: 18.09 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.5118, allocations: 0 / 0.6015 GB, free: 18.09 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002452/0.5142, allocations: 0.5892 MB / 0.6021 GB, free: 17.5 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/0.5143, allocations: 8 kB / 0.6021 GB, free: 17.49 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/0.5144, allocations: 99.92 kB / 0.6022 GB, free: 17.39 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.796e-06/0.5144, allocations: 8 kB / 0.6022 GB, free: 17.39 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5144, allocations: 0 / 0.6022 GB, free: 17.39 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004016/0.5185, allocations: 3.619 MB / 0.6057 GB, free: 13.69 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000509/0.519, allocations: 426.8 kB / 0.6061 GB, free: 13.25 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.5192, allocations: 79.89 kB / 0.6062 GB, free: 13.18 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006017/0.5198, allocations: 44 kB / 0.6063 GB, free: 13.13 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/0.52, allocations: 166 kB / 0.6064 GB, free: 12.97 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/0.5201, allocations: 79.97 kB / 0.6065 GB, free: 12.89 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001023/0.5202, allocations: 168.5 kB / 0.6066 GB, free: 12.73 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5202, allocations: 0 / 0.6066 GB, free: 12.73 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.00072/0.521, allocations: 452 kB / 0.6071 GB, free: 12.29 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.0002823/0.5213, allocations: 217 kB / 0.6073 GB, free: 12.07 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002619/0.5239, allocations: 2.271 MB / 0.6095 GB, free: 9.766 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5239, allocations: 0 / 0.6095 GB, free: 9.766 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.5252, allocations: 1.262 MB / 0.6107 GB, free: 8.5 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007167/0.5259, allocations: 200.3 kB / 0.6109 GB, free: 8.305 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006097/0.532, allocations: 5.991 MB / 0.6168 GB, free: 2.258 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.5324, allocations: 1.159 MB / 0.6179 GB, free: 1.066 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006652/0.5331, allocations: 171.4 kB / 0.6181 GB, free: 0.8984 MB / 462.3 MB Notification: Performance of SimCode: time 7.92e-07/0.5331, allocations: 4 kB / 0.6181 GB, free: 0.8945 MB / 462.3 MB Notification: Performance of Templates: time 0.02489/0.558, allocations: 18.49 MB / 0.6361 GB, free: 14.42 MB / 494.3 MB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/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