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.0009507/0.0009507, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001006/0.001006, allocations: 170.3 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.9354/0.9354, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.6068/0.6068, allocations: 88.07 MB / 349.9 MB, free: 14.13 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_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.954e-06/1.954e-06, allocations: 0 / 453.8 MB, free: 32.12 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.957e-05, allocations: 6.203 kB / 453.8 MB, free: 32.12 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001777/0.001806, allocations: 1.424 MB / 455.2 MB, free: 31.15 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007524/0.002559, allocations: 0.5364 MB / 455.7 MB, free: 30.81 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.002607, allocations: 0 / 455.7 MB, free: 30.81 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.275e-05/0.002689, allocations: 17.92 kB / 455.8 MB, free: 30.8 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.002976, allocations: 54.34 kB / 455.8 MB, free: 30.78 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.914e-05/0.003065, allocations: 41.41 kB / 455.8 MB, free: 30.76 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.003264, allocations: 319.9 kB / 456.2 MB, free: 30.66 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.003305, allocations: 15.08 kB / 456.2 MB, free: 30.65 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.003557, allocations: 162.2 kB / 456.3 MB, free: 30.6 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.003764, allocations: 151.4 kB / 456.5 MB, free: 30.56 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.178e-05/0.003806, allocations: 17.25 kB / 456.5 MB, free: 30.56 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.536e-05/0.003902, allocations: 40.19 kB / 456.5 MB, free: 30.55 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 9.952e-05/0.004001, allocations: 135.4 kB / 456.7 MB, free: 30.5 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.041e-05/0.004072, allocations: 92.94 kB / 456.8 MB, free: 30.48 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.004307, allocations: 265.7 kB / 457 MB, free: 30.4 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.00431, allocations: 0 / 457 MB, free: 30.4 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004311, allocations: 2.406 kB / 457 MB, free: 30.4 MB / 410.8 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.004319, allocations: 0 / 457 MB, free: 30.4 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.0006361/0.004955, allocations: 0.6211 MB / 457.6 MB, free: 29.93 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.004994, allocations: 8.562 kB / 457.7 MB, free: 29.93 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.254e-05/0.005066, allocations: 47.83 kB / 457.7 MB, free: 29.91 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.005216, allocations: 187.5 kB / 457.9 MB, free: 29.74 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.00523, allocations: 21.09 kB / 457.9 MB, free: 29.73 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.005271, allocations: 29.72 kB / 457.9 MB, free: 29.72 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.005477, allocations: 182.6 kB / 458.1 MB, free: 29.66 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.005486, allocations: 0 / 458.1 MB, free: 29.66 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.005504, allocations: 14.73 kB / 458.1 MB, free: 29.65 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.005511, allocations: 5.875 kB / 458.1 MB, free: 29.65 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.00564, allocations: 106.1 kB / 458.2 MB, free: 29.65 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/0.005875, allocations: 229.1 kB / 458.5 MB, free: 29.46 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007541/0.006629, allocations: 484 kB / 458.9 MB, free: 29.34 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.006731, allocations: 94.39 kB / 459 MB, free: 29.32 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.006844, allocations: 21.23 kB / 459 MB, free: 29.32 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.006865, allocations: 44.5 kB / 459.1 MB, free: 29.27 MB / 410.8 MB Notification: Performance of pre-optimization done (n=53): time 1.933e-06/0.006866, allocations: 0 / 459.1 MB, free: 29.27 MB / 410.8 MB Notification: Performance of matching and sorting (n=53): time 0.0004627/0.007329, allocations: 393.9 kB / 459.5 MB, free: 29.16 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.007361, allocations: 61.41 kB / 459.5 MB, free: 29.1 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.829e-05/0.007439, allocations: 197.6 kB / 459.7 MB, free: 28.92 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.007459, allocations: 36.67 kB / 459.8 MB, free: 28.88 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.507e-05/0.007494, allocations: 146 kB / 459.9 MB, free: 28.74 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.007607, allocations: 224.3 kB / 460.1 MB, free: 28.57 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.00771, allocations: 116.2 kB / 460.2 MB, free: 28.5 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.602e-05/0.007776, allocations: 0.5262 MB / 460.8 MB, free: 27.98 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.007877, allocations: 76.2 kB / 460.8 MB, free: 27.98 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.976e-05/0.007977, allocations: 85.81 kB / 460.9 MB, free: 27.98 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.008188, allocations: 237.3 kB / 461.1 MB, free: 27.9 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.008191, allocations: 1.625 kB / 461.2 MB, free: 27.9 MB / 410.8 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003498/0.008541, allocations: 375.9 kB / 461.5 MB, free: 27.79 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.008557, allocations: 5.5 kB / 461.5 MB, free: 27.79 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.008565, allocations: 0 / 461.5 MB, free: 27.79 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.008582, allocations: 2.938 kB / 461.5 MB, free: 27.79 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.008862, allocations: 135.8 kB / 461.7 MB, free: 27.78 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.008869, allocations: 10.84 kB / 461.7 MB, free: 27.77 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.934e-05/0.008958, allocations: 41.36 kB / 461.7 MB, free: 27.73 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.008979, allocations: 18.77 kB / 461.7 MB, free: 27.73 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 8.416e-05/0.009063, allocations: 179.4 kB / 461.9 MB, free: 27.55 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.009106, allocations: 39.17 kB / 461.9 MB, free: 27.53 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004707/0.009576, allocations: 488.9 kB / 462.4 MB, free: 27.36 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.009582, allocations: 12 kB / 462.4 MB, free: 27.35 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.009585, allocations: 0 / 462.4 MB, free: 27.35 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.009591, allocations: 3.375 kB / 462.4 MB, free: 27.35 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.009809, allocations: 278.5 kB / 462.7 MB, free: 27.13 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.009811, allocations: 4 kB / 462.7 MB, free: 27.13 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003782/0.01019, allocations: 158.8 kB / 462.9 MB, free: 27.12 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.0102, allocations: 2.875 kB / 462.9 MB, free: 27.12 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.01023, allocations: 26.83 kB / 462.9 MB, free: 27.11 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01023, allocations: 0 / 462.9 MB, free: 27.11 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.01024, allocations: 2.875 kB / 462.9 MB, free: 27.11 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00054/0.01078, allocations: 0.5996 MB / 463.5 MB, free: 26.89 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-05/0.01087, allocations: 81.5 kB / 463.6 MB, free: 26.86 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.0109, allocations: 16.94 kB / 463.6 MB, free: 26.85 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.464e-05/0.01099, allocations: 18.2 kB / 463.6 MB, free: 26.84 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.01103, allocations: 53.11 kB / 463.7 MB, free: 26.82 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.01105, allocations: 12.22 kB / 463.7 MB, free: 26.82 MB / 410.8 MB Notification: Performance of sorting global known variables: time 3.315e-05/0.01108, allocations: 157 kB / 463.8 MB, free: 26.69 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01108, allocations: 0 / 463.8 MB, free: 26.69 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002451/0.01133, allocations: 118.8 kB / 463.9 MB, free: 26.68 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.0001723/0.0115, allocations: 136.3 kB / 464.1 MB, free: 26.57 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003262/0.01182, allocations: 322.6 kB / 464.4 MB, free: 26.51 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01183, allocations: 0 / 464.4 MB, free: 26.51 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.01198, allocations: 208.5 kB / 464.6 MB, free: 26.47 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.01222, allocations: 62.38 kB / 464.7 MB, free: 26.44 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.01339, allocations: 1.066 MB / 465.7 MB, free: 25.77 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.216e-05/0.01345, allocations: 127 kB / 465.8 MB, free: 25.7 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.01359, allocations: 72.11 kB / 465.9 MB, free: 25.67 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.01379, allocations: 165.5 kB / 466.1 MB, free: 25.59 MB / 410.8 MB Notification: Performance of SimCode: time 9.21e-07/0.01379, allocations: 0 / 466.1 MB, free: 25.59 MB / 410.8 MB Notification: Performance of Templates: time 0.007228/0.02102, allocations: 5.82 MB / 471.9 MB, free: 25.02 MB / 410.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.427103388123214]