Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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.001218/0.001218, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.001014/0.001014, allocations: 170.4 kB / 25.61 MB, free: 8.914 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.8974/0.8974, allocations: 177.1 MB / 206 MB, free: 4.5 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.6615/0.6615, 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_20,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_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,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_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 454.6 MB, free: 6.328 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.207e-05, allocations: 9.344 kB / 454.6 MB, free: 6.32 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001692/0.001714, allocations: 1.415 MB / 456 MB, free: 4.895 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007781/0.002492, allocations: 0.5379 MB / 456.5 MB, free: 4.355 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.62e-05/0.002538, allocations: 3.938 kB / 456.5 MB, free: 4.352 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.002751, allocations: 11.92 kB / 456.6 MB, free: 4.34 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.002999, allocations: 59.66 kB / 456.6 MB, free: 4.281 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.321e-05/0.003072, allocations: 43.81 kB / 456.7 MB, free: 4.238 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.003407, allocations: 0.5576 MB / 457.2 MB, free: 3.68 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.651e-05/0.003443, allocations: 4.188 kB / 457.2 MB, free: 3.676 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.003696, allocations: 263.6 kB / 457.5 MB, free: 3.418 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.00397, allocations: 279.5 kB / 457.7 MB, free: 3.145 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.004016, allocations: 28 kB / 457.8 MB, free: 3.117 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.004119, allocations: 55.97 kB / 457.8 MB, free: 3.062 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.004294, allocations: 251.8 kB / 458.1 MB, free: 2.816 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.004419, allocations: 183.6 kB / 458.3 MB, free: 2.637 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.004778, allocations: 498.3 kB / 458.7 MB, free: 2.148 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.00478, allocations: 0 / 458.7 MB, free: 2.148 MB / 426.8 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004781, allocations: 0 / 458.7 MB, free: 2.148 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.004787, allocations: 0 / 458.7 MB, free: 2.148 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0009533/0.00574, allocations: 0.8625 MB / 459.6 MB, free: 1.25 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.005772, allocations: 8.031 kB / 459.6 MB, free: 1.242 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.005877, allocations: 80.64 kB / 459.7 MB, free: 1.164 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.006099, allocations: 239.9 kB / 459.9 MB, free: 0.9023 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.006118, allocations: 33.31 kB / 460 MB, free: 0.8711 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.767e-05/0.006186, allocations: 63.83 kB / 460 MB, free: 0.8086 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006029/0.006789, allocations: 334.2 kB / 460.3 MB, free: 488 kB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.0068, allocations: 0 / 460.3 MB, free: 488 kB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.006835, allocations: 20 kB / 460.4 MB, free: 468 kB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.006842, allocations: 8 kB / 460.4 MB, free: 460 kB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/0.007109, allocations: 218.8 kB / 460.6 MB, free: 240 kB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.007484, allocations: 352.5 kB / 460.9 MB, free: 15.86 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.008831, allocations: 0.925 MB / 461.9 MB, free: 14.92 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.009029, allocations: 186.6 kB / 462 MB, free: 14.73 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.009133, allocations: 28.98 kB / 462.1 MB, free: 14.7 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.009157, allocations: 50.31 kB / 462.1 MB, free: 14.64 MB / 442.8 MB Notification: Performance of pre-optimization done (n=103): time 2.234e-06/0.009159, allocations: 4 kB / 462.1 MB, free: 14.64 MB / 442.8 MB Notification: Performance of matching and sorting (n=103): time 0.0008087/0.009968, allocations: 0.7139 MB / 462.8 MB, free: 13.93 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.009998, allocations: 64.41 kB / 462.9 MB, free: 13.85 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.416e-05/0.01009, allocations: 218.4 kB / 463.1 MB, free: 13.62 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.01013, allocations: 41.7 kB / 463.1 MB, free: 13.57 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.01018, allocations: 160.8 kB / 463.3 MB, free: 13.41 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/0.01039, allocations: 444.3 kB / 463.7 MB, free: 12.98 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.01056, allocations: 212.5 kB / 463.9 MB, free: 12.76 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.01069, allocations: 0.5507 MB / 464.5 MB, free: 12.2 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.01087, allocations: 154.5 kB / 464.6 MB, free: 12.05 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.01105, allocations: 163.7 kB / 464.8 MB, free: 11.89 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/0.01148, allocations: 460.5 kB / 465.3 MB, free: 11.43 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01149, allocations: 4 kB / 465.3 MB, free: 11.43 MB / 442.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0006434/0.01213, allocations: 0.6686 MB / 465.9 MB, free: 10.75 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.01215, allocations: 11.94 kB / 465.9 MB, free: 10.74 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.01215, allocations: 0 / 465.9 MB, free: 10.74 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.01216, allocations: 8 kB / 465.9 MB, free: 10.73 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005219/0.01268, allocations: 271.6 kB / 466.2 MB, free: 10.47 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.01269, allocations: 4 kB / 466.2 MB, free: 10.46 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.01285, allocations: 83.36 kB / 466.3 MB, free: 10.38 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.01289, allocations: 31.92 kB / 466.3 MB, free: 10.35 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 (144): * Single equations (assignments): 144 * 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.0001308/0.01302, allocations: 208.4 kB / 466.5 MB, free: 10.14 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-05/0.01311, allocations: 91.58 kB / 466.6 MB, free: 10.05 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.01431, allocations: 0.8848 MB / 467.5 MB, free: 9.156 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.01432, allocations: 16 kB / 467.5 MB, free: 9.141 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.01432, allocations: 0 / 467.5 MB, free: 9.141 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.01433, allocations: 7.969 kB / 467.5 MB, free: 9.133 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.01473, allocations: 456.7 kB / 468 MB, free: 8.664 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.01474, allocations: 8 kB / 468 MB, free: 8.656 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000737/0.01547, allocations: 307.6 kB / 468.3 MB, free: 8.355 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.01548, allocations: 4 kB / 468.3 MB, free: 8.352 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/0.01553, allocations: 43.97 kB / 468.3 MB, free: 8.309 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.01554, allocations: 7.938 kB / 468.3 MB, free: 8.301 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01554, allocations: 0 / 468.3 MB, free: 8.301 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.01657, allocations: 1.109 MB / 469.4 MB, free: 7.164 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.01673, allocations: 147.1 kB / 469.6 MB, free: 7.02 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.665e-05/0.0168, allocations: 35.98 kB / 469.6 MB, free: 6.984 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.01695, allocations: 23.94 kB / 469.7 MB, free: 6.961 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.557e-05/0.01704, allocations: 93.14 kB / 469.7 MB, free: 6.871 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/0.01707, allocations: 27.98 kB / 469.8 MB, free: 6.844 MB / 442.8 MB Notification: Performance of sorting global known variables: time 5.466e-05/0.01713, allocations: 172.2 kB / 469.9 MB, free: 6.676 MB / 442.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01713, allocations: 0 / 469.9 MB, free: 6.676 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0003163/0.01744, allocations: 232 kB / 470.2 MB, free: 6.449 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (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],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]) * 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 (144): * Single equations (assignments): 144 * 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.0001597/0.0176, allocations: 162.9 kB / 470.3 MB, free: 6.281 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0005741/0.01818, allocations: 0.6028 MB / 470.9 MB, free: 5.676 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01818, allocations: 0 / 470.9 MB, free: 5.676 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003255/0.0185, allocations: 409.5 kB / 471.3 MB, free: 5.273 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.01879, allocations: 107.7 kB / 471.4 MB, free: 5.168 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.02074, allocations: 1.989 MB / 473.4 MB, free: 3.133 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.959e-05/0.02084, allocations: 184.9 kB / 473.6 MB, free: 2.93 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.0002491/0.02109, allocations: 133.1 kB / 473.7 MB, free: 2.801 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003461/0.02144, allocations: 238.1 kB / 474 MB, free: 2.566 MB / 442.8 MB Notification: Performance of SimCode: time 9.12e-07/0.02144, allocations: 3.938 kB / 474 MB, free: 2.562 MB / 442.8 MB Notification: Performance of Templates: time 0.01202/0.03346, allocations: 11.1 MB / 485.1 MB, free: 7.562 MB / 458.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_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: 7.564900612924248]