Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 76.41 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 166.2 kB / 25 MB, free: 8.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9652/0.9652, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.711/0.711, allocations: 88.08 MB / 349.9 MB, free: 14.29 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.[0-9,]+.|Que.[0-9,]+.|Tu.[0-9,]+.|der.Tu.[0-9,]+..|der.x.[0-9,]+..|time|u.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.[0-9,]+.|Que.[0-9,]+.|Tu.[0-9,]+.|der.Tu.[0-9,]+..|der.x.[0-9,]+..|time|u.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 453.2 MB, free: 32.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.143e-05, allocations: 5.969 kB / 453.2 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001577/0.001608, allocations: 1.427 MB / 454.7 MB, free: 31.43 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006487/0.002257, allocations: 0.5407 MB / 455.2 MB, free: 31.09 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.936e-05/0.002306, allocations: 0 / 455.2 MB, free: 31.09 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.283e-05/0.002389, allocations: 9.969 kB / 455.2 MB, free: 31.09 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000329/0.002718, allocations: 59.7 kB / 455.3 MB, free: 31.06 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.00283, allocations: 45.34 kB / 455.3 MB, free: 31.04 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.003125, allocations: 0.5499 MB / 455.9 MB, free: 30.88 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.00317, allocations: 17.47 kB / 455.9 MB, free: 30.87 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.003413, allocations: 265.8 kB / 456.1 MB, free: 30.79 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.003647, allocations: 262.7 kB / 456.4 MB, free: 30.72 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.893e-05/0.003696, allocations: 29 kB / 456.4 MB, free: 30.72 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.003808, allocations: 54.14 kB / 456.5 MB, free: 30.72 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.003977, allocations: 253.1 kB / 456.7 MB, free: 30.62 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.004106, allocations: 187.6 kB / 456.9 MB, free: 30.56 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.004419, allocations: 489.7 kB / 457.4 MB, free: 30.43 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.004422, allocations: 0 / 457.4 MB, free: 30.43 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004423, allocations: 0 / 457.4 MB, free: 30.43 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.004429, allocations: 6.812 kB / 457.4 MB, free: 30.43 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0008987/0.005327, allocations: 0.8553 MB / 458.2 MB, free: 29.87 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.005361, allocations: 11.8 kB / 458.3 MB, free: 29.87 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.005475, allocations: 82.81 kB / 458.3 MB, free: 29.83 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.005708, allocations: 252.8 kB / 458.6 MB, free: 29.65 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.005728, allocations: 34.12 kB / 458.6 MB, free: 29.64 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.676e-05/0.005795, allocations: 58.95 kB / 458.7 MB, free: 29.61 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.006209, allocations: 382.4 kB / 459 MB, free: 29.5 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.00622, allocations: 3.984 kB / 459.1 MB, free: 29.5 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.006255, allocations: 22.62 kB / 459.1 MB, free: 29.48 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.006266, allocations: 11 kB / 459.1 MB, free: 29.48 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003482/0.006614, allocations: 262.5 kB / 459.3 MB, free: 29.45 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.006981, allocations: 378.2 kB / 459.7 MB, free: 29.16 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.008525, allocations: 0.9913 MB / 460.7 MB, free: 28.92 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.008783, allocations: 219 kB / 460.9 MB, free: 28.87 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.00892, allocations: 32.7 kB / 460.9 MB, free: 28.86 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.008942, allocations: 45.42 kB / 461 MB, free: 28.81 MB / 410.8 MB Notification: Performance of pre-optimization done (n=103): time 2.204e-06/0.008944, allocations: 3.938 kB / 461 MB, free: 28.81 MB / 410.8 MB Notification: Performance of matching and sorting (n=103): time 0.001022/0.009966, allocations: 0.8224 MB / 461.8 MB, free: 28.59 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.01, allocations: 64.16 kB / 461.9 MB, free: 28.53 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.885e-05/0.0101, allocations: 227.3 kB / 462.1 MB, free: 28.34 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.01013, allocations: 44.67 kB / 462.1 MB, free: 28.3 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.01017, allocations: 157.8 kB / 462.3 MB, free: 28.15 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.01036, allocations: 439.7 kB / 462.7 MB, free: 27.8 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.01052, allocations: 203.4 kB / 462.9 MB, free: 27.7 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.682e-05/0.01059, allocations: 0.5507 MB / 463.5 MB, free: 27.18 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.01088, allocations: 199 kB / 463.7 MB, free: 27.15 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/0.01116, allocations: 211.9 kB / 463.9 MB, free: 27.12 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006135/0.01177, allocations: 0.5281 MB / 464.4 MB, free: 26.94 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01177, allocations: 0 / 464.4 MB, free: 26.94 MB / 410.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0008104/0.01258, allocations: 0.7693 MB / 465.2 MB, free: 26.71 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.0126, allocations: 10.28 kB / 465.2 MB, free: 26.7 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.01261, allocations: 0 / 465.2 MB, free: 26.7 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.01262, allocations: 5.844 kB / 465.2 MB, free: 26.7 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005475/0.01317, allocations: 267.8 kB / 465.5 MB, free: 26.68 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.01318, allocations: 9.094 kB / 465.5 MB, free: 26.68 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.01335, allocations: 77.67 kB / 465.5 MB, free: 26.62 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.01339, allocations: 41.28 kB / 465.6 MB, free: 26.61 MB / 410.8 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 (144): * Single equations (assignments): 144 * 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.0001185/0.01351, allocations: 205.3 kB / 465.8 MB, free: 26.4 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.132e-05/0.01359, allocations: 78.58 kB / 465.9 MB, free: 26.37 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.01469, allocations: 0.9823 MB / 466.8 MB, free: 26.02 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.0147, allocations: 18.89 kB / 466.9 MB, free: 26.02 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.0147, allocations: 0 / 466.9 MB, free: 26.02 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.01471, allocations: 10.75 kB / 466.9 MB, free: 26.02 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004351/0.01515, allocations: 490.3 kB / 467.3 MB, free: 25.66 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.01515, allocations: 0 / 467.3 MB, free: 25.66 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008324/0.01598, allocations: 303.7 kB / 467.6 MB, free: 25.64 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.01599, allocations: 10.03 kB / 467.7 MB, free: 25.64 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.565e-05/0.01606, allocations: 41.08 kB / 467.7 MB, free: 25.62 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.01606, allocations: 5.25 kB / 467.7 MB, free: 25.62 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01606, allocations: 3.422 kB / 467.7 MB, free: 25.62 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.01733, allocations: 1.23 MB / 468.9 MB, free: 25.21 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.01752, allocations: 173.6 kB / 469.1 MB, free: 25.15 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.279e-05/0.0176, allocations: 40.3 kB / 469.1 MB, free: 25.13 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.01776, allocations: 25.06 kB / 469.2 MB, free: 25.11 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.959e-05/0.01786, allocations: 84.06 kB / 469.2 MB, free: 25.1 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.0179, allocations: 38.33 kB / 469.3 MB, free: 25.09 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.36e-05/0.01796, allocations: 168.9 kB / 469.5 MB, free: 24.96 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01796, allocations: 2.469 kB / 469.5 MB, free: 24.96 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003741/0.01833, allocations: 238.1 kB / 469.7 MB, free: 24.92 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (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],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]) * 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 (144): * Single equations (assignments): 144 * 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.0002214/0.01855, allocations: 156.5 kB / 469.8 MB, free: 24.79 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0007764/0.01933, allocations: 0.6827 MB / 470.5 MB, free: 24.67 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.01933, allocations: 0 / 470.5 MB, free: 24.67 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000412/0.01974, allocations: 453.6 kB / 471 MB, free: 24.57 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.02008, allocations: 110.7 kB / 471.1 MB, free: 24.52 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.02232, allocations: 2.018 MB / 473.1 MB, free: 23.3 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.02248, allocations: 189.2 kB / 473.3 MB, free: 23.23 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0005071/0.02299, allocations: 309.6 kB / 473.6 MB, free: 23.16 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.02321, allocations: 89.61 kB / 473.7 MB, free: 23.14 MB / 410.8 MB Notification: Performance of SimCode: time 1.323e-06/0.02321, allocations: 0 / 473.7 MB, free: 23.14 MB / 410.8 MB Notification: Performance of Templates: time 0.01322/0.03644, allocations: 9.928 MB / 483.6 MB, free: 22 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.263329590903595]