Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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.001867/0.001867, 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.0013/0.0013, allocations: 164 kB / 25.61 MB, free: 8.477 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.8823/0.8823, allocations: 177.1 MB / 206.1 MB, free: 4.48 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.6891/0.6891, allocations: 88.08 MB / 350.7 MB, free: 11.81 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_10,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_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,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_10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 454.6 MB, free: 6.301 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.861e-05, allocations: 5.125 kB / 454.6 MB, free: 6.297 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002048/0.002076, allocations: 1.411 MB / 456 MB, free: 4.875 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007127/0.002789, allocations: 0.5417 MB / 456.5 MB, free: 4.332 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/0.002835, allocations: 0 / 456.5 MB, free: 4.332 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 8.15e-05/0.002917, allocations: 15.86 kB / 456.5 MB, free: 4.316 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.003193, allocations: 59.66 kB / 456.6 MB, free: 4.258 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.065e-05/0.003274, allocations: 47.81 kB / 456.7 MB, free: 4.211 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.003513, allocations: 315.3 kB / 457 MB, free: 3.902 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.879e-05/0.003552, allocations: 4.188 kB / 457 MB, free: 3.898 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.003761, allocations: 159.7 kB / 457.1 MB, free: 3.742 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.003966, allocations: 159.6 kB / 457.3 MB, free: 3.586 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.003996, allocations: 16 kB / 457.3 MB, free: 3.57 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.33e-05/0.004089, allocations: 39.97 kB / 457.3 MB, free: 3.531 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.00421, allocations: 123.7 kB / 457.5 MB, free: 3.41 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 8.21e-05/0.004292, allocations: 103.8 kB / 457.6 MB, free: 3.309 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.004532, allocations: 267.1 kB / 457.8 MB, free: 3.047 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.004536, allocations: 0 / 457.8 MB, free: 3.047 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.323e-06/0.004537, allocations: 0 / 457.8 MB, free: 3.047 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.004542, allocations: 0 / 457.8 MB, free: 3.047 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007353/0.005277, allocations: 0.6209 MB / 458.4 MB, free: 2.391 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.00531, allocations: 8.031 kB / 458.4 MB, free: 2.383 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.688e-05/0.005387, allocations: 44.8 kB / 458.5 MB, free: 2.34 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.005568, allocations: 192.7 kB / 458.7 MB, free: 2.125 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.005582, allocations: 16.44 kB / 458.7 MB, free: 2.109 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.005627, allocations: 27.95 kB / 458.7 MB, free: 2.082 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.005845, allocations: 188 kB / 458.9 MB, free: 1.891 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.005853, allocations: 0 / 458.9 MB, free: 1.891 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.005874, allocations: 8 kB / 458.9 MB, free: 1.883 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.005881, allocations: 8 kB / 458.9 MB, free: 1.875 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.006023, allocations: 103.4 kB / 459 MB, free: 1.77 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.006288, allocations: 231.5 kB / 459.2 MB, free: 1.52 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008313/0.00712, allocations: 481.6 kB / 459.7 MB, free: 1.039 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.007233, allocations: 97.12 kB / 459.8 MB, free: 0.9414 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.007339, allocations: 20.48 kB / 459.8 MB, free: 0.9219 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.007367, allocations: 41.89 kB / 459.9 MB, free: 0.8711 MB / 426.8 MB Notification: Performance of pre-optimization done (n=53): time 1.483e-06/0.007369, allocations: 4 kB / 459.9 MB, free: 0.8672 MB / 426.8 MB Notification: Performance of matching and sorting (n=53): time 0.0004884/0.007857, allocations: 390.6 kB / 460.3 MB, free: 488 kB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.007889, allocations: 59.91 kB / 460.3 MB, free: 416 kB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.708e-05/0.007977, allocations: 205 kB / 460.5 MB, free: 196 kB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.008009, allocations: 33.7 kB / 460.5 MB, free: 156 kB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/0.008055, allocations: 143.9 kB / 460.7 MB, free: 8 kB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.008195, allocations: 226.3 kB / 460.9 MB, free: 15.78 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.008301, allocations: 115.9 kB / 461 MB, free: 15.66 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.008431, allocations: 0.5232 MB / 461.5 MB, free: 15.12 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.008535, allocations: 77.25 kB / 461.6 MB, free: 15.05 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.008638, allocations: 85.83 kB / 461.7 MB, free: 14.96 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.008887, allocations: 240.1 kB / 461.9 MB, free: 14.73 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.00889, allocations: 0 / 461.9 MB, free: 14.73 MB / 442.8 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003849/0.009275, allocations: 373.1 kB / 462.3 MB, free: 14.36 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.009292, allocations: 4 kB / 462.3 MB, free: 14.35 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.009297, allocations: 3.938 kB / 462.3 MB, free: 14.35 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.009307, allocations: 4 kB / 462.3 MB, free: 14.34 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.009614, allocations: 135.9 kB / 462.4 MB, free: 14.21 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.009618, allocations: 7.922 kB / 462.5 MB, free: 14.2 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.405e-05/0.009712, allocations: 43.67 kB / 462.5 MB, free: 14.16 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.009735, allocations: 16 kB / 462.5 MB, free: 14.14 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 (74): * Single equations (assignments): 74 * 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.0001073/0.009842, allocations: 184.5 kB / 462.7 MB, free: 13.95 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.009892, allocations: 43.86 kB / 462.7 MB, free: 13.91 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005564/0.01045, allocations: 489.8 kB / 463.2 MB, free: 13.43 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.01045, allocations: 7.984 kB / 463.2 MB, free: 13.42 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.01046, allocations: 0 / 463.2 MB, free: 13.42 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.01046, allocations: 4 kB / 463.2 MB, free: 13.42 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.01072, allocations: 281.4 kB / 463.5 MB, free: 13.12 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01072, allocations: 0 / 463.5 MB, free: 13.12 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004177/0.01114, allocations: 159.8 kB / 463.7 MB, free: 12.96 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.01114, allocations: 4 kB / 463.7 MB, free: 12.96 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.01118, allocations: 23.98 kB / 463.7 MB, free: 12.93 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.01118, allocations: 12 kB / 463.7 MB, free: 12.92 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01118, allocations: 0 / 463.7 MB, free: 12.92 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000633/0.01182, allocations: 0.5954 MB / 464.3 MB, free: 12.31 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.01192, allocations: 75.59 kB / 464.4 MB, free: 12.23 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.01196, allocations: 23.98 kB / 464.4 MB, free: 12.21 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/0.01205, allocations: 8 kB / 464.4 MB, free: 12.2 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.0121, allocations: 52.5 kB / 464.4 MB, free: 12.15 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.01213, allocations: 15.98 kB / 464.5 MB, free: 12.14 MB / 442.8 MB Notification: Performance of sorting global known variables: time 5.863e-05/0.01218, allocations: 151.1 kB / 464.6 MB, free: 11.99 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01218, allocations: 4 kB / 464.6 MB, free: 11.98 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002683/0.01245, allocations: 131.9 kB / 464.7 MB, free: 11.86 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.0001509/0.0126, allocations: 119.2 kB / 464.9 MB, free: 11.73 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0003374/0.01294, allocations: 326.4 kB / 465.2 MB, free: 11.41 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01294, allocations: 0 / 465.2 MB, free: 11.41 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.01315, allocations: 204.6 kB / 465.4 MB, free: 11.2 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.01338, allocations: 63.77 kB / 465.4 MB, free: 11.14 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.01473, allocations: 1.091 MB / 466.5 MB, free: 10.01 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.618e-05/0.01479, allocations: 122.8 kB / 466.7 MB, free: 9.871 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.0001474/0.01494, allocations: 67.22 kB / 466.7 MB, free: 9.809 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.01516, allocations: 162.2 kB / 466.9 MB, free: 9.648 MB / 442.8 MB Notification: Performance of SimCode: time 1.122e-06/0.01516, allocations: 0 / 466.9 MB, free: 9.648 MB / 442.8 MB Notification: Performance of Templates: time 0.007867/0.02303, allocations: 6.002 MB / 472.9 MB, free: 3.727 MB / 442.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_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: 4.656855166889727]