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.001038/0.001038, allocations: 88.2 kB / 20.91 MB, free: 3.664 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.001021/0.001021, allocations: 172.9 kB / 24.21 MB, free: 372 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.9764/0.9764, allocations: 177.1 MB / 204.6 MB, free: 5.672 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.6978/0.6978, allocations: 88.08 MB / 349.1 MB, free: 14.34 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_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.[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_40") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 0 / 452.4 MB, free: 32.65 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.308e-05/5.625e-05, allocations: 4.391 kB / 452.4 MB, free: 32.64 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.003129/0.003185, allocations: 1.423 MB / 453.8 MB, free: 31.68 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.004283, allocations: 0.5427 MB / 454.4 MB, free: 31.33 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.037e-05/0.004353, allocations: 0 / 454.4 MB, free: 31.33 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.004479, allocations: 9.984 kB / 454.4 MB, free: 31.33 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004509/0.00493, allocations: 62 kB / 454.4 MB, free: 31.3 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.005073, allocations: 46.5 kB / 454.5 MB, free: 31.27 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0008853/0.005959, allocations: 1.029 MB / 455.5 MB, free: 30.99 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.246e-05/0.006031, allocations: 12.81 kB / 455.5 MB, free: 30.99 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006811/0.006712, allocations: 485.5 kB / 456 MB, free: 30.84 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007245/0.007437, allocations: 0.4902 MB / 456.5 MB, free: 30.71 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.007558, allocations: 57.22 kB / 456.6 MB, free: 30.71 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002493/0.007807, allocations: 87.59 kB / 456.6 MB, free: 30.7 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0004928/0.0083, allocations: 483.4 kB / 457.1 MB, free: 30.52 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0004307/0.00873, allocations: 355 kB / 457.5 MB, free: 30.41 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0009764/0.009707, allocations: 0.9146 MB / 458.4 MB, free: 30.16 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.009713, allocations: 0 / 458.4 MB, free: 30.16 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.154e-06/0.009715, allocations: 0 / 458.4 MB, free: 30.16 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.00973, allocations: 0 / 458.4 MB, free: 30.16 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.00279/0.01252, allocations: 1.447 MB / 459.8 MB, free: 29.41 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.01258, allocations: 12.75 kB / 459.8 MB, free: 29.4 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003637/0.01294, allocations: 158.1 kB / 460 MB, free: 29.33 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007303/0.01367, allocations: 403.1 kB / 460.4 MB, free: 29.1 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.404e-05/0.01372, allocations: 58.12 kB / 460.4 MB, free: 29.07 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002227/0.01395, allocations: 119.7 kB / 460.6 MB, free: 29.02 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.01527, allocations: 0.7032 MB / 461.3 MB, free: 28.85 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.01529, allocations: 0 / 461.3 MB, free: 28.85 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.0154, allocations: 29.62 kB / 461.3 MB, free: 28.82 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.01542, allocations: 23.12 kB / 461.3 MB, free: 28.82 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.01656, allocations: 0.5284 MB / 461.8 MB, free: 28.75 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.01773, allocations: 0.6258 MB / 462.5 MB, free: 28.32 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004759/0.02249, allocations: 2.024 MB / 464.5 MB, free: 27.79 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/0.02356, allocations: 431.4 kB / 464.9 MB, free: 27.71 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002942/0.02385, allocations: 48.25 kB / 465 MB, free: 27.7 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.89e-05/0.02391, allocations: 63.2 kB / 465 MB, free: 27.64 MB / 410.8 MB Notification: Performance of pre-optimization done (n=203): time 6.032e-06/0.02392, allocations: 0 / 465 MB, free: 27.64 MB / 410.8 MB Notification: Performance of matching and sorting (n=203): time 0.00335/0.02727, allocations: 1.614 MB / 466.6 MB, free: 27.25 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.02734, allocations: 70.62 kB / 466.7 MB, free: 27.19 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.02763, allocations: 279.8 kB / 467 MB, free: 26.99 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.382e-05/0.02772, allocations: 58.98 kB / 467 MB, free: 26.93 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.28e-05/0.0278, allocations: 176.7 kB / 467.2 MB, free: 26.77 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006799/0.02848, allocations: 0.8326 MB / 468 MB, free: 26.09 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005264/0.02901, allocations: 390.1 kB / 468.4 MB, free: 25.91 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.02912, allocations: 0.494 MB / 468.9 MB, free: 25.42 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008823/0.03, allocations: 391.5 kB / 469.3 MB, free: 25.36 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008623/0.03086, allocations: 417.7 kB / 469.7 MB, free: 25.29 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/0.03268, allocations: 1.017 MB / 470.7 MB, free: 24.93 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.03269, allocations: 0 / 470.7 MB, free: 24.93 MB / 410.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002871/0.03556, allocations: 1.477 MB / 472.2 MB, free: 24.48 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.03559, allocations: 4.625 kB / 472.2 MB, free: 24.48 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.03561, allocations: 0.9062 kB / 472.2 MB, free: 24.48 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.548e-05/0.03564, allocations: 8.812 kB / 472.2 MB, free: 24.48 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/0.03761, allocations: 0.5497 MB / 472.8 MB, free: 24.42 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.482e-05/0.03764, allocations: 8.844 kB / 472.8 MB, free: 24.42 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007783/0.03842, allocations: 194 kB / 473 MB, free: 24.28 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/0.03858, allocations: 79.66 kB / 473 MB, free: 24.26 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.0004455/0.03902, allocations: 256.6 kB / 473.3 MB, free: 24.02 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/0.03934, allocations: 157.5 kB / 473.4 MB, free: 23.94 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003499/0.04284, allocations: 1.905 MB / 475.3 MB, free: 23.26 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.619e-05/0.04288, allocations: 30.98 kB / 475.4 MB, free: 23.26 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.04289, allocations: 1.062 kB / 475.4 MB, free: 23.26 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/0.04291, allocations: 13.31 kB / 475.4 MB, free: 23.26 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.04426, allocations: 0.84 MB / 476.2 MB, free: 22.69 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.04427, allocations: 0 / 476.2 MB, free: 22.69 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002702/0.04697, allocations: 0.612 MB / 476.8 MB, free: 22.64 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.192e-05/0.04702, allocations: 8.781 kB / 476.8 MB, free: 22.64 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002663/0.04728, allocations: 94.36 kB / 476.9 MB, free: 22.6 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.042e-05/0.0473, allocations: 9.969 kB / 476.9 MB, free: 22.6 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.0473, allocations: 0 / 476.9 MB, free: 22.6 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004579/0.05188, allocations: 2.372 MB / 479.3 MB, free: 21.83 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008187/0.0527, allocations: 328.5 kB / 479.6 MB, free: 21.71 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/0.05292, allocations: 74.61 kB / 479.7 MB, free: 21.68 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006214/0.05354, allocations: 74.3 kB / 479.8 MB, free: 21.64 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002895/0.05383, allocations: 169.3 kB / 480 MB, free: 21.62 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/0.054, allocations: 85.12 kB / 480 MB, free: 21.59 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001607/0.05416, allocations: 195 kB / 480.2 MB, free: 21.46 MB / 410.8 MB Notification: Performance of sort global known variables: time 1e-07/0.05416, allocations: 0 / 480.2 MB, free: 21.46 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.001326/0.05548, allocations: 446.3 kB / 480.7 MB, free: 21.39 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.0005063/0.05599, allocations: 231.7 kB / 480.9 MB, free: 21.22 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.00347/0.05946, allocations: 1.341 MB / 482.2 MB, free: 20.96 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.05946, allocations: 1.25 kB / 482.2 MB, free: 20.96 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001758/0.06122, allocations: 0.8593 MB / 483.1 MB, free: 20.78 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009904/0.06221, allocations: 206.4 kB / 483.3 MB, free: 20.66 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006354/0.06857, allocations: 3.863 MB / 487.2 MB, free: 17.67 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.06882, allocations: 313.3 kB / 487.5 MB, free: 17.41 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.001674/0.07049, allocations: 0.6156 MB / 488.1 MB, free: 16.99 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007924/0.07128, allocations: 173 kB / 488.2 MB, free: 16.84 MB / 410.8 MB Notification: Performance of SimCode: time 2.585e-06/0.07129, allocations: 0 / 488.2 MB, free: 16.84 MB / 410.8 MB Notification: Performance of Templates: time 0.01973/0.09101, allocations: 19.13 MB / 0.4955 GB, free: 288 kB / 410.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 46.027941048145294]