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.001223/0.001223, allocations: 84.39 kB / 21.19 MB, free: 3.371 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.001165/0.001165, allocations: 165 kB / 24.56 MB, free: 4 kB / 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.9794/0.9794, allocations: 177.1 MB / 205 MB, free: 5.277 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.7712/0.7712, allocations: 88.07 MB / 349.5 MB, free: 14.21 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 1.613e-06/1.613e-06, allocations: 0 / 453.3 MB, free: 32.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.047e-05, allocations: 3.406 kB / 453.3 MB, free: 32.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002674/0.002695, allocations: 1.426 MB / 454.7 MB, free: 31.37 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006583/0.003353, allocations: 0.5388 MB / 455.3 MB, free: 31.03 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/0.003393, allocations: 3.938 kB / 455.3 MB, free: 31.03 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.136e-05/0.003475, allocations: 10.22 kB / 455.3 MB, free: 31.02 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.003771, allocations: 59.52 kB / 455.3 MB, free: 30.99 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.328e-05/0.003864, allocations: 45.2 kB / 455.4 MB, free: 30.97 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.004058, allocations: 319.1 kB / 455.7 MB, free: 30.88 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.004095, allocations: 11.03 kB / 455.7 MB, free: 30.87 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.004277, allocations: 162.3 kB / 455.9 MB, free: 30.82 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.004463, allocations: 152.4 kB / 456 MB, free: 30.78 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.004496, allocations: 14.31 kB / 456 MB, free: 30.78 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.626e-05/0.004592, allocations: 39.39 kB / 456.1 MB, free: 30.78 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.004708, allocations: 130.5 kB / 456.2 MB, free: 30.73 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.309e-05/0.004781, allocations: 101.1 kB / 456.3 MB, free: 30.69 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.004995, allocations: 264.7 kB / 456.5 MB, free: 30.62 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004997, allocations: 0 / 456.5 MB, free: 30.62 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.173e-06/0.004999, allocations: 0 / 456.5 MB, free: 30.62 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.005004, allocations: 0 / 456.5 MB, free: 30.62 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.000626/0.00563, allocations: 0.6227 MB / 457.2 MB, free: 30.15 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.005667, allocations: 10.94 kB / 457.2 MB, free: 30.15 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.58e-05/0.005743, allocations: 42.55 kB / 457.2 MB, free: 30.13 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.005914, allocations: 189.6 kB / 457.4 MB, free: 29.97 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.005928, allocations: 20.88 kB / 457.4 MB, free: 29.96 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.005971, allocations: 31.81 kB / 457.5 MB, free: 29.95 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.006211, allocations: 205.3 kB / 457.7 MB, free: 29.88 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.00622, allocations: 0 / 457.7 MB, free: 29.88 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.00624, allocations: 4 kB / 457.7 MB, free: 29.88 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.006249, allocations: 9.844 kB / 457.7 MB, free: 29.87 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.006423, allocations: 141.9 kB / 457.8 MB, free: 29.85 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002379/0.006661, allocations: 252.1 kB / 458.1 MB, free: 29.63 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008244/0.007485, allocations: 0.5049 MB / 458.6 MB, free: 29.5 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.007633, allocations: 113.5 kB / 458.7 MB, free: 29.47 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.007749, allocations: 19.22 kB / 458.7 MB, free: 29.47 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.007768, allocations: 41.73 kB / 458.7 MB, free: 29.42 MB / 410.8 MB Notification: Performance of pre-optimization done (n=53): time 1.643e-06/0.007769, allocations: 4 kB / 458.7 MB, free: 29.42 MB / 410.8 MB Notification: Performance of matching and sorting (n=53): time 0.0005388/0.008308, allocations: 450.1 kB / 459.2 MB, free: 29.29 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.008333, allocations: 60.81 kB / 459.2 MB, free: 29.22 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.021e-05/0.008404, allocations: 197.5 kB / 459.4 MB, free: 29.05 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.008425, allocations: 36.42 kB / 459.5 MB, free: 29.01 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/0.008457, allocations: 142.9 kB / 459.6 MB, free: 28.87 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.008573, allocations: 223.7 kB / 459.8 MB, free: 28.7 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.038e-05/0.008664, allocations: 112.1 kB / 459.9 MB, free: 28.63 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.848e-05/0.008722, allocations: 0.5236 MB / 460.4 MB, free: 28.12 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.008856, allocations: 99.34 kB / 460.5 MB, free: 28.11 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.008987, allocations: 114 kB / 460.7 MB, free: 28.08 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.009283, allocations: 276 kB / 460.9 MB, free: 27.99 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.009286, allocations: 0 / 460.9 MB, free: 27.99 MB / 410.8 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004261/0.009712, allocations: 420.1 kB / 461.3 MB, free: 27.85 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.009726, allocations: 5.406 kB / 461.3 MB, free: 27.85 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.00973, allocations: 0 / 461.3 MB, free: 27.85 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.009743, allocations: 5.812 kB / 461.3 MB, free: 27.85 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.01004, allocations: 144.4 kB / 461.5 MB, free: 27.84 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.01005, allocations: 2.562 kB / 461.5 MB, free: 27.84 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.557e-05/0.01013, allocations: 39.86 kB / 461.5 MB, free: 27.8 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.01016, allocations: 20.62 kB / 461.6 MB, free: 27.8 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.91e-05/0.01025, allocations: 189.6 kB / 461.7 MB, free: 27.61 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.01029, allocations: 42.92 kB / 461.8 MB, free: 27.59 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000564/0.01085, allocations: 0.5158 MB / 462.3 MB, free: 27.4 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.01086, allocations: 8.688 kB / 462.3 MB, free: 27.4 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01086, allocations: 0 / 462.3 MB, free: 27.4 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.01087, allocations: 3.281 kB / 462.3 MB, free: 27.4 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.01108, allocations: 304.5 kB / 462.6 MB, free: 27.15 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01108, allocations: 0 / 462.6 MB, free: 27.15 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/0.01147, allocations: 159.1 kB / 462.8 MB, free: 27.14 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.01147, allocations: 2.812 kB / 462.8 MB, free: 27.14 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.01151, allocations: 25.86 kB / 462.8 MB, free: 27.13 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.01151, allocations: 7 kB / 462.8 MB, free: 27.12 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01151, allocations: 0 / 462.8 MB, free: 27.12 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006411/0.01216, allocations: 0.6618 MB / 463.5 MB, free: 26.88 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.58e-05/0.01225, allocations: 93.75 kB / 463.5 MB, free: 26.84 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.01229, allocations: 19.73 kB / 463.6 MB, free: 26.84 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/0.01237, allocations: 11.12 kB / 463.6 MB, free: 26.83 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.01243, allocations: 46.64 kB / 463.6 MB, free: 26.82 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.01245, allocations: 25.88 kB / 463.6 MB, free: 26.81 MB / 410.8 MB Notification: Performance of sorting global known variables: time 3.811e-05/0.01249, allocations: 149.7 kB / 463.8 MB, free: 26.69 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01249, allocations: 4 kB / 463.8 MB, free: 26.69 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002244/0.01272, allocations: 123.1 kB / 463.9 MB, free: 26.67 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.0001299/0.01285, allocations: 135.9 kB / 464.1 MB, free: 26.55 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004023/0.01325, allocations: 361.6 kB / 464.4 MB, free: 26.49 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01325, allocations: 0 / 464.4 MB, free: 26.49 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.01346, allocations: 232.5 kB / 464.6 MB, free: 26.43 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.01368, allocations: 64.45 kB / 464.7 MB, free: 26.4 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.01478, allocations: 1.088 MB / 465.8 MB, free: 25.72 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.34e-05/0.01483, allocations: 125.2 kB / 465.9 MB, free: 25.65 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001892/0.01502, allocations: 147.5 kB / 466 MB, free: 25.62 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.01513, allocations: 50.86 kB / 466.1 MB, free: 25.61 MB / 410.8 MB Notification: Performance of SimCode: time 6.31e-07/0.01513, allocations: 0 / 466.1 MB, free: 25.61 MB / 410.8 MB Notification: Performance of Templates: time 0.006411/0.02154, allocations: 5.672 MB / 471.8 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.195323606021702]