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.001079/0.001079, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001681/0.001681, allocations: 163.9 kB / 25.61 MB, free: 8.879 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.9241/0.9241, allocations: 177.1 MB / 206.1 MB, free: 4.508 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.8298/0.8298, allocations: 88.09 MB / 350.7 MB, free: 11.85 MB / 330.8 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 2.505e-06/2.505e-06, allocations: 0 / 454.6 MB, free: 6.301 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.64e-05/3.89e-05, allocations: 2.312 kB / 454.6 MB, free: 6.297 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.00335/0.003389, allocations: 1.422 MB / 456 MB, free: 4.867 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.004582, allocations: 0.5417 MB / 456.5 MB, free: 4.324 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.339e-05/0.004666, allocations: 0 / 456.5 MB, free: 4.324 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.004792, allocations: 7.922 kB / 456.6 MB, free: 4.316 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004582/0.005251, allocations: 63.66 kB / 456.6 MB, free: 4.254 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.005408, allocations: 43.81 kB / 456.7 MB, free: 4.211 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.001047/0.006456, allocations: 1.03 MB / 457.7 MB, free: 3.18 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.665e-05/0.006542, allocations: 8.188 kB / 457.7 MB, free: 3.172 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.007817, allocations: 487.4 kB / 458.2 MB, free: 2.695 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000924/0.008741, allocations: 0.5107 MB / 458.7 MB, free: 2.184 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.008929, allocations: 56 kB / 458.7 MB, free: 2.129 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002505/0.00918, allocations: 87.95 kB / 458.8 MB, free: 2.043 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000483/0.009663, allocations: 475 kB / 459.3 MB, free: 1.578 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0004601/0.01012, allocations: 355.2 kB / 459.6 MB, free: 1.23 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.01126, allocations: 0.9227 MB / 460.6 MB, free: 312 kB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.01127, allocations: 0 / 460.6 MB, free: 312 kB / 426.8 MB Notification: Performance of FrontEnd: time 2.785e-06/0.01127, allocations: 0 / 460.6 MB, free: 312 kB / 426.8 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.01129, allocations: 0 / 460.6 MB, free: 312 kB / 426.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.002727/0.01402, allocations: 1.365 MB / 461.9 MB, free: 14.9 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/0.01408, allocations: 12.03 kB / 461.9 MB, free: 14.89 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003164/0.01439, allocations: 148.4 kB / 462.1 MB, free: 14.74 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005385/0.01493, allocations: 362.7 kB / 462.4 MB, free: 14.36 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.302e-05/0.01498, allocations: 62.38 kB / 462.5 MB, free: 14.3 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/0.01518, allocations: 113.5 kB / 462.6 MB, free: 14.19 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.01623, allocations: 0.6238 MB / 463.2 MB, free: 13.55 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.01625, allocations: 0 / 463.2 MB, free: 13.55 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.635e-05/0.01635, allocations: 36 kB / 463.3 MB, free: 13.52 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.01637, allocations: 23.94 kB / 463.3 MB, free: 13.5 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007971/0.01717, allocations: 433.5 kB / 463.7 MB, free: 13.07 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009714/0.01814, allocations: 0.5968 MB / 464.3 MB, free: 12.45 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004547/0.02269, allocations: 1.908 MB / 466.2 MB, free: 10.55 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006944/0.02338, allocations: 357.5 kB / 466.6 MB, free: 10.2 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002206/0.0236, allocations: 53.98 kB / 466.6 MB, free: 10.14 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.02365, allocations: 55.39 kB / 466.7 MB, free: 10.08 MB / 442.8 MB Notification: Performance of pre-optimization done (n=203): time 6.772e-06/0.02365, allocations: 3.984 kB / 466.7 MB, free: 10.07 MB / 442.8 MB Notification: Performance of matching and sorting (n=203): time 0.002611/0.02627, allocations: 1.399 MB / 468.1 MB, free: 8.672 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.02633, allocations: 77.41 kB / 468.2 MB, free: 8.586 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.02658, allocations: 276.2 kB / 468.4 MB, free: 8.297 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 9.671e-05/0.02667, allocations: 57.7 kB / 468.5 MB, free: 8.234 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.02678, allocations: 178 kB / 468.7 MB, free: 8.055 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007708/0.02755, allocations: 0.8406 MB / 469.5 MB, free: 7.207 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005694/0.02812, allocations: 394.1 kB / 469.9 MB, free: 6.812 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.0283, allocations: 0.5081 MB / 470.4 MB, free: 6.297 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006443/0.02894, allocations: 296.2 kB / 470.7 MB, free: 6.004 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000626/0.02957, allocations: 327.8 kB / 471 MB, free: 5.676 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.03108, allocations: 0.8631 MB / 471.9 MB, free: 4.781 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.03108, allocations: 0 / 471.9 MB, free: 4.781 MB / 442.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.001994/0.03308, allocations: 1.295 MB / 473.2 MB, free: 3.441 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.0331, allocations: 4 kB / 473.2 MB, free: 3.438 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.03311, allocations: 4 kB / 473.2 MB, free: 3.434 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.03313, allocations: 11.94 kB / 473.2 MB, free: 3.422 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.03432, allocations: 0.5267 MB / 473.7 MB, free: 2.895 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.03433, allocations: 8 kB / 473.7 MB, free: 2.887 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.03472, allocations: 158.7 kB / 473.9 MB, free: 2.73 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.258e-05/0.03481, allocations: 59.97 kB / 473.9 MB, free: 2.672 MB / 442.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.0003104/0.03512, allocations: 260.1 kB / 474.2 MB, free: 2.406 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.0353, allocations: 151.5 kB / 474.3 MB, free: 2.258 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.03733, allocations: 1.733 MB / 476.1 MB, free: 484 kB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/0.03735, allocations: 32 kB / 476.1 MB, free: 452 kB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.03736, allocations: 0 / 476.1 MB, free: 452 kB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/0.03737, allocations: 11.95 kB / 476.1 MB, free: 440 kB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009036/0.03828, allocations: 0.7995 MB / 476.9 MB, free: 15.6 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.03828, allocations: 0 / 476.9 MB, free: 15.6 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/0.03986, allocations: 0.5931 MB / 477.5 MB, free: 15.01 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-05/0.03989, allocations: 12 kB / 477.5 MB, free: 15 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/0.04004, allocations: 87.92 kB / 477.6 MB, free: 14.91 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.147e-05/0.04005, allocations: 12 kB / 477.6 MB, free: 14.9 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.04005, allocations: 0 / 477.6 MB, free: 14.9 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/0.04269, allocations: 2.133 MB / 479.7 MB, free: 12.68 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004296/0.04312, allocations: 294.3 kB / 480 MB, free: 12.39 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.04327, allocations: 71.95 kB / 480.1 MB, free: 12.32 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003332/0.04361, allocations: 48 kB / 480.1 MB, free: 12.28 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.04379, allocations: 169.9 kB / 480.3 MB, free: 12.11 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.434e-05/0.04387, allocations: 67.97 kB / 480.4 MB, free: 12.04 MB / 458.8 MB Notification: Performance of sorting global known variables: time 9.387e-05/0.04397, allocations: 185.1 kB / 480.6 MB, free: 11.86 MB / 458.8 MB Notification: Performance of sort global known variables: time 5e-08/0.04397, allocations: 0 / 480.6 MB, free: 11.86 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0006222/0.04459, allocations: 452 kB / 481 MB, free: 11.42 MB / 458.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.0003299/0.04492, allocations: 221.3 kB / 481.2 MB, free: 11.2 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.04629, allocations: 1.174 MB / 482.4 MB, free: 9.984 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.04629, allocations: 0 / 482.4 MB, free: 9.984 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000745/0.04703, allocations: 0.7783 MB / 483.2 MB, free: 9.195 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.04755, allocations: 204.3 kB / 483.4 MB, free: 8.996 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004248/0.0518, allocations: 3.824 MB / 487.2 MB, free: 5.113 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.05202, allocations: 313.3 kB / 487.5 MB, free: 4.781 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0005232/0.05254, allocations: 257.8 kB / 487.7 MB, free: 4.527 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006904/0.05323, allocations: 398.1 kB / 488.1 MB, free: 4.137 MB / 458.8 MB Notification: Performance of SimCode: time 1.553e-06/0.05323, allocations: 0 / 488.1 MB, free: 4.137 MB / 458.8 MB Notification: Performance of Templates: time 0.02361/0.07685, allocations: 21.39 MB / 0.4976 GB, free: 14.89 MB / 490.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 299] Reference file matches [Calling sys.exit(0), Time elapsed: 54.902128184214234]