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.00136/0.00136, allocations: 84.39 kB / 21.19 MB, free: 3.371 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.00156/0.00156, allocations: 165 kB / 24.56 MB, free: 8 kB / 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.9762/0.9762, allocations: 177.1 MB / 205 MB, free: 5.238 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.6828/0.6828, allocations: 88.08 MB / 349.6 MB, free: 14.18 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 2.725e-06/2.725e-06, allocations: 0 / 453.3 MB, free: 32.35 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.547e-05, allocations: 7.922 kB / 453.3 MB, free: 32.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.00168/0.001706, allocations: 1.42 MB / 454.7 MB, free: 31.38 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007203/0.002426, allocations: 0.5396 MB / 455.2 MB, free: 31.04 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.132e-05/0.002477, allocations: 0 / 455.2 MB, free: 31.04 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.002615, allocations: 14.31 kB / 455.3 MB, free: 31.03 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003784/0.002993, allocations: 63.28 kB / 455.3 MB, free: 31 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001055/0.003099, allocations: 49.22 kB / 455.4 MB, free: 30.98 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003819/0.003481, allocations: 0.5502 MB / 455.9 MB, free: 30.82 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.044e-05/0.003541, allocations: 10 kB / 455.9 MB, free: 30.82 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003005/0.003842, allocations: 264.8 kB / 456.2 MB, free: 30.73 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003032/0.004145, allocations: 263.1 kB / 456.4 MB, free: 30.67 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 5.836e-05/0.004203, allocations: 35.31 kB / 456.5 MB, free: 30.66 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.004325, allocations: 51.28 kB / 456.5 MB, free: 30.66 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.004512, allocations: 255 kB / 456.8 MB, free: 30.57 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.004658, allocations: 186.4 kB / 457 MB, free: 30.5 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.005055, allocations: 486.2 kB / 457.4 MB, free: 30.38 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.005058, allocations: 2.469 kB / 457.4 MB, free: 30.38 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005059, allocations: 0 / 457.4 MB, free: 30.38 MB / 410.8 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.005066, allocations: 4 kB / 457.4 MB, free: 30.37 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.001016/0.006082, allocations: 0.8512 MB / 458.3 MB, free: 29.82 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.006123, allocations: 8.531 kB / 458.3 MB, free: 29.82 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.006242, allocations: 84.69 kB / 458.4 MB, free: 29.78 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.00652, allocations: 257.8 kB / 458.6 MB, free: 29.6 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.006542, allocations: 34.88 kB / 458.7 MB, free: 29.58 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.292e-05/0.006615, allocations: 60.59 kB / 458.7 MB, free: 29.55 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/0.007038, allocations: 381.5 kB / 459.1 MB, free: 29.45 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.00705, allocations: 0 / 459.1 MB, free: 29.45 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.007086, allocations: 25.7 kB / 459.1 MB, free: 29.43 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.007099, allocations: 8.562 kB / 459.1 MB, free: 29.43 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003524/0.007451, allocations: 264.3 kB / 459.4 MB, free: 29.39 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.007866, allocations: 381.9 kB / 459.8 MB, free: 29.11 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.009545, allocations: 0.9874 MB / 460.8 MB, free: 28.86 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/0.00982, allocations: 218.4 kB / 461 MB, free: 28.82 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.009988, allocations: 39.11 kB / 461 MB, free: 28.8 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.01002, allocations: 49.33 kB / 461.1 MB, free: 28.75 MB / 410.8 MB Notification: Performance of pre-optimization done (n=103): time 2.585e-06/0.01002, allocations: 0 / 461.1 MB, free: 28.75 MB / 410.8 MB Notification: Performance of matching and sorting (n=103): time 0.001065/0.01108, allocations: 0.8218 MB / 461.9 MB, free: 28.54 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.01112, allocations: 64.19 kB / 461.9 MB, free: 28.47 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.01122, allocations: 227.3 kB / 462.2 MB, free: 28.29 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.01126, allocations: 42.77 kB / 462.2 MB, free: 28.24 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.0113, allocations: 158.2 kB / 462.4 MB, free: 28.09 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/0.01151, allocations: 439.1 kB / 462.8 MB, free: 27.75 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.01169, allocations: 205.8 kB / 463 MB, free: 27.64 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.01179, allocations: 0.5497 MB / 463.5 MB, free: 27.12 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.01208, allocations: 199.4 kB / 463.7 MB, free: 27.09 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.01235, allocations: 212.2 kB / 463.9 MB, free: 27.06 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005832/0.01293, allocations: 0.5284 MB / 464.5 MB, free: 26.88 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.01294, allocations: 4 kB / 464.5 MB, free: 26.88 MB / 410.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0007872/0.01372, allocations: 0.7659 MB / 465.2 MB, free: 26.65 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.01374, allocations: 4.406 kB / 465.2 MB, free: 26.65 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.01375, allocations: 0 / 465.2 MB, free: 26.65 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.01376, allocations: 4.406 kB / 465.2 MB, free: 26.65 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/0.01429, allocations: 273.7 kB / 465.5 MB, free: 26.62 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.0143, allocations: 2.562 kB / 465.5 MB, free: 26.62 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.01445, allocations: 83.39 kB / 465.6 MB, free: 26.56 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.01449, allocations: 37.59 kB / 465.6 MB, free: 26.55 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.0001067/0.0146, allocations: 205 kB / 465.8 MB, free: 26.35 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.12e-05/0.01468, allocations: 86.14 kB / 465.9 MB, free: 26.31 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.01574, allocations: 0.9793 MB / 466.9 MB, free: 25.96 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.01575, allocations: 14.47 kB / 466.9 MB, free: 25.96 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.01576, allocations: 0 / 466.9 MB, free: 25.96 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.01577, allocations: 10.59 kB / 466.9 MB, free: 25.96 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.01618, allocations: 488.9 kB / 467.4 MB, free: 25.61 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.01619, allocations: 0 / 467.4 MB, free: 25.61 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007446/0.01693, allocations: 303.2 kB / 467.7 MB, free: 25.59 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.01694, allocations: 9.062 kB / 467.7 MB, free: 25.59 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.807e-05/0.01701, allocations: 41.75 kB / 467.7 MB, free: 25.57 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.01701, allocations: 8.469 kB / 467.8 MB, free: 25.57 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01702, allocations: 2.125 kB / 467.8 MB, free: 25.57 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.01824, allocations: 1.229 MB / 469 MB, free: 25.16 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000195/0.01843, allocations: 172.4 kB / 469.2 MB, free: 25.1 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/0.01849, allocations: 39.81 kB / 469.2 MB, free: 25.08 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.01864, allocations: 25.25 kB / 469.2 MB, free: 25.06 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.061e-05/0.01872, allocations: 88.8 kB / 469.3 MB, free: 25.05 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/0.01876, allocations: 43.3 kB / 469.3 MB, free: 25.04 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.059e-05/0.01881, allocations: 164 kB / 469.5 MB, free: 24.91 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01881, allocations: 0 / 469.5 MB, free: 24.91 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003076/0.01912, allocations: 234.4 kB / 469.7 MB, free: 24.87 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.0001811/0.0193, allocations: 162.1 kB / 469.9 MB, free: 24.74 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0007507/0.02005, allocations: 0.6838 MB / 470.6 MB, free: 24.62 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.02005, allocations: 3.938 kB / 470.6 MB, free: 24.61 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003981/0.02045, allocations: 449.4 kB / 471 MB, free: 24.52 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.02075, allocations: 111.2 kB / 471.1 MB, free: 24.46 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.02285, allocations: 2.013 MB / 473.1 MB, free: 23.25 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.02298, allocations: 186.8 kB / 473.3 MB, free: 23.17 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0004213/0.0234, allocations: 314.8 kB / 473.6 MB, free: 23.1 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.02362, allocations: 88.83 kB / 473.7 MB, free: 23.09 MB / 410.8 MB Notification: Performance of SimCode: time 8.32e-07/0.02362, allocations: 1.25 kB / 473.7 MB, free: 23.09 MB / 410.8 MB Notification: Performance of Templates: time 0.01277/0.03639, allocations: 9.933 MB / 483.7 MB, free: 21.94 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: 10.29580805497244]