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.001118/0.001118, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001168/0.002286, 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.0007049/0.0007049, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009246/0.001629, 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.9415/0.9415, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09485/1.036, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.6877/0.6877, allocations: 88.08 MB / 332.1 MB, free: 14.18 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05895/0.7466, allocations: 32.93 MB / 365 MB, free: 13.43 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_10,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_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,]+.|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.422e-06/1.422e-06, allocations: 0 / 366.3 MB, free: 12.12 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.326e-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_10): time 0.002008/0.002031, allocations: 1.473 MB / 367.8 MB, free: 10.63 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007551/0.002786, allocations: 0.5495 MB / 368.3 MB, free: 10.08 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.002828, allocations: 0 / 368.3 MB, free: 10.08 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 4.37e-05/0.002872, allocations: 7.938 kB / 368.3 MB, free: 10.07 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.003082, allocations: 63.59 kB / 368.4 MB, free: 10.01 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.865e-05/0.00318, allocations: 47.75 kB / 368.5 MB, free: 9.965 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.003451, allocations: 331.3 kB / 368.8 MB, free: 9.641 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.003495, allocations: 12.17 kB / 368.8 MB, free: 9.629 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.003764, allocations: 168.3 kB / 369 MB, free: 9.465 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.003974, allocations: 151.6 kB / 369.1 MB, free: 9.316 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.004005, allocations: 16 kB / 369.1 MB, free: 9.301 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.004125, allocations: 43.91 kB / 369.2 MB, free: 9.258 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 9.765e-05/0.004222, allocations: 99.83 kB / 369.3 MB, free: 9.16 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 6.877e-05/0.004291, allocations: 67.88 kB / 369.3 MB, free: 9.094 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.004519, allocations: 219.2 kB / 369.5 MB, free: 8.879 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.622e-05/0.004535, allocations: 0 / 369.5 MB, free: 8.879 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.283e-06/0.004537, allocations: 0 / 369.5 MB, free: 8.879 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.004548, allocations: 0 / 369.5 MB, free: 8.879 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006945/0.005243, allocations: 0.5473 MB / 370.1 MB, free: 8.309 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.005273, allocations: 12.03 kB / 370.1 MB, free: 8.297 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.131e-05/0.005334, allocations: 28.92 kB / 370.1 MB, free: 8.27 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.005497, allocations: 170 kB / 370.3 MB, free: 8.078 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.005512, allocations: 16.44 kB / 370.3 MB, free: 8.062 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.005554, allocations: 35.92 kB / 370.3 MB, free: 8.027 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.005761, allocations: 194.7 kB / 370.5 MB, free: 7.828 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.005768, allocations: 0 / 370.5 MB, free: 7.828 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.005787, allocations: 12 kB / 370.5 MB, free: 7.816 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.005792, allocations: 4 kB / 370.5 MB, free: 7.812 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.005909, allocations: 91.42 kB / 370.6 MB, free: 7.727 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002067/0.006116, allocations: 173 kB / 370.8 MB, free: 7.539 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007146/0.00683, allocations: 410.9 kB / 371.2 MB, free: 7.125 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.00693, allocations: 86.27 kB / 371.3 MB, free: 7.035 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.01e-05/0.00702, allocations: 16.5 kB / 371.3 MB, free: 7.02 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.007045, allocations: 43.05 kB / 371.4 MB, free: 6.969 MB / 362.8 MB Notification: Performance of pre-optimization done (n=53): time 1.844e-06/0.007047, allocations: 0 / 371.4 MB, free: 6.969 MB / 362.8 MB Notification: Performance of matching and sorting (n=53): time 0.0003788/0.007426, allocations: 295.6 kB / 371.6 MB, free: 6.676 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.007458, allocations: 55.91 kB / 371.7 MB, free: 6.609 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.414e-05/0.007532, allocations: 135.2 kB / 371.8 MB, free: 6.465 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.007557, allocations: 37.7 kB / 371.9 MB, free: 6.422 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.645e-05/0.007584, allocations: 93.11 kB / 372 MB, free: 6.328 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.007708, allocations: 222 kB / 372.2 MB, free: 6.109 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.961e-05/0.007807, allocations: 98.28 kB / 372.3 MB, free: 6.008 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.007901, allocations: 346.7 kB / 372.6 MB, free: 5.66 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.96e-05/0.008001, allocations: 80.03 kB / 372.7 MB, free: 5.582 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.468e-05/0.008085, allocations: 73.88 kB / 372.8 MB, free: 5.508 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.008358, allocations: 226.8 kB / 373 MB, free: 5.281 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.008361, allocations: 0 / 373 MB, free: 5.281 MB / 362.8 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0002909/0.008652, allocations: 277.3 kB / 373.2 MB, free: 5.004 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.008667, allocations: 4 kB / 373.3 MB, free: 5 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.008673, allocations: 0 / 373.3 MB, free: 5 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.008684, allocations: 4 kB / 373.3 MB, free: 4.996 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000443/0.009127, allocations: 212.9 kB / 373.5 MB, free: 4.793 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.009133, allocations: 4 kB / 373.5 MB, free: 4.789 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.67e-05/0.00923, allocations: 39.73 kB / 373.5 MB, free: 4.75 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.009252, allocations: 12 kB / 373.5 MB, free: 4.738 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 (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 0.0001202/0.009372, allocations: 140.5 kB / 373.7 MB, free: 4.59 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.00941, allocations: 27.98 kB / 373.7 MB, free: 4.562 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004491/0.009859, allocations: 401.8 kB / 374.1 MB, free: 4.164 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.009866, allocations: 7.938 kB / 374.1 MB, free: 4.156 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.009868, allocations: 0 / 374.1 MB, free: 4.156 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.009875, allocations: 11.98 kB / 374.1 MB, free: 4.145 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.0101, allocations: 226.1 kB / 374.3 MB, free: 3.906 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01011, allocations: 0 / 374.3 MB, free: 3.906 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005069/0.01061, allocations: 218.5 kB / 374.5 MB, free: 3.695 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.361e-05/0.01071, allocations: 79.52 kB / 374.6 MB, free: 3.617 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.01071, allocations: 8 kB / 374.6 MB, free: 3.609 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.01074, allocations: 23.92 kB / 374.6 MB, free: 3.586 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.01075, allocations: 0 / 374.6 MB, free: 3.586 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01075, allocations: 0 / 374.6 MB, free: 3.586 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004874/0.01124, allocations: 0.4964 MB / 375.1 MB, free: 3.07 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.01128, allocations: 19.98 kB / 375.2 MB, free: 3.051 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.172e-05/0.01136, allocations: 12 kB / 375.2 MB, free: 3.039 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.01141, allocations: 44.56 kB / 375.2 MB, free: 2.996 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.01143, allocations: 12 kB / 375.2 MB, free: 2.984 MB / 362.8 MB Notification: Performance of sorting global known variables: time 2.891e-05/0.01146, allocations: 48.69 kB / 375.3 MB, free: 2.938 MB / 362.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01146, allocations: 0 / 375.3 MB, free: 2.938 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0002124/0.01167, allocations: 119.9 kB / 375.4 MB, free: 2.82 MB / 362.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.000158/0.01183, allocations: 112.3 kB / 375.5 MB, free: 2.703 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.000298/0.01213, allocations: 275.7 kB / 375.8 MB, free: 2.434 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/0.01214, allocations: 11.92 kB / 375.8 MB, free: 2.422 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.01229, allocations: 185.8 kB / 376 MB, free: 2.234 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.01251, allocations: 103.3 kB / 376.1 MB, free: 2.133 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.01493, allocations: 0.7614 MB / 376.8 MB, free: 1.344 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.885e-05/0.01499, allocations: 122.8 kB / 376.9 MB, free: 1.199 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.0001658/0.01516, allocations: 75.2 kB / 377 MB, free: 1.125 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.01538, allocations: 143.3 kB / 377.2 MB, free: 0.9844 MB / 362.8 MB Notification: Performance of SimCode: time 1.413e-06/0.01538, allocations: 0 / 377.2 MB, free: 0.9844 MB / 362.8 MB Notification: Performance of Templates: time 0.008241/0.02362, allocations: 6.525 MB / 383.7 MB, free: 10.61 MB / 378.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 -ignoreHideResult -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.147214584983885]