Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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.0009157/0.0009157, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001135/0.002051, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001114/0.001114, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001341/0.002455, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9272/0.9272, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08623/1.013, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo): time 0.6613/0.6613, allocations: 88.09 MB / 332.1 MB, free: 14.21 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05399/0.7153, allocations: 32.92 MB / 365 MB, free: 13.45 MB / 362.8 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-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_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.[0-9,]+.|Que.[0-9,]+.|Tu.[0-9,]+.|time|u.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.[0-9,]+.|Que.[0-9,]+.|Tu.[0-9,]+.|time|u.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 366.3 MB, free: 12.14 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.512e-05, allocations: 7.297 kB / 366.3 MB, free: 12.13 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002179/0.002204, allocations: 1.477 MB / 367.8 MB, free: 10.64 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008479/0.003052, allocations: 0.5495 MB / 368.3 MB, free: 10.09 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/0.003091, allocations: 0 / 368.3 MB, free: 10.09 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 4.061e-05/0.003132, allocations: 7.922 kB / 368.3 MB, free: 10.09 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.003346, allocations: 63.61 kB / 368.4 MB, free: 10.02 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.003471, allocations: 43.81 kB / 368.5 MB, free: 9.98 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.003705, allocations: 207.5 kB / 368.7 MB, free: 9.777 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.003746, allocations: 8.172 kB / 368.7 MB, free: 9.77 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.003984, allocations: 116.3 kB / 368.8 MB, free: 9.656 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.004153, allocations: 87.81 kB / 368.9 MB, free: 9.57 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.004177, allocations: 8 kB / 368.9 MB, free: 9.562 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.004299, allocations: 39.89 kB / 368.9 MB, free: 9.523 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 8.431e-05/0.004384, allocations: 55.91 kB / 369 MB, free: 9.469 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 5.745e-05/0.004441, allocations: 43.88 kB / 369 MB, free: 9.426 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.004632, allocations: 123.6 kB / 369.1 MB, free: 9.305 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.611e-05/0.004648, allocations: 0 / 369.1 MB, free: 9.305 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.222e-06/0.004649, allocations: 0 / 369.1 MB, free: 9.305 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.004663, allocations: 0 / 369.1 MB, free: 9.305 MB / 362.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006402/0.005303, allocations: 416.8 kB / 369.5 MB, free: 8.871 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.005336, allocations: 8.031 kB / 369.5 MB, free: 8.863 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.005387, allocations: 20.92 kB / 369.6 MB, free: 8.844 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.005546, allocations: 149.4 kB / 369.7 MB, free: 8.672 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.005559, allocations: 4.609 kB / 369.7 MB, free: 8.668 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/0.005596, allocations: 28 kB / 369.7 MB, free: 8.641 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.005787, allocations: 118.3 kB / 369.9 MB, free: 8.52 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.005795, allocations: 0 / 369.9 MB, free: 8.52 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.005808, allocations: 4 kB / 369.9 MB, free: 8.516 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.005813, allocations: 4 kB / 369.9 MB, free: 8.512 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.662e-05/0.00591, allocations: 52.64 kB / 369.9 MB, free: 8.461 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.006089, allocations: 115.5 kB / 370 MB, free: 8.332 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005674/0.006656, allocations: 220.7 kB / 370.2 MB, free: 8.105 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.721e-05/0.006733, allocations: 44.84 kB / 370.3 MB, free: 8.059 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.006834, allocations: 11.98 kB / 370.3 MB, free: 8.047 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.006862, allocations: 38.56 kB / 370.3 MB, free: 8 MB / 362.8 MB Notification: Performance of pre-optimization done (n=28): time 2.294e-06/0.006864, allocations: 4 kB / 370.3 MB, free: 7.996 MB / 362.8 MB Notification: Performance of matching and sorting (n=28): time 0.0003525/0.007217, allocations: 166.2 kB / 370.5 MB, free: 7.828 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.007253, allocations: 59.34 kB / 370.6 MB, free: 7.758 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.34e-05/0.007327, allocations: 132.7 kB / 370.7 MB, free: 7.617 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.007345, allocations: 29.7 kB / 370.7 MB, free: 7.582 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.766e-05/0.007373, allocations: 88.62 kB / 370.8 MB, free: 7.492 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.224e-05/0.007455, allocations: 111 kB / 370.9 MB, free: 7.383 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.799e-05/0.007533, allocations: 54 kB / 371 MB, free: 7.32 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 8.642e-05/0.007619, allocations: 334.8 kB / 371.3 MB, free: 6.984 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.028e-05/0.00769, allocations: 43.45 kB / 371.3 MB, free: 6.941 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.983e-05/0.007749, allocations: 41.89 kB / 371.4 MB, free: 6.902 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.007905, allocations: 120.7 kB / 371.5 MB, free: 6.781 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.007907, allocations: 0 / 371.5 MB, free: 6.781 MB / 362.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002133/0.00812, allocations: 161.4 kB / 371.7 MB, free: 6.617 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.008135, allocations: 8 kB / 371.7 MB, free: 6.609 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.00814, allocations: 3.938 kB / 371.7 MB, free: 6.605 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.00815, allocations: 4 kB / 371.7 MB, free: 6.602 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.008485, allocations: 111.8 kB / 371.8 MB, free: 6.492 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.008489, allocations: 4 kB / 371.8 MB, free: 6.488 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.568e-05/0.008555, allocations: 23.78 kB / 371.8 MB, free: 6.465 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.008573, allocations: 11.98 kB / 371.8 MB, free: 6.453 MB / 362.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 (39): * Single equations (assignments): 39 * 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 7.65e-05/0.00865, allocations: 128.5 kB / 371.9 MB, free: 6.316 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.008683, allocations: 23.92 kB / 372 MB, free: 6.293 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003277/0.009011, allocations: 220.1 kB / 372.2 MB, free: 6.074 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.009016, allocations: 4 kB / 372.2 MB, free: 6.07 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.009018, allocations: 0 / 372.2 MB, free: 6.07 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.009025, allocations: 4 kB / 372.2 MB, free: 6.066 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.009207, allocations: 149.7 kB / 372.3 MB, free: 5.902 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.009208, allocations: 0 / 372.3 MB, free: 5.902 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003655/0.009574, allocations: 123 kB / 372.5 MB, free: 5.785 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.374e-05/0.009637, allocations: 39.77 kB / 372.5 MB, free: 5.746 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.00964, allocations: 4 kB / 372.5 MB, free: 5.742 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.009665, allocations: 15.98 kB / 372.5 MB, free: 5.727 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.009668, allocations: 0 / 372.5 MB, free: 5.727 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.009669, allocations: 0 / 372.5 MB, free: 5.727 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.01003, allocations: 301 kB / 372.8 MB, free: 5.414 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.01006, allocations: 8 kB / 372.8 MB, free: 5.406 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.652e-05/0.01012, allocations: 4 kB / 372.8 MB, free: 5.402 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.01017, allocations: 27.94 kB / 372.8 MB, free: 5.375 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.01018, allocations: 4 kB / 372.9 MB, free: 5.371 MB / 362.8 MB Notification: Performance of sorting global known variables: time 3.096e-05/0.01021, allocations: 31.02 kB / 372.9 MB, free: 5.34 MB / 362.8 MB Notification: Performance of sort global known variables: time 9e-08/0.01021, allocations: 4 kB / 372.9 MB, free: 5.336 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0002293/0.01044, allocations: 68 kB / 373 MB, free: 5.27 MB / 362.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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.00015/0.01059, allocations: 104.3 kB / 373.1 MB, free: 5.156 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.01082, allocations: 141 kB / 373.2 MB, free: 5.016 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/0.01083, allocations: 0 / 373.2 MB, free: 5.016 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.01094, allocations: 109.2 kB / 373.3 MB, free: 4.906 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.01113, allocations: 66.69 kB / 373.4 MB, free: 4.84 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.01351, allocations: 477 kB / 373.8 MB, free: 4.348 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.796e-05/0.01358, allocations: 92.67 kB / 373.9 MB, free: 4.234 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.0001368/0.01372, allocations: 37.92 kB / 374 MB, free: 4.199 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.01391, allocations: 99.34 kB / 374.1 MB, free: 4.102 MB / 362.8 MB Notification: Performance of SimCode: time 9.71e-07/0.01391, allocations: 4 kB / 374.1 MB, free: 4.098 MB / 362.8 MB Notification: Performance of Templates: time 0.006635/0.02054, allocations: 3.738 MB / 377.8 MB, free: 468 kB / 362.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_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: 3.504420335404575]