Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.002272/0.002272, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003128/0.003128, allocations: 165.6 kB / 24.27 MB, free: 156 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 1.594/1.594, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] 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.9569/0.9569, allocations: 88.08 MB / 349.1 MB, free: 14.27 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.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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 452.5 MB, free: 32.09 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.345e-05/3.577e-05, allocations: 6.797 kB / 452.5 MB, free: 32.08 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002406/0.002442, allocations: 1.402 MB / 453.9 MB, free: 31.11 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008801/0.003322, allocations: 0.5397 MB / 454.5 MB, free: 30.77 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.513e-05/0.003377, allocations: 0 / 454.5 MB, free: 30.77 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.003477, allocations: 7.031 kB / 454.5 MB, free: 30.77 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.003822, allocations: 64.73 kB / 454.5 MB, free: 30.73 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.00394, allocations: 44.77 kB / 454.6 MB, free: 30.71 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007598/0.0047, allocations: 1.024 MB / 455.6 MB, free: 30.43 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.348e-05/0.004753, allocations: 14.78 kB / 455.6 MB, free: 30.43 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005191/0.005272, allocations: 490.9 kB / 456.1 MB, free: 30.27 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005861/0.005858, allocations: 0.4953 MB / 456.6 MB, free: 30.14 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.005996, allocations: 57.91 kB / 456.6 MB, free: 30.14 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000259/0.006255, allocations: 82.73 kB / 456.7 MB, free: 30.14 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003664/0.006621, allocations: 478.2 kB / 457.2 MB, free: 29.96 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003643/0.006986, allocations: 365.3 kB / 457.5 MB, free: 29.84 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0007473/0.007733, allocations: 0.9084 MB / 458.4 MB, free: 29.59 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.007739, allocations: 0 / 458.4 MB, free: 29.59 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.403e-06/0.007741, allocations: 0 / 458.4 MB, free: 29.59 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.007754, allocations: 0 / 458.4 MB, free: 29.59 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.002989/0.01074, allocations: 1.45 MB / 459.9 MB, free: 28.84 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.01078, allocations: 8.781 kB / 459.9 MB, free: 28.84 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002949/0.01108, allocations: 160.2 kB / 460.1 MB, free: 28.77 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007768/0.01186, allocations: 398.2 kB / 460.5 MB, free: 28.54 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.235e-05/0.0119, allocations: 59.53 kB / 460.5 MB, free: 28.51 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.01208, allocations: 120.2 kB / 460.6 MB, free: 28.46 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.01325, allocations: 0.7257 MB / 461.4 MB, free: 28.28 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.01327, allocations: 0 / 461.4 MB, free: 28.28 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.213e-05/0.01336, allocations: 36.66 kB / 461.4 MB, free: 28.25 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.01338, allocations: 17.69 kB / 461.4 MB, free: 28.25 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.01463, allocations: 0.7987 MB / 462.2 MB, free: 28.17 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009547/0.01559, allocations: 0.636 MB / 462.8 MB, free: 27.74 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005293/0.02088, allocations: 1.988 MB / 464.8 MB, free: 27.21 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008305/0.02171, allocations: 462.5 kB / 465.3 MB, free: 27.11 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002539/0.02197, allocations: 46.53 kB / 465.3 MB, free: 27.1 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.022, allocations: 62.77 kB / 465.4 MB, free: 27.04 MB / 410.8 MB Notification: Performance of pre-optimization done (n=203): time 4.618e-06/0.022, allocations: 0 / 465.4 MB, free: 27.04 MB / 410.8 MB Notification: Performance of matching and sorting (n=203): time 0.003101/0.0251, allocations: 1.687 MB / 467.1 MB, free: 26.64 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.02515, allocations: 73.97 kB / 467.1 MB, free: 26.57 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.02535, allocations: 282.4 kB / 467.4 MB, free: 26.37 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.629e-05/0.02543, allocations: 57.36 kB / 467.5 MB, free: 26.32 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.02549, allocations: 175 kB / 467.7 MB, free: 26.15 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004738/0.02597, allocations: 0.8503 MB / 468.5 MB, free: 25.47 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005199/0.02649, allocations: 399.9 kB / 468.9 MB, free: 25.28 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.0266, allocations: 0.4964 MB / 469.4 MB, free: 24.79 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008783/0.02747, allocations: 413.7 kB / 469.8 MB, free: 24.73 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009282/0.0284, allocations: 448.5 kB / 470.2 MB, free: 24.65 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/0.03052, allocations: 1.117 MB / 471.3 MB, free: 24.27 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.03053, allocations: 0 / 471.3 MB, free: 24.27 MB / 410.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003223/0.03376, allocations: 1.523 MB / 472.9 MB, free: 23.81 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.03379, allocations: 5.031 kB / 472.9 MB, free: 23.81 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.0338, allocations: 4 kB / 472.9 MB, free: 23.81 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.625e-05/0.03383, allocations: 10.09 kB / 472.9 MB, free: 23.81 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/0.03604, allocations: 0.551 MB / 473.4 MB, free: 23.75 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.41e-05/0.03608, allocations: 8.844 kB / 473.4 MB, free: 23.75 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008738/0.03695, allocations: 181.9 kB / 473.6 MB, free: 23.62 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/0.0371, allocations: 79.67 kB / 473.7 MB, free: 23.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 (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.0003731/0.03747, allocations: 264.5 kB / 474 MB, free: 23.35 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003065/0.03778, allocations: 154.1 kB / 474.1 MB, free: 23.28 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003878/0.04166, allocations: 1.997 MB / 476.1 MB, free: 22.57 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.115e-05/0.0417, allocations: 30.78 kB / 476.1 MB, free: 22.57 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.04171, allocations: 1.062 kB / 476.1 MB, free: 22.57 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-05/0.04173, allocations: 13.41 kB / 476.2 MB, free: 22.57 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.04301, allocations: 0.8561 MB / 477 MB, free: 22 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.04302, allocations: 1.594 kB / 477 MB, free: 22 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002928/0.04595, allocations: 0.6045 MB / 477.6 MB, free: 21.95 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.461e-05/0.04598, allocations: 20.48 kB / 477.6 MB, free: 21.94 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002014/0.04618, allocations: 91.36 kB / 477.7 MB, free: 21.9 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.506e-05/0.0462, allocations: 9.375 kB / 477.7 MB, free: 21.9 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.0462, allocations: 1.062 kB / 477.7 MB, free: 21.9 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00462/0.05082, allocations: 2.564 MB / 480.3 MB, free: 21.07 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009376/0.05176, allocations: 326 kB / 480.6 MB, free: 20.95 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/0.05197, allocations: 77.84 kB / 480.7 MB, free: 20.91 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007723/0.05274, allocations: 74.12 kB / 480.8 MB, free: 20.87 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002988/0.05304, allocations: 170.8 kB / 480.9 MB, free: 20.85 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/0.05319, allocations: 80.84 kB / 481 MB, free: 20.83 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001384/0.05332, allocations: 194.9 kB / 481.2 MB, free: 20.7 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.05332, allocations: 0 / 481.2 MB, free: 20.7 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.001074/0.0544, allocations: 454.7 kB / 481.6 MB, free: 20.62 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.0003957/0.05479, allocations: 219.5 kB / 481.9 MB, free: 20.46 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.002781/0.05758, allocations: 1.425 MB / 483.3 MB, free: 20.17 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.05758, allocations: 0 / 483.3 MB, free: 20.17 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.05888, allocations: 0.9085 MB / 484.2 MB, free: 19.88 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007208/0.0596, allocations: 203.2 kB / 484.4 MB, free: 19.7 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004642/0.06425, allocations: 3.896 MB / 488.3 MB, free: 16.08 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.06463, allocations: 0.5164 MB / 488.8 MB, free: 15.68 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.001331/0.06596, allocations: 0.6092 MB / 489.4 MB, free: 15.26 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005282/0.06649, allocations: 169.8 kB / 489.6 MB, free: 15.11 MB / 410.8 MB Notification: Performance of SimCode: time 2.124e-06/0.06649, allocations: 3.938 kB / 489.6 MB, free: 15.11 MB / 410.8 MB Notification: Performance of Templates: time 0.02906/0.09555, allocations: 19.13 MB / 0.4968 GB, free: 14.62 MB / 426.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 83.11974454997107]