Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.001428/0.001428, allocations: 76.41 kB / 21.42 MB, free: 3.07 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.001782/0.001782, allocations: 169.7 kB / 24.82 MB, free: 9.266 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.9791/0.9791, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.6561/0.6561, allocations: 88.08 MB / 349.9 MB, free: 14.12 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_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_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 3.328 kB / 453.8 MB, free: 32.1 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.793e-05, allocations: 5.484 kB / 453.8 MB, free: 32.09 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002463/0.002491, allocations: 1.421 MB / 455.2 MB, free: 31.12 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009374/0.003429, allocations: 0.5301 MB / 455.7 MB, free: 30.79 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.781e-05/0.003487, allocations: 2.844 kB / 455.7 MB, free: 30.79 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.423e-05/0.003581, allocations: 7.078 kB / 455.7 MB, free: 30.79 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.003928, allocations: 57.98 kB / 455.8 MB, free: 30.76 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000106/0.004034, allocations: 48.2 kB / 455.8 MB, free: 30.73 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.004323, allocations: 322.4 kB / 456.2 MB, free: 30.64 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.004364, allocations: 10.7 kB / 456.2 MB, free: 30.63 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002524/0.004616, allocations: 162 kB / 456.3 MB, free: 30.58 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.004869, allocations: 156.5 kB / 456.5 MB, free: 30.54 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.004916, allocations: 13.72 kB / 456.5 MB, free: 30.54 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.005037, allocations: 42.58 kB / 456.5 MB, free: 30.53 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.005178, allocations: 132.9 kB / 456.7 MB, free: 30.48 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 9.707e-05/0.005275, allocations: 94.78 kB / 456.8 MB, free: 30.45 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.005564, allocations: 268.8 kB / 457 MB, free: 30.38 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.005566, allocations: 0 / 457 MB, free: 30.38 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.21e-07/0.005567, allocations: 0 / 457 MB, free: 30.38 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5e-06/0.005572, allocations: 0 / 457 MB, free: 30.38 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007662/0.006338, allocations: 0.6176 MB / 457.6 MB, free: 29.91 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.006384, allocations: 15.5 kB / 457.6 MB, free: 29.9 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.016e-05/0.006474, allocations: 47.64 kB / 457.7 MB, free: 29.88 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.006663, allocations: 179.6 kB / 457.9 MB, free: 29.72 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.006682, allocations: 21 kB / 457.9 MB, free: 29.71 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.697e-05/0.006739, allocations: 29.78 kB / 457.9 MB, free: 29.7 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.007018, allocations: 183.7 kB / 458.1 MB, free: 29.64 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.007029, allocations: 0 / 458.1 MB, free: 29.64 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.007056, allocations: 10.94 kB / 458.1 MB, free: 29.63 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.007066, allocations: 5.812 kB / 458.1 MB, free: 29.63 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.007277, allocations: 114.8 kB / 458.2 MB, free: 29.62 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.007582, allocations: 226 kB / 458.4 MB, free: 29.43 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.008687, allocations: 482.5 kB / 458.9 MB, free: 29.32 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.008849, allocations: 94.78 kB / 459 MB, free: 29.29 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.00897, allocations: 24.02 kB / 459 MB, free: 29.29 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.008993, allocations: 40.77 kB / 459.1 MB, free: 29.24 MB / 410.8 MB Notification: Performance of pre-optimization done (n=53): time 2.485e-06/0.008996, allocations: 0 / 459.1 MB, free: 29.24 MB / 410.8 MB Notification: Performance of matching and sorting (n=53): time 0.0006872/0.009683, allocations: 397.9 kB / 459.5 MB, free: 29.14 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.00971, allocations: 57.75 kB / 459.5 MB, free: 29.07 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.162e-05/0.009802, allocations: 198.5 kB / 459.7 MB, free: 28.9 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.00983, allocations: 36.86 kB / 459.7 MB, free: 28.86 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.009866, allocations: 145.8 kB / 459.9 MB, free: 28.72 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.01001, allocations: 220.9 kB / 460.1 MB, free: 28.54 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.01016, allocations: 120.2 kB / 460.2 MB, free: 28.48 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 8.031e-05/0.01024, allocations: 0.5244 MB / 460.7 MB, free: 27.96 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.01039, allocations: 75.55 kB / 460.8 MB, free: 27.96 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.01055, allocations: 90.09 kB / 460.9 MB, free: 27.95 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.01091, allocations: 238.4 kB / 461.1 MB, free: 27.88 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.01092, allocations: 4 kB / 461.1 MB, free: 27.87 MB / 410.8 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005541/0.01147, allocations: 368.6 kB / 461.5 MB, free: 27.76 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.01149, allocations: 5.562 kB / 461.5 MB, free: 27.76 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.01149, allocations: 3.281 kB / 461.5 MB, free: 27.76 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.01151, allocations: 2.75 kB / 461.5 MB, free: 27.76 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004653/0.01197, allocations: 139.4 kB / 461.7 MB, free: 27.75 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.01198, allocations: 2.875 kB / 461.7 MB, free: 27.75 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.01213, allocations: 44.2 kB / 461.7 MB, free: 27.71 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.01217, allocations: 12.56 kB / 461.7 MB, free: 27.71 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 (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.0001155/0.01228, allocations: 189.5 kB / 461.9 MB, free: 27.52 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.491e-05/0.01236, allocations: 42.7 kB / 461.9 MB, free: 27.5 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000786/0.01314, allocations: 483.9 kB / 462.4 MB, free: 27.33 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.01315, allocations: 8.062 kB / 462.4 MB, free: 27.33 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.01315, allocations: 0 / 462.4 MB, free: 27.33 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.01316, allocations: 3.141 kB / 462.4 MB, free: 27.33 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.01352, allocations: 278.7 kB / 462.7 MB, free: 27.11 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.01352, allocations: 3.938 kB / 462.7 MB, free: 27.11 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006382/0.01416, allocations: 158.3 kB / 462.9 MB, free: 27.09 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.01417, allocations: 6.797 kB / 462.9 MB, free: 27.09 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.506e-05/0.01422, allocations: 27.02 kB / 462.9 MB, free: 27.08 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.01423, allocations: 3.094 kB / 462.9 MB, free: 27.08 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01423, allocations: 4 kB / 462.9 MB, free: 27.07 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009221/0.01515, allocations: 0.5974 MB / 463.5 MB, free: 26.86 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.0153, allocations: 83.08 kB / 463.6 MB, free: 26.82 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.712e-05/0.01537, allocations: 19.5 kB / 463.6 MB, free: 26.82 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.01552, allocations: 14.91 kB / 463.6 MB, free: 26.8 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.098e-05/0.01561, allocations: 44.66 kB / 463.6 MB, free: 26.8 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.856e-05/0.01565, allocations: 16.08 kB / 463.7 MB, free: 26.8 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.722e-05/0.01572, allocations: 155.3 kB / 463.8 MB, free: 26.67 MB / 410.8 MB Notification: Performance of sort global known variables: time 1e-07/0.01572, allocations: 0 / 463.8 MB, free: 26.67 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003735/0.01609, allocations: 124.4 kB / 463.9 MB, free: 26.65 MB / 410.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.0002155/0.01631, allocations: 135.5 kB / 464.1 MB, free: 26.54 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003492/0.01666, allocations: 318.9 kB / 464.4 MB, free: 26.49 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01666, allocations: 0 / 464.4 MB, free: 26.49 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.01683, allocations: 210.2 kB / 464.6 MB, free: 26.45 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.01707, allocations: 64.55 kB / 464.6 MB, free: 26.41 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.01823, allocations: 1.07 MB / 465.7 MB, free: 25.75 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.733e-05/0.01829, allocations: 127.5 kB / 465.8 MB, free: 25.67 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.01842, allocations: 72.02 kB / 465.9 MB, free: 25.64 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.01861, allocations: 163.1 kB / 466.1 MB, free: 25.57 MB / 410.8 MB Notification: Performance of SimCode: time 1.262e-06/0.01861, allocations: 4 kB / 466.1 MB, free: 25.56 MB / 410.8 MB Notification: Performance of Templates: time 0.008245/0.02685, allocations: 5.814 MB / 471.9 MB, free: 24.99 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_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: 5.452835500240326]