Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.001375/0.001375, allocations: 76.31 kB / 21.42 MB, free: 3.078 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.001719/0.001719, allocations: 173.9 kB / 24.83 MB, free: 8.938 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.9781/0.9781, allocations: 177.1 MB / 205.3 MB, free: 5.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.7667/0.7667, allocations: 88.07 MB / 349.9 MB, free: 14.18 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_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_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 453.8 MB, free: 32.1 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.103e-05/3.311e-05, allocations: 3.297 kB / 453.8 MB, free: 32.09 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002121/0.002154, allocations: 1.422 MB / 455.2 MB, free: 31.12 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.003386, allocations: 0.5391 MB / 455.7 MB, free: 30.79 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.482e-05/0.003441, allocations: 0 / 455.7 MB, free: 30.79 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.533e-05/0.003536, allocations: 7.172 kB / 455.7 MB, free: 30.78 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003601/0.003896, allocations: 62.38 kB / 455.8 MB, free: 30.75 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.491e-05/0.003991, allocations: 44.8 kB / 455.8 MB, free: 30.73 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.004325, allocations: 0.5506 MB / 456.4 MB, free: 30.57 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.703e-05/0.004373, allocations: 14.09 kB / 456.4 MB, free: 30.57 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003237/0.004696, allocations: 269.5 kB / 456.7 MB, free: 30.48 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003703/0.005066, allocations: 276.4 kB / 456.9 MB, free: 30.41 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 5.814e-05/0.005125, allocations: 31.38 kB / 457 MB, free: 30.41 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.005265, allocations: 52.86 kB / 457 MB, free: 30.41 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.005459, allocations: 246.5 kB / 457.3 MB, free: 30.32 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.005601, allocations: 183.1 kB / 457.4 MB, free: 30.26 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004541/0.006055, allocations: 489.7 kB / 457.9 MB, free: 30.12 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.006061, allocations: 0 / 457.9 MB, free: 30.12 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.974e-06/0.006063, allocations: 2.875 kB / 457.9 MB, free: 30.12 MB / 410.8 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.006072, allocations: 4 kB / 457.9 MB, free: 30.12 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001166/0.007238, allocations: 0.8651 MB / 458.8 MB, free: 29.55 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.007294, allocations: 11.78 kB / 458.8 MB, free: 29.55 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.007418, allocations: 77.72 kB / 458.9 MB, free: 29.52 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.007686, allocations: 235.2 kB / 459.1 MB, free: 29.34 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.007711, allocations: 34.22 kB / 459.1 MB, free: 29.32 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.549e-05/0.007787, allocations: 69.33 kB / 459.2 MB, free: 29.29 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.008135, allocations: 337.1 kB / 459.5 MB, free: 29.21 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.008148, allocations: 3.984 kB / 459.5 MB, free: 29.2 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.008179, allocations: 18.91 kB / 459.6 MB, free: 29.19 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.008188, allocations: 11.84 kB / 459.6 MB, free: 29.19 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.008448, allocations: 208.5 kB / 459.8 MB, free: 29.18 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.008852, allocations: 352 kB / 460.1 MB, free: 28.93 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.01036, allocations: 0.9346 MB / 461.1 MB, free: 28.7 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.01056, allocations: 183.5 kB / 461.2 MB, free: 28.67 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.01071, allocations: 31.33 kB / 461.3 MB, free: 28.66 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.01074, allocations: 48.08 kB / 461.3 MB, free: 28.61 MB / 410.8 MB Notification: Performance of pre-optimization done (n=103): time 2.975e-06/0.01074, allocations: 0 / 461.3 MB, free: 28.61 MB / 410.8 MB Notification: Performance of matching and sorting (n=103): time 0.000832/0.01157, allocations: 0.7194 MB / 462 MB, free: 28.45 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.0116, allocations: 67.34 kB / 462.1 MB, free: 28.39 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.851e-05/0.0117, allocations: 224.3 kB / 462.3 MB, free: 28.2 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.01173, allocations: 40.55 kB / 462.4 MB, free: 28.16 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.01178, allocations: 164.6 kB / 462.5 MB, free: 28 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.01198, allocations: 440.1 kB / 462.9 MB, free: 27.66 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.01215, allocations: 212.6 kB / 463.2 MB, free: 27.55 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.01226, allocations: 0.5543 MB / 463.7 MB, free: 27.02 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.01244, allocations: 147.7 kB / 463.9 MB, free: 27.02 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.01262, allocations: 170.2 kB / 464 MB, free: 27.01 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004423/0.01306, allocations: 461.4 kB / 464.5 MB, free: 26.86 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.01306, allocations: 3.031 kB / 464.5 MB, free: 26.86 MB / 410.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0006475/0.01371, allocations: 0.6766 MB / 465.1 MB, free: 26.68 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.01373, allocations: 10.41 kB / 465.2 MB, free: 26.67 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.01374, allocations: 0 / 465.2 MB, free: 26.67 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.01376, allocations: 5.656 kB / 465.2 MB, free: 26.67 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005248/0.01428, allocations: 268.9 kB / 465.4 MB, free: 26.65 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.01429, allocations: 4.469 kB / 465.4 MB, free: 26.65 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.01447, allocations: 81.27 kB / 465.5 MB, free: 26.59 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.0145, allocations: 27.78 kB / 465.5 MB, free: 26.58 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 (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.0001356/0.01464, allocations: 215 kB / 465.7 MB, free: 26.37 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-05/0.01472, allocations: 77.58 kB / 465.8 MB, free: 26.33 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009065/0.01563, allocations: 0.89 MB / 466.7 MB, free: 26.04 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.01564, allocations: 17.11 kB / 466.7 MB, free: 26.03 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.01564, allocations: 3.938 kB / 466.7 MB, free: 26.03 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.01565, allocations: 9.891 kB / 466.7 MB, free: 26.03 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004084/0.01606, allocations: 454.3 kB / 467.2 MB, free: 25.71 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.01607, allocations: 2.625 kB / 467.2 MB, free: 25.71 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000719/0.01678, allocations: 309.8 kB / 467.5 MB, free: 25.68 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.01679, allocations: 5.25 kB / 467.5 MB, free: 25.68 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.025e-05/0.01686, allocations: 42.53 kB / 467.5 MB, free: 25.66 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.01687, allocations: 9.438 kB / 467.5 MB, free: 25.66 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.01687, allocations: 4 kB / 467.6 MB, free: 25.65 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.01807, allocations: 1.104 MB / 468.7 MB, free: 25.3 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.01827, allocations: 149.1 kB / 468.8 MB, free: 25.25 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.577e-05/0.01834, allocations: 40.12 kB / 468.8 MB, free: 25.23 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.01849, allocations: 29.25 kB / 468.9 MB, free: 25.2 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-05/0.01857, allocations: 87.75 kB / 469 MB, free: 25.19 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.742e-05/0.01861, allocations: 39.41 kB / 469 MB, free: 25.18 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.375e-05/0.01866, allocations: 162.8 kB / 469.2 MB, free: 25.05 MB / 410.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01866, allocations: 0 / 469.2 MB, free: 25.05 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003683/0.01903, allocations: 230.2 kB / 469.4 MB, free: 25.02 MB / 410.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.0002143/0.01925, allocations: 159.9 kB / 469.5 MB, free: 24.89 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0006138/0.01986, allocations: 0.5995 MB / 470.1 MB, free: 24.8 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01986, allocations: 0 / 470.1 MB, free: 24.8 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.02017, allocations: 404.5 kB / 470.5 MB, free: 24.73 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.0205, allocations: 106.9 kB / 470.6 MB, free: 24.68 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.0224, allocations: 1.991 MB / 472.6 MB, free: 23.47 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.02254, allocations: 184.6 kB / 472.8 MB, free: 23.4 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0002902/0.02283, allocations: 135.6 kB / 472.9 MB, free: 23.36 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004612/0.0233, allocations: 247.1 kB / 473.2 MB, free: 23.27 MB / 410.8 MB Notification: Performance of SimCode: time 1.002e-06/0.0233, allocations: 4 kB / 473.2 MB, free: 23.27 MB / 410.8 MB Notification: Performance of Templates: time 0.01456/0.03786, allocations: 10.78 MB / 484 MB, free: 22.2 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_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: 10.758023034781218]