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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 190.9 kB / 16.62 MB, free: 5.141 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.3492/0.3492, allocations: 225.6 MB / 243 MB, free: 4.113 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009213/0.0009213, allocations: 110.1 kB / 293.2 MB, free: 11.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo): time 0.404/0.404, allocations: 119.5 MB / 462.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008615/0.0008615, allocations: 59.91 kB / 0.5427 GB, free: 9.266 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1061, allocations: 80.69 MB / 0.6215 GB, free: 8.434 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001784/0.1079, allocations: 1.441 MB / 0.6229 GB, free: 6.977 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006308/0.1086, allocations: 0.5108 MB / 0.6234 GB, free: 6.465 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.62e-05/0.1086, allocations: 7.875 kB / 0.6234 GB, free: 6.457 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 7.039e-05/0.1087, allocations: 7.984 kB / 0.6234 GB, free: 6.449 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.1089, allocations: 55.73 kB / 0.6234 GB, free: 6.395 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.876e-05/0.109, allocations: 27.95 kB / 0.6235 GB, free: 6.367 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006154/0.1096, allocations: 1.026 MB / 0.6245 GB, free: 5.34 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.604e-05/0.1097, allocations: 12.19 kB / 0.6245 GB, free: 5.328 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.1099, allocations: 363.5 kB / 0.6248 GB, free: 4.973 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005091/0.1104, allocations: 0.5611 MB / 0.6254 GB, free: 4.414 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 9.802e-05/0.1105, allocations: 56 kB / 0.6254 GB, free: 4.359 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.1107, allocations: 79.98 kB / 0.6255 GB, free: 4.281 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003033/0.111, allocations: 459 kB / 0.6259 GB, free: 3.832 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003278/0.1113, allocations: 461.9 kB / 0.6264 GB, free: 3.379 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004929/0.1118, allocations: 0.806 MB / 0.6272 GB, free: 2.57 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1119, allocations: 0 / 0.6272 GB, free: 2.57 MB / 442.8 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1119, allocations: 0 / 0.6272 GB, free: 2.57 MB / 442.8 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1119, allocations: 0 / 0.6272 GB, free: 2.57 MB / 442.8 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.002331/0.1142, allocations: 1.296 MB / 0.6284 GB, free: 1.223 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.495e-05/0.1142, allocations: 8.031 kB / 0.6284 GB, free: 1.215 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.1144, allocations: 84 kB / 0.6285 GB, free: 1.133 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004902/0.1149, allocations: 469.9 kB / 0.629 GB, free: 0.6328 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.1149, allocations: 65.94 kB / 0.629 GB, free: 0.5664 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.1151, allocations: 115.7 kB / 0.6291 GB, free: 464 kB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.1164, allocations: 1.139 MB / 0.6302 GB, free: 15.31 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.1165, allocations: 0 / 0.6302 GB, free: 15.31 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.619e-05/0.1165, allocations: 36 kB / 0.6303 GB, free: 15.27 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.1166, allocations: 23.94 kB / 0.6303 GB, free: 15.25 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.118, allocations: 1.257 MB / 0.6315 GB, free: 13.99 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.1191, allocations: 1.084 MB / 0.6326 GB, free: 12.86 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005177/0.1243, allocations: 2.782 MB / 0.6353 GB, free: 10.08 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.1253, allocations: 0.885 MB / 0.6362 GB, free: 9.195 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001819/0.1255, allocations: 123 kB / 0.6363 GB, free: 9.059 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.1255, allocations: 64.48 kB / 0.6363 GB, free: 8.984 MB / 458.8 MB Notification: Performance of pre-optimization done (n=203): time 2.474e-06/0.1256, allocations: 0 / 0.6363 GB, free: 8.984 MB / 458.8 MB Notification: Performance of matching and sorting (n=203): time 0.00331/0.1289, allocations: 2.652 MB / 0.6389 GB, free: 6.332 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.1289, allocations: 73.41 kB / 0.639 GB, free: 6.25 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.1291, allocations: 229 kB / 0.6392 GB, free: 6.016 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 6.955e-05/0.1291, allocations: 61.7 kB / 0.6393 GB, free: 5.949 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.1292, allocations: 127.3 kB / 0.6394 GB, free: 5.82 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004089/0.1296, allocations: 0.7778 MB / 0.6402 GB, free: 5.031 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004073/0.13, allocations: 376.3 kB / 0.6405 GB, free: 4.656 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.1301, allocations: 326 kB / 0.6408 GB, free: 4.332 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.1312, allocations: 0.9177 MB / 0.6417 GB, free: 3.41 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.1324, allocations: 0.9563 MB / 0.6427 GB, free: 2.445 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/0.1348, allocations: 2.07 MB / 0.6447 GB, free: 352 kB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.1349, allocations: 0 / 0.6447 GB, free: 352 kB / 458.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.3915/0.5264, allocations: 2.423 MB / 0.6471 GB, free: 32.41 MB / 458.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.5264, allocations: 5.469 kB / 0.6471 GB, free: 32.41 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.5264, allocations: 0.7969 kB / 0.6471 GB, free: 32.41 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.5265, allocations: 9.594 kB / 0.6471 GB, free: 32.41 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.5283, allocations: 0.5246 MB / 0.6476 GB, free: 32.38 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/0.5283, allocations: 9.281 kB / 0.6476 GB, free: 32.38 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005002/0.5288, allocations: 147.2 kB / 0.6477 GB, free: 32.31 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.5289, allocations: 78.86 kB / 0.6478 GB, free: 32.29 MB / 458.9 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.0003176/0.5292, allocations: 308.5 kB / 0.6481 GB, free: 32.09 MB / 458.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.5294, allocations: 89.03 kB / 0.6482 GB, free: 32.09 MB / 458.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003741/0.5331, allocations: 2.716 MB / 0.6508 GB, free: 31.14 MB / 458.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.5332, allocations: 27.75 kB / 0.6509 GB, free: 31.14 MB / 458.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.5332, allocations: 3.156 kB / 0.6509 GB, free: 31.14 MB / 458.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-05/0.5332, allocations: 14.28 kB / 0.6509 GB, free: 31.14 MB / 458.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.5345, allocations: 1.341 MB / 0.6522 GB, free: 30.55 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5345, allocations: 1.484 kB / 0.6522 GB, free: 30.55 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002417/0.537, allocations: 0.5886 MB / 0.6528 GB, free: 30.5 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.537, allocations: 9.125 kB / 0.6528 GB, free: 30.5 MB / 458.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/0.5371, allocations: 94.5 kB / 0.6529 GB, free: 30.47 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/0.5372, allocations: 9.281 kB / 0.6529 GB, free: 30.47 MB / 458.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5372, allocations: 3.625 kB / 0.6529 GB, free: 30.47 MB / 458.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004369/0.5415, allocations: 3.617 MB / 0.6564 GB, free: 29.23 MB / 458.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004928/0.542, allocations: 422.2 kB / 0.6568 GB, free: 29.02 MB / 458.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.5422, allocations: 73.25 kB / 0.6569 GB, free: 28.98 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005236/0.5428, allocations: 48.94 kB / 0.6569 GB, free: 28.95 MB / 458.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002839/0.543, allocations: 165.8 kB / 0.6571 GB, free: 28.93 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/0.5432, allocations: 79.06 kB / 0.6572 GB, free: 28.91 MB / 458.9 MB Notification: Performance of sorting global known variables: time 0.0001196/0.5433, allocations: 172 kB / 0.6573 GB, free: 28.81 MB / 458.9 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5433, allocations: 0 / 0.6573 GB, free: 28.81 MB / 458.9 MB Notification: Performance of remove unused functions: time 0.0006465/0.544, allocations: 452.7 kB / 0.6578 GB, free: 28.74 MB / 458.9 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.0002361/0.5442, allocations: 217.2 kB / 0.658 GB, free: 28.58 MB / 458.9 MB Notification: Performance of simCode: created initialization part: time 0.002681/0.5469, allocations: 2.272 MB / 0.6602 GB, free: 27.97 MB / 458.9 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5469, allocations: 0 / 0.6602 GB, free: 27.97 MB / 458.9 MB Notification: Performance of simCode: created simulation system equations: time 0.001418/0.5483, allocations: 1.266 MB / 0.6614 GB, free: 27.61 MB / 458.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005908/0.5489, allocations: 197.8 kB / 0.6616 GB, free: 27.52 MB / 458.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005718/0.5546, allocations: 5.924 MB / 0.6674 GB, free: 24.02 MB / 458.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.5551, allocations: 1.158 MB / 0.6685 GB, free: 23.18 MB / 458.9 MB Notification: Performance of simCode: alias equations: time 0.001214/0.5563, allocations: 0.7373 MB / 0.6692 GB, free: 22.85 MB / 458.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004779/0.5568, allocations: 170.8 kB / 0.6694 GB, free: 22.81 MB / 458.9 MB Notification: Performance of SimCode: time 2.7e-07/0.5568, allocations: 1.188 kB / 0.6694 GB, free: 22.81 MB / 458.9 MB Notification: Performance of Templates: time 0.01331/0.5701, allocations: 19.1 MB / 0.6881 GB, free: 5.441 MB / 458.9 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