Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.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.0009065/0.0009065, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001368/0.002275, 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.001526/0.001526, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00183/0.003356, 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.947/0.947, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08723/1.034, 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.7096/0.7096, allocations: 88.08 MB / 332.1 MB, free: 14.18 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05741/0.767, allocations: 32.92 MB / 365 MB, free: 13.44 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_40,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_40") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,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_40") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 366.3 MB, free: 12.13 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.274e-05, allocations: 2.312 kB / 366.3 MB, free: 12.12 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001998/0.002021, allocations: 1.477 MB / 367.8 MB, free: 10.64 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007342/0.002755, allocations: 0.5417 MB / 368.3 MB, free: 10.09 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.066e-05/0.002796, allocations: 4 kB / 368.3 MB, free: 10.09 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 5.511e-05/0.002851, allocations: 7.922 kB / 368.3 MB, free: 10.08 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.003078, allocations: 67.53 kB / 368.4 MB, free: 10.02 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001023/0.00318, allocations: 43.83 kB / 368.5 MB, free: 9.973 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006285/0.003808, allocations: 1.089 MB / 369.5 MB, free: 8.883 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.003856, allocations: 12.17 kB / 369.6 MB, free: 8.871 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006273/0.004483, allocations: 491.4 kB / 370 MB, free: 8.391 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005865/0.005069, allocations: 0.5068 MB / 370.5 MB, free: 7.883 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.005194, allocations: 60 kB / 370.6 MB, free: 7.824 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.005391, allocations: 91.89 kB / 370.7 MB, free: 7.734 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002733/0.005665, allocations: 355.4 kB / 371 MB, free: 7.387 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.005914, allocations: 235.6 kB / 371.3 MB, free: 7.156 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0007208/0.006635, allocations: 0.7474 MB / 372 MB, free: 6.406 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.27e-05/0.006658, allocations: 0 / 372 MB, free: 6.406 MB / 362.8 MB Notification: Performance of FrontEnd: time 2.284e-06/0.00666, allocations: 4 kB / 372 MB, free: 6.402 MB / 362.8 MB Notification: Performance of Transformations before backend: time 3.838e-05/0.006698, allocations: 0 / 372 MB, free: 6.402 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001987/0.008685, allocations: 1.376 MB / 373.4 MB, free: 5.004 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.008718, allocations: 8.031 kB / 373.4 MB, free: 4.996 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.008894, allocations: 128.8 kB / 373.5 MB, free: 4.871 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.009302, allocations: 343.9 kB / 373.9 MB, free: 4.508 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.009338, allocations: 66.36 kB / 373.9 MB, free: 4.441 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.009467, allocations: 112 kB / 374 MB, free: 4.332 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006609/0.01013, allocations: 0.6538 MB / 374.7 MB, free: 3.672 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.01014, allocations: 0 / 374.7 MB, free: 3.672 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.849e-05/0.0102, allocations: 32 kB / 374.7 MB, free: 3.641 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.01021, allocations: 20 kB / 374.7 MB, free: 3.621 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/0.01064, allocations: 337.7 kB / 375.1 MB, free: 3.293 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006022/0.01124, allocations: 499.7 kB / 375.6 MB, free: 2.785 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002465/0.0137, allocations: 1.677 MB / 377.2 MB, free: 1.094 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004706/0.01417, allocations: 302.8 kB / 377.5 MB, free: 0.8008 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.01436, allocations: 50 kB / 377.6 MB, free: 0.7539 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.01439, allocations: 56.55 kB / 377.6 MB, free: 0.6875 MB / 362.8 MB Notification: Performance of pre-optimization done (n=203): time 4.048e-06/0.01439, allocations: 0 / 377.6 MB, free: 0.6875 MB / 362.8 MB Notification: Performance of matching and sorting (n=203): time 0.001243/0.01564, allocations: 1.041 MB / 378.7 MB, free: 15.64 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.01568, allocations: 77.41 kB / 378.8 MB, free: 15.56 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.01583, allocations: 205 kB / 379 MB, free: 15.34 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 6.768e-05/0.0159, allocations: 61.7 kB / 379 MB, free: 15.28 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.01594, allocations: 111.7 kB / 379.1 MB, free: 15.16 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004629/0.0164, allocations: 0.8093 MB / 379.9 MB, free: 14.35 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003286/0.01673, allocations: 348.1 kB / 380.3 MB, free: 14 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.01684, allocations: 325.9 kB / 380.6 MB, free: 13.68 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003789/0.01722, allocations: 283.5 kB / 380.9 MB, free: 13.39 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.01755, allocations: 280 kB / 381.1 MB, free: 13.11 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008262/0.01837, allocations: 0.8108 MB / 382 MB, free: 12.27 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.01838, allocations: 0 / 382 MB, free: 12.27 MB / 378.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.001016/0.0194, allocations: 0.9388 MB / 382.9 MB, free: 11.3 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.01942, allocations: 8 kB / 382.9 MB, free: 11.29 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.01943, allocations: 0 / 382.9 MB, free: 11.29 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.01945, allocations: 11.94 kB / 382.9 MB, free: 11.28 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.02106, allocations: 0.8234 MB / 383.7 MB, free: 10.47 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.02107, allocations: 8 kB / 383.7 MB, free: 10.46 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.02148, allocations: 154.8 kB / 383.9 MB, free: 10.31 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-05/0.02155, allocations: 47.97 kB / 383.9 MB, free: 10.26 MB / 378.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 (284): * Single equations (assignments): 284 * 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.0003006/0.02185, allocations: 220.2 kB / 384.2 MB, free: 10.04 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.02201, allocations: 127.9 kB / 384.3 MB, free: 9.91 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.02359, allocations: 1.376 MB / 385.7 MB, free: 8.492 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.0236, allocations: 31.94 kB / 385.7 MB, free: 8.461 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.02361, allocations: 4 kB / 385.7 MB, free: 8.457 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.02362, allocations: 11.95 kB / 385.7 MB, free: 8.445 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007978/0.02442, allocations: 0.6879 MB / 386.4 MB, free: 7.734 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.02443, allocations: 0 / 386.4 MB, free: 7.734 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001937/0.02636, allocations: 0.888 MB / 387.3 MB, free: 6.863 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004204/0.02678, allocations: 262.5 kB / 387.5 MB, free: 6.605 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.459e-05/0.0268, allocations: 8 kB / 387.5 MB, free: 6.598 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001248/0.02692, allocations: 75.94 kB / 387.6 MB, free: 6.523 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.046e-05/0.02693, allocations: 12 kB / 387.6 MB, free: 6.512 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.02694, allocations: 3.938 kB / 387.6 MB, free: 6.508 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.02877, allocations: 1.767 MB / 389.4 MB, free: 4.676 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.02894, allocations: 71.95 kB / 389.5 MB, free: 4.605 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.02929, allocations: 48 kB / 389.5 MB, free: 4.559 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.02943, allocations: 161.9 kB / 389.7 MB, free: 4.398 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.252e-05/0.02951, allocations: 51.97 kB / 389.7 MB, free: 4.348 MB / 378.8 MB Notification: Performance of sorting global known variables: time 5.651e-05/0.02956, allocations: 74.72 kB / 389.8 MB, free: 4.273 MB / 378.8 MB Notification: Performance of sort global known variables: time 4e-08/0.02956, allocations: 0 / 389.8 MB, free: 4.273 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.0006089/0.03017, allocations: 451.9 kB / 390.2 MB, free: 3.832 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 81 (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],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],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],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40]) * 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 (284): * Single equations (assignments): 284 * 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.0002731/0.03045, allocations: 210.5 kB / 390.4 MB, free: 3.613 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.03175, allocations: 1.015 MB / 391.5 MB, free: 2.562 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 6.728e-05/0.03182, allocations: 18.62 kB / 391.5 MB, free: 2.543 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006655/0.03248, allocations: 0.6894 MB / 392.2 MB, free: 1.844 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006955/0.03318, allocations: 407.7 kB / 392.6 MB, free: 1.445 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006535/0.03971, allocations: 2.621 MB / 395.2 MB, free: 14.77 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.03993, allocations: 313.5 kB / 395.5 MB, free: 14.44 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.0007136/0.04065, allocations: 266.6 kB / 395.8 MB, free: 14.18 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007579/0.0414, allocations: 381.1 kB / 396.1 MB, free: 13.8 MB / 394.8 MB Notification: Performance of SimCode: time 2.274e-06/0.04141, allocations: 3.938 kB / 396.1 MB, free: 13.8 MB / 394.8 MB Notification: Performance of Templates: time 0.02626/0.06766, allocations: 23.31 MB / 419.4 MB, free: 6.805 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_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: 25.34995500650257]