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.0009759/0.000976, allocations: 89.95 kB / 16.65 MB, free: 6.59 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.001211/0.001211, allocations: 182.8 kB / 17.56 MB, free: 6.203 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.25/1.25, allocations: 223.3 MB / 241.6 MB, free: 124 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8494/0.8494, allocations: 120.5 MB / 413.2 MB, free: 9.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003335, allocations: 8.188 kB / 0.4962 GB, free: 10.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4643/0.4647, allocations: 82.83 MB / 0.5771 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001113/0.4658, allocations: 1.11 MB / 0.5782 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006733/0.4665, allocations: 0.5036 MB / 0.5787 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.033e-05/0.4666, allocations: 4 kB / 0.5787 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.841e-05/0.4667, allocations: 9.297 kB / 0.5787 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002655/0.4669, allocations: 49.55 kB / 0.5788 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.881e-05/0.467, allocations: 37.52 kB / 0.5788 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007371/0.4678, allocations: 1.034 MB / 0.5798 GB, free: 40.53 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.145e-05/0.4678, allocations: 12.48 kB / 0.5798 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003518/0.4682, allocations: 361.3 kB / 0.5802 GB, free: 40.37 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005844/0.4688, allocations: 0.5556 MB / 0.5807 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.4689, allocations: 58.25 kB / 0.5808 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.4691, allocations: 81.17 kB / 0.5808 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0003299/0.4695, allocations: 464.5 kB / 0.5813 GB, free: 39.77 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003787/0.4698, allocations: 481.2 kB / 0.5817 GB, free: 39.45 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0006862/0.4705, allocations: 0.7987 MB / 0.5825 GB, free: 38.98 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4706, allocations: 0.9062 kB / 0.5825 GB, free: 38.98 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4706, allocations: 0 / 0.5825 GB, free: 38.98 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.798e-05/0.4706, allocations: 0.7812 kB / 0.5825 GB, free: 38.98 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.003324/0.4739, allocations: 1.575 MB / 0.5841 GB, free: 37.98 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.474, allocations: 8.375 kB / 0.5841 GB, free: 37.98 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.4742, allocations: 88.16 kB / 0.5841 GB, free: 37.93 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006687/0.4748, allocations: 472.9 kB / 0.5846 GB, free: 37.55 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.402e-05/0.4749, allocations: 62.5 kB / 0.5847 GB, free: 37.52 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.4751, allocations: 116 kB / 0.5848 GB, free: 37.47 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.4767, allocations: 1.147 MB / 0.5859 GB, free: 36.83 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.4767, allocations: 5.25 kB / 0.5859 GB, free: 36.82 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.282e-05/0.4768, allocations: 30.31 kB / 0.5859 GB, free: 36.8 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.4768, allocations: 18.94 kB / 0.5859 GB, free: 36.8 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.4782, allocations: 1.262 MB / 0.5872 GB, free: 35.73 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.4793, allocations: 1.088 MB / 0.5882 GB, free: 34.59 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005157/0.4845, allocations: 2.777 MB / 0.5909 GB, free: 31.81 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009827/0.4855, allocations: 0.8889 MB / 0.5918 GB, free: 30.92 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002043/0.4857, allocations: 115.1 kB / 0.5919 GB, free: 30.79 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.4857, allocations: 68.48 kB / 0.592 GB, free: 30.71 MB / 462.3 MB Notification: Performance of pre-optimization done (n=203): time 3.937e-06/0.4857, allocations: 3.938 kB / 0.592 GB, free: 30.71 MB / 462.3 MB Notification: Performance of matching and sorting (n=203): time 0.003239/0.489, allocations: 2.644 MB / 0.5946 GB, free: 28.07 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.489, allocations: 77.41 kB / 0.5947 GB, free: 27.98 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.4892, allocations: 233 kB / 0.5949 GB, free: 27.74 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.687e-05/0.4893, allocations: 57.7 kB / 0.5949 GB, free: 27.68 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.4894, allocations: 127.3 kB / 0.5951 GB, free: 27.55 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003657/0.4897, allocations: 0.7778 MB / 0.5958 GB, free: 26.76 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.4899, allocations: 178.1 kB / 0.596 GB, free: 26.58 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.461e-05/0.49, allocations: 326 kB / 0.5963 GB, free: 26.26 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.491, allocations: 0.9177 MB / 0.5972 GB, free: 25.34 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.4922, allocations: 0.9486 MB / 0.5981 GB, free: 24.38 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002325/0.4945, allocations: 2.074 MB / 0.6001 GB, free: 22.27 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.4945, allocations: 0 / 0.6001 GB, free: 22.27 MB / 462.3 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002837/0.4974, allocations: 2.43 MB / 0.6025 GB, free: 19.8 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.4974, allocations: 4 kB / 0.6025 GB, free: 19.79 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.4974, allocations: 0 / 0.6025 GB, free: 19.79 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.4974, allocations: 8 kB / 0.6025 GB, free: 19.79 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.4992, allocations: 0.5228 MB / 0.603 GB, free: 19.26 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.4993, allocations: 8 kB / 0.603 GB, free: 19.25 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007327/0.5, allocations: 146.3 kB / 0.6032 GB, free: 19.11 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.5001, allocations: 83.97 kB / 0.6033 GB, free: 19.03 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.0003676/0.5005, allocations: 313.2 kB / 0.6036 GB, free: 18.71 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.5006, allocations: 82.97 kB / 0.6036 GB, free: 18.63 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003625/0.5042, allocations: 2.72 MB / 0.6063 GB, free: 15.86 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.5043, allocations: 24 kB / 0.6063 GB, free: 15.83 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.5043, allocations: 4 kB / 0.6063 GB, free: 15.83 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-05/0.5043, allocations: 19.88 kB / 0.6063 GB, free: 15.81 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.5056, allocations: 1.338 MB / 0.6076 GB, free: 14.41 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.5057, allocations: 0 / 0.6076 GB, free: 14.41 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002522/0.5082, allocations: 0.5931 MB / 0.6082 GB, free: 13.82 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.158e-05/0.5082, allocations: 8 kB / 0.6082 GB, free: 13.81 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001758/0.5084, allocations: 95.92 kB / 0.6083 GB, free: 13.72 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.346e-05/0.5084, allocations: 8 kB / 0.6083 GB, free: 13.71 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5084, allocations: 0 / 0.6083 GB, free: 13.71 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004161/0.5126, allocations: 3.619 MB / 0.6119 GB, free: 10.02 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005636/0.5132, allocations: 418.8 kB / 0.6123 GB, free: 9.586 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/0.5134, allocations: 75.95 kB / 0.6123 GB, free: 9.512 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007382/0.5141, allocations: 48 kB / 0.6124 GB, free: 9.465 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/0.5143, allocations: 170 kB / 0.6125 GB, free: 9.297 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.5145, allocations: 79.97 kB / 0.6126 GB, free: 9.219 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001069/0.5146, allocations: 168.5 kB / 0.6128 GB, free: 9.059 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5146, allocations: 0 / 0.6128 GB, free: 9.059 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0009023/0.5155, allocations: 448 kB / 0.6132 GB, free: 8.621 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.0002776/0.5158, allocations: 217 kB / 0.6134 GB, free: 8.398 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002747/0.5185, allocations: 2.275 MB / 0.6156 GB, free: 6.094 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5186, allocations: 0 / 0.6156 GB, free: 6.094 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.5199, allocations: 1.262 MB / 0.6169 GB, free: 4.828 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007541/0.5206, allocations: 202.3 kB / 0.6171 GB, free: 4.633 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006728/0.5274, allocations: 6.585 MB / 0.6235 GB, free: 14 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007627/0.5282, allocations: 1.147 MB / 0.6246 GB, free: 12.82 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.002058/0.5302, allocations: 0.7434 MB / 0.6253 GB, free: 12.07 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007001/0.5309, allocations: 171.4 kB / 0.6255 GB, free: 11.9 MB / 478.3 MB Notification: Performance of SimCode: time 6.21e-07/0.531, allocations: 0 / 0.6255 GB, free: 11.9 MB / 478.3 MB Notification: Performance of Templates: time 0.02862/0.5596, allocations: 17.48 MB / 0.6426 GB, free: 10.47 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/jenkins/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