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.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.00105/0.00105, allocations: 71.77 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.001092/0.001092, allocations: 165.7 kB / 24.99 MB, free: 8.316 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.9635/0.9635, allocations: 177.1 MB / 205.3 MB, free: 5.66 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.6197/0.6197, allocations: 88.08 MB / 349.9 MB, free: 14.25 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_40,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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.986e-06/2.986e-06, allocations: 0 / 453.2 MB, free: 32.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.408e-05, allocations: 6.312 kB / 453.2 MB, free: 32.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002983/0.003017, allocations: 1.416 MB / 454.7 MB, free: 31.43 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007208/0.003737, allocations: 0.5421 MB / 455.2 MB, free: 31.08 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.836e-05/0.003786, allocations: 0 / 455.2 MB, free: 31.08 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.204e-05/0.003868, allocations: 7.312 kB / 455.2 MB, free: 31.08 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.004173, allocations: 61.23 kB / 455.3 MB, free: 31.05 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.4e-05/0.004247, allocations: 44.38 kB / 455.3 MB, free: 31.03 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004849/0.004732, allocations: 1.029 MB / 456.3 MB, free: 30.75 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.989e-05/0.004782, allocations: 12.75 kB / 456.4 MB, free: 30.74 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003841/0.005166, allocations: 490.5 kB / 456.8 MB, free: 30.58 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003994/0.005565, allocations: 0.4951 MB / 457.3 MB, free: 30.45 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 7.725e-05/0.005643, allocations: 57.28 kB / 457.4 MB, free: 30.45 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.005786, allocations: 81.28 kB / 457.5 MB, free: 30.45 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.006042, allocations: 480.9 kB / 457.9 MB, free: 30.27 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.006269, allocations: 360.7 kB / 458.3 MB, free: 30.15 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005392/0.006808, allocations: 0.911 MB / 459.2 MB, free: 29.91 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.006814, allocations: 2.969 kB / 459.2 MB, free: 29.91 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.303e-06/0.006815, allocations: 0 / 459.2 MB, free: 29.91 MB / 410.8 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.006825, allocations: 0 / 459.2 MB, free: 29.91 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001621/0.008447, allocations: 1.45 MB / 460.6 MB, free: 29.15 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.008484, allocations: 8.531 kB / 460.7 MB, free: 29.15 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001971/0.008681, allocations: 155.7 kB / 460.8 MB, free: 29.08 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.009059, allocations: 398.8 kB / 461.2 MB, free: 28.85 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.009089, allocations: 58.47 kB / 461.3 MB, free: 28.83 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.00921, allocations: 119.8 kB / 461.4 MB, free: 28.77 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007599/0.00997, allocations: 0.7027 MB / 462.1 MB, free: 28.6 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.009985, allocations: 0 / 462.1 MB, free: 28.6 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.295e-05/0.01005, allocations: 29.88 kB / 462.1 MB, free: 28.58 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.01006, allocations: 19.28 kB / 462.1 MB, free: 28.58 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.01112, allocations: 0.5336 MB / 462.7 MB, free: 28.5 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007724/0.01189, allocations: 0.6287 MB / 463.3 MB, free: 28.07 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002918/0.01481, allocations: 2.024 MB / 465.3 MB, free: 27.54 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005238/0.01534, allocations: 427 kB / 465.7 MB, free: 27.46 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/0.01552, allocations: 45.77 kB / 465.8 MB, free: 27.45 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.01555, allocations: 67.27 kB / 465.8 MB, free: 27.39 MB / 410.8 MB Notification: Performance of pre-optimization done (n=203): time 4.238e-06/0.01556, allocations: 0 / 465.8 MB, free: 27.39 MB / 410.8 MB Notification: Performance of matching and sorting (n=203): time 0.001916/0.01747, allocations: 1.614 MB / 467.5 MB, free: 27 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.01751, allocations: 76.91 kB / 467.5 MB, free: 26.93 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.01765, allocations: 277.2 kB / 467.8 MB, free: 26.73 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.865e-05/0.01771, allocations: 59.67 kB / 467.9 MB, free: 26.68 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.01776, allocations: 176.1 kB / 468 MB, free: 26.51 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/0.01808, allocations: 0.8376 MB / 468.9 MB, free: 25.84 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003167/0.0184, allocations: 389.7 kB / 469.2 MB, free: 25.65 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.04e-05/0.01847, allocations: 0.4894 MB / 469.7 MB, free: 25.16 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005454/0.01902, allocations: 395 kB / 470.1 MB, free: 25.11 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005115/0.01953, allocations: 416.7 kB / 470.5 MB, free: 25.04 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.02065, allocations: 1.023 MB / 471.6 MB, free: 24.67 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.02065, allocations: 0 / 471.6 MB, free: 24.67 MB / 410.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.001891/0.02254, allocations: 1.47 MB / 473 MB, free: 24.22 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.02257, allocations: 7.875 kB / 473 MB, free: 24.22 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.619e-06/0.02258, allocations: 0 / 473 MB, free: 24.22 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.0226, allocations: 14.14 kB / 473 MB, free: 24.21 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.02385, allocations: 0.5535 MB / 473.6 MB, free: 24.16 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.599e-05/0.02389, allocations: 8.812 kB / 473.6 MB, free: 24.16 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004382/0.02433, allocations: 178.7 kB / 473.8 MB, free: 24.03 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.426e-05/0.02442, allocations: 79.83 kB / 473.9 MB, free: 24.01 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 (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.0002542/0.02468, allocations: 260 kB / 474.1 MB, free: 23.77 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.02486, allocations: 157.5 kB / 474.3 MB, free: 23.69 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/0.02715, allocations: 1.905 MB / 476.2 MB, free: 23.01 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.493e-05/0.02717, allocations: 26.59 kB / 476.2 MB, free: 23.01 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.02718, allocations: 1.344 kB / 476.2 MB, free: 23.01 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.0272, allocations: 13.5 kB / 476.2 MB, free: 23.01 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008518/0.02805, allocations: 0.8395 MB / 477.1 MB, free: 22.44 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.02805, allocations: 1 kB / 477.1 MB, free: 22.44 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/0.02973, allocations: 0.6136 MB / 477.7 MB, free: 22.39 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.491e-05/0.02975, allocations: 9.625 kB / 477.7 MB, free: 22.39 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/0.0299, allocations: 93.64 kB / 477.8 MB, free: 22.35 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/0.02991, allocations: 9.25 kB / 477.8 MB, free: 22.35 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.02991, allocations: 1.125 kB / 477.8 MB, free: 22.35 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/0.03279, allocations: 2.37 MB / 480.1 MB, free: 21.59 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004475/0.03324, allocations: 329.8 kB / 480.5 MB, free: 21.46 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.0334, allocations: 74.75 kB / 480.5 MB, free: 21.43 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000443/0.03385, allocations: 77.33 kB / 480.6 MB, free: 21.38 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003236/0.03417, allocations: 170.9 kB / 480.8 MB, free: 21.36 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001708/0.03434, allocations: 85.19 kB / 480.9 MB, free: 21.34 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001148/0.03445, allocations: 192 kB / 481.1 MB, free: 21.21 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.03446, allocations: 4 kB / 481.1 MB, free: 21.2 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0008532/0.03531, allocations: 453.8 kB / 481.5 MB, free: 21.13 MB / 410.8 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.0002825/0.03559, allocations: 218.9 kB / 481.7 MB, free: 20.97 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.002019/0.03761, allocations: 1.347 MB / 483.1 MB, free: 20.71 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.03761, allocations: 0 / 483.1 MB, free: 20.71 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009556/0.03857, allocations: 0.8563 MB / 483.9 MB, free: 20.53 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000522/0.03909, allocations: 200.1 kB / 484.1 MB, free: 20.42 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004607/0.0437, allocations: 3.878 MB / 488 MB, free: 17.43 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.04387, allocations: 307.7 kB / 488.3 MB, free: 17.18 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0009372/0.04481, allocations: 0.6091 MB / 488.9 MB, free: 16.76 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003663/0.04518, allocations: 172.4 kB / 489.1 MB, free: 16.61 MB / 410.8 MB Notification: Performance of SimCode: time 2.205e-06/0.04518, allocations: 4 kB / 489.1 MB, free: 16.6 MB / 410.8 MB Notification: Performance of Templates: time 0.01933/0.0645, allocations: 19.12 MB / 0.4963 GB, free: 24 kB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 26.671380631858483]