Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_OB_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_OB_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_OB_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.001389/0.001389, allocations: 107.8 kB / 17.01 MB, free: 5.738 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.001353/0.001353, allocations: 195.5 kB / 17.96 MB, free: 5.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.4887/0.4887, allocations: 225.7 MB / 244.4 MB, free: 5.926 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6067/0.6067, allocations: 119.5 MB / 414 MB, free: 10.38 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009841/0.0009841, allocations: 71.83 kB / 0.4959 GB, free: 12.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4166, allocations: 80.68 MB / 0.5747 GB, free: 56.95 MB / 478.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001894/0.4185, allocations: 1.384 MB / 0.576 GB, free: 55.99 MB / 478.2 MB Notification: Performance of NFInst.instExpressions: time 0.0006713/0.4192, allocations: 0.5125 MB / 0.5765 GB, free: 55.64 MB / 478.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.4193, allocations: 3.625 kB / 0.5766 GB, free: 55.64 MB / 478.2 MB Notification: Performance of NFTyping.typeComponents: time 7.19e-05/0.4193, allocations: 12.05 kB / 0.5766 GB, free: 55.63 MB / 478.2 MB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.4196, allocations: 52.44 kB / 0.5766 GB, free: 55.61 MB / 478.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001055/0.4197, allocations: 36.69 kB / 0.5766 GB, free: 55.59 MB / 478.2 MB Notification: Performance of NFFlatten.flatten: time 0.000683/0.4204, allocations: 1.027 MB / 0.5777 GB, free: 55.31 MB / 478.2 MB Notification: Performance of NFFlatten.resolveConnections: time 5.005e-05/0.4204, allocations: 10.97 kB / 0.5777 GB, free: 55.31 MB / 478.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004518/0.4209, allocations: 361.4 kB / 0.578 GB, free: 55.22 MB / 478.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000691/0.4216, allocations: 0.5177 MB / 0.5785 GB, free: 55.07 MB / 478.2 MB Notification: Performance of NFPackage.collectConstants: time 0.0001963/0.4218, allocations: 58.56 kB / 0.5786 GB, free: 55.07 MB / 478.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.422, allocations: 86.92 kB / 0.5787 GB, free: 55.06 MB / 478.2 MB Notification: Performance of NFScalarize.scalarize: time 0.0003885/0.4224, allocations: 460.8 kB / 0.5791 GB, free: 54.93 MB / 478.2 MB Notification: Performance of NFVerifyModel.verify: time 0.0006166/0.423, allocations: 458.2 kB / 0.5795 GB, free: 54.71 MB / 478.2 MB Notification: Performance of NFConvertDAE.convert: time 0.0007745/0.4238, allocations: 0.8152 MB / 0.5803 GB, free: 54.48 MB / 478.2 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4238, allocations: 0 / 0.5803 GB, free: 54.48 MB / 478.2 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4238, allocations: 0 / 0.5803 GB, free: 54.48 MB / 478.2 MB Notification: Performance of Transformations before backend: time 2.525e-05/0.4239, allocations: 0 / 0.5803 GB, free: 54.48 MB / 478.2 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.002418/0.4263, allocations: 1.297 MB / 0.5816 GB, free: 53.78 MB / 478.2 MB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.4263, allocations: 9.969 kB / 0.5816 GB, free: 53.78 MB / 478.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.4265, allocations: 87.95 kB / 0.5817 GB, free: 53.73 MB / 478.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005075/0.427, allocations: 473.9 kB / 0.5821 GB, free: 53.44 MB / 478.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.427, allocations: 62.06 kB / 0.5822 GB, free: 53.41 MB / 478.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.4272, allocations: 115.4 kB / 0.5823 GB, free: 53.36 MB / 478.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.4287, allocations: 1.135 MB / 0.5834 GB, free: 53.04 MB / 478.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.4288, allocations: 0 / 0.5834 GB, free: 53.04 MB / 478.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.598e-05/0.4289, allocations: 34.03 kB / 0.5834 GB, free: 53.02 MB / 478.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.4289, allocations: 20.56 kB / 0.5835 GB, free: 53.02 MB / 478.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.4304, allocations: 1.258 MB / 0.5847 GB, free: 52.77 MB / 478.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.4316, allocations: 1.094 MB / 0.5858 GB, free: 52.13 MB / 478.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005093/0.4367, allocations: 2.785 MB / 0.5885 GB, free: 50.88 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.4377, allocations: 0.8908 MB / 0.5894 GB, free: 50.46 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/0.4379, allocations: 117.8 kB / 0.5895 GB, free: 50.36 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.4379, allocations: 56.28 kB / 0.5895 GB, free: 50.3 MB / 478.2 MB Notification: Performance of pre-optimization done (n=203): time 2.405e-06/0.4379, allocations: 0 / 0.5895 GB, free: 50.3 MB / 478.2 MB Notification: Performance of matching and sorting (n=203): time 0.003324/0.4412, allocations: 2.65 MB / 0.5921 GB, free: 49.13 MB / 478.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.4413, allocations: 73.56 kB / 0.5922 GB, free: 49.07 MB / 478.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.4414, allocations: 229.9 kB / 0.5924 GB, free: 48.91 MB / 478.2 MB Notification: Performance of collectPreVariables (initialization): time 8.598e-05/0.4415, allocations: 60.64 kB / 0.5925 GB, free: 48.85 MB / 478.2 MB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.4416, allocations: 132.4 kB / 0.5926 GB, free: 48.73 MB / 478.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.000325/0.4419, allocations: 0.7859 MB / 0.5933 GB, free: 48.02 MB / 478.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004208/0.4423, allocations: 381 kB / 0.5937 GB, free: 47.82 MB / 478.2 MB Notification: Performance of setup shared object (initialization): time 4.082e-05/0.4424, allocations: 319.3 kB / 0.594 GB, free: 47.51 MB / 478.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.4435, allocations: 0.9211 MB / 0.5949 GB, free: 47.09 MB / 478.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.4446, allocations: 0.9486 MB / 0.5958 GB, free: 46.48 MB / 478.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002045/0.4467, allocations: 2.07 MB / 0.5979 GB, free: 44.38 MB / 478.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4467, allocations: 0 / 0.5979 GB, free: 44.38 MB / 478.2 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002499/0.4492, allocations: 2.43 MB / 0.6002 GB, free: 41.9 MB / 478.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.4492, allocations: 5.406 kB / 0.6002 GB, free: 41.9 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4492, allocations: 0 / 0.6002 GB, free: 41.9 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.4492, allocations: 12 kB / 0.6003 GB, free: 41.89 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/0.4508, allocations: 0.5189 MB / 0.6008 GB, free: 41.37 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.4509, allocations: 12 kB / 0.6008 GB, free: 41.36 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000519/0.4514, allocations: 146.3 kB / 0.6009 GB, free: 41.21 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.4515, allocations: 75.97 kB / 0.601 GB, free: 41.14 MB / 478.2 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.0002935/0.4518, allocations: 317.2 kB / 0.6013 GB, free: 40.82 MB / 478.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.4519, allocations: 86.97 kB / 0.6014 GB, free: 40.73 MB / 478.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002995/0.4549, allocations: 2.716 MB / 0.604 GB, free: 37.96 MB / 478.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.4549, allocations: 28 kB / 0.604 GB, free: 37.93 MB / 478.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.455, allocations: 0 / 0.604 GB, free: 37.93 MB / 478.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/0.455, allocations: 15.94 kB / 0.6041 GB, free: 37.92 MB / 478.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.456, allocations: 1.334 MB / 0.6054 GB, free: 36.53 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.456, allocations: 0 / 0.6054 GB, free: 36.53 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002106/0.4582, allocations: 0.593 MB / 0.6059 GB, free: 35.93 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.4582, allocations: 8 kB / 0.606 GB, free: 35.93 MB / 478.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/0.4583, allocations: 95.92 kB / 0.606 GB, free: 35.83 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.4583, allocations: 8 kB / 0.6061 GB, free: 35.82 MB / 478.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4583, allocations: 0 / 0.6061 GB, free: 35.82 MB / 478.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003392/0.4617, allocations: 3.615 MB / 0.6096 GB, free: 32.13 MB / 478.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003852/0.4621, allocations: 422.8 kB / 0.61 GB, free: 31.7 MB / 478.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.4623, allocations: 75.95 kB / 0.6101 GB, free: 31.62 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000505/0.4628, allocations: 44 kB / 0.6101 GB, free: 31.58 MB / 478.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.463, allocations: 166 kB / 0.6103 GB, free: 31.41 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.99e-05/0.4631, allocations: 83.92 kB / 0.6103 GB, free: 31.33 MB / 478.2 MB Notification: Performance of sorting global known variables: time 7.635e-05/0.4631, allocations: 168.4 kB / 0.6105 GB, free: 31.17 MB / 478.2 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4631, allocations: 0 / 0.6105 GB, free: 31.17 MB / 478.2 MB Notification: Performance of remove unused functions: time 0.0005461/0.4637, allocations: 452 kB / 0.6109 GB, free: 30.73 MB / 478.2 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.0002258/0.4639, allocations: 213 kB / 0.6111 GB, free: 30.51 MB / 478.2 MB Notification: Performance of simCode: created initialization part: time 0.002176/0.4661, allocations: 2.29 MB / 0.6134 GB, free: 28.19 MB / 478.2 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4661, allocations: 0 / 0.6134 GB, free: 28.19 MB / 478.2 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.4672, allocations: 1.262 MB / 0.6146 GB, free: 26.93 MB / 478.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005747/0.4678, allocations: 209.2 kB / 0.6148 GB, free: 26.72 MB / 478.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/0.4725, allocations: 5.476 MB / 0.6201 GB, free: 21.2 MB / 478.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.4728, allocations: 1.151 MB / 0.6213 GB, free: 20.02 MB / 478.2 MB Notification: Performance of simCode: alias equations: time 0.001072/0.4739, allocations: 0.7356 MB / 0.622 GB, free: 19.28 MB / 478.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004672/0.4744, allocations: 171.4 kB / 0.6222 GB, free: 19.11 MB / 478.2 MB Notification: Performance of SimCode: time 2.21e-07/0.4744, allocations: 0 / 0.6222 GB, free: 19.11 MB / 478.2 MB Notification: Performance of Templates: time 0.01929/0.4937, allocations: 18.98 MB / 0.6407 GB, free: 256 kB / 478.2 MB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_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_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches