Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.001057/0.001057, allocations: 84.22 kB / 21.19 MB, free: 3.383 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.001252/0.001252, allocations: 161 kB / 24.56 MB, free: 16 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 1.005/1.005, allocations: 177.1 MB / 205 MB, free: 5.625 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.7899/0.7899, allocations: 88.08 MB / 349.6 MB, free: 14.28 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_5,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_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,]+.|der.Tu.[0-9,]+..|der.x.[0-9,]+..|time|u.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 453.3 MB, free: 32.35 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.817e-05, allocations: 3.188 kB / 453.3 MB, free: 32.35 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001894/0.001923, allocations: 1.427 MB / 454.7 MB, free: 31.38 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008082/0.002731, allocations: 0.5387 MB / 455.3 MB, free: 31.04 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.00278, allocations: 0 / 455.3 MB, free: 31.04 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.51e-05/0.002875, allocations: 7.312 kB / 455.3 MB, free: 31.04 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.003224, allocations: 66.55 kB / 455.3 MB, free: 31 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001165/0.00334, allocations: 47.09 kB / 455.4 MB, free: 30.98 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.003497, allocations: 200.3 kB / 455.6 MB, free: 30.91 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/0.003541, allocations: 7.219 kB / 455.6 MB, free: 30.91 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.00372, allocations: 103.4 kB / 455.7 MB, free: 30.88 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.00388, allocations: 96.36 kB / 455.8 MB, free: 30.86 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.003907, allocations: 5.938 kB / 455.8 MB, free: 30.86 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.724e-05/0.004004, allocations: 33.41 kB / 455.8 MB, free: 30.85 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 8.899e-05/0.004093, allocations: 74.06 kB / 455.9 MB, free: 30.82 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.502e-05/0.004148, allocations: 54.92 kB / 455.9 MB, free: 30.8 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.004345, allocations: 155.4 kB / 456.1 MB, free: 30.76 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.004347, allocations: 6.656 kB / 456.1 MB, free: 30.75 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.643e-06/0.004349, allocations: 0 / 456.1 MB, free: 30.75 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.004355, allocations: 0 / 456.1 MB, free: 30.75 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005561/0.004911, allocations: 0.4987 MB / 456.6 MB, free: 30.32 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.004952, allocations: 8.906 kB / 456.6 MB, free: 30.32 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.005013, allocations: 26.78 kB / 456.6 MB, free: 30.31 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.005152, allocations: 156.6 kB / 456.8 MB, free: 30.16 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.005162, allocations: 7.516 kB / 456.8 MB, free: 30.16 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.005193, allocations: 20.73 kB / 456.8 MB, free: 30.15 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.005361, allocations: 122.9 kB / 456.9 MB, free: 30.1 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.005368, allocations: 4 kB / 456.9 MB, free: 30.1 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.005383, allocations: 6.719 kB / 456.9 MB, free: 30.09 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.00539, allocations: 3.062 kB / 456.9 MB, free: 30.09 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.866e-05/0.005488, allocations: 68.06 kB / 457 MB, free: 30.09 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.005664, allocations: 187.5 kB / 457.2 MB, free: 29.91 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004969/0.006161, allocations: 257 kB / 457.4 MB, free: 29.84 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.54e-05/0.006246, allocations: 70.5 kB / 457.5 MB, free: 29.81 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.006351, allocations: 15.03 kB / 457.5 MB, free: 29.8 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.006372, allocations: 44.38 kB / 457.6 MB, free: 29.75 MB / 410.8 MB Notification: Performance of pre-optimization done (n=28): time 1.493e-06/0.006373, allocations: 0 / 457.6 MB, free: 29.75 MB / 410.8 MB Notification: Performance of matching and sorting (n=28): time 0.0003469/0.00672, allocations: 242.3 kB / 457.8 MB, free: 29.68 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.006743, allocations: 54.41 kB / 457.9 MB, free: 29.61 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.171e-05/0.006825, allocations: 195.2 kB / 458.1 MB, free: 29.44 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.006844, allocations: 29.7 kB / 458.1 MB, free: 29.4 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.00688, allocations: 145.2 kB / 458.2 MB, free: 29.26 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.006e-05/0.00696, allocations: 114.9 kB / 458.3 MB, free: 29.17 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.207e-05/0.007042, allocations: 64.39 kB / 458.4 MB, free: 29.12 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.386e-05/0.007105, allocations: 0.5068 MB / 458.9 MB, free: 28.62 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.007208, allocations: 65.61 kB / 459 MB, free: 28.6 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.018e-05/0.007298, allocations: 53.23 kB / 459 MB, free: 28.59 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.007511, allocations: 151.7 kB / 459.2 MB, free: 28.54 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.007513, allocations: 0 / 459.2 MB, free: 28.54 MB / 410.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000315/0.007828, allocations: 233.8 kB / 459.4 MB, free: 28.45 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.007843, allocations: 8.516 kB / 459.4 MB, free: 28.45 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.007849, allocations: 2.625 kB / 459.4 MB, free: 28.45 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.007862, allocations: 0 / 459.4 MB, free: 28.45 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.008085, allocations: 74.97 kB / 459.5 MB, free: 28.44 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.008092, allocations: 0 / 459.5 MB, free: 28.44 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.008163, allocations: 24.8 kB / 459.5 MB, free: 28.43 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.008181, allocations: 13.62 kB / 459.5 MB, free: 28.42 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 (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 6.979e-05/0.00825, allocations: 170 kB / 459.7 MB, free: 28.25 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.008286, allocations: 27.09 kB / 459.7 MB, free: 28.23 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004237/0.00871, allocations: 295 kB / 460 MB, free: 28.12 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.008715, allocations: 5.062 kB / 460 MB, free: 28.12 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.00872, allocations: 7.234 kB / 460 MB, free: 28.11 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.008725, allocations: 0 / 460 MB, free: 28.11 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.008898, allocations: 217.1 kB / 460.2 MB, free: 27.91 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.008901, allocations: 0 / 460.2 MB, free: 27.91 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/0.009207, allocations: 87.02 kB / 460.3 MB, free: 27.91 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.009211, allocations: 0 / 460.3 MB, free: 27.91 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.009245, allocations: 16.89 kB / 460.3 MB, free: 27.9 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.009249, allocations: 3.156 kB / 460.3 MB, free: 27.9 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.00925, allocations: 0 / 460.3 MB, free: 27.9 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004699/0.00972, allocations: 389 kB / 460.7 MB, free: 27.73 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.11e-05/0.009791, allocations: 49.52 kB / 460.8 MB, free: 27.71 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.009824, allocations: 13.91 kB / 460.8 MB, free: 27.7 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.751e-05/0.009892, allocations: 4 kB / 460.8 MB, free: 27.7 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.009935, allocations: 28.78 kB / 460.8 MB, free: 27.7 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.00995, allocations: 9.719 kB / 460.8 MB, free: 27.69 MB / 410.8 MB Notification: Performance of sorting global known variables: time 3.6e-05/0.009986, allocations: 146.9 kB / 461 MB, free: 27.57 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.009986, allocations: 0 / 461 MB, free: 27.57 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002775/0.01026, allocations: 69.53 kB / 461 MB, free: 27.56 MB / 410.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.0001534/0.01042, allocations: 120.6 kB / 461.1 MB, free: 27.46 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003067/0.01072, allocations: 194.8 kB / 461.3 MB, free: 27.41 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01073, allocations: 0 / 461.3 MB, free: 27.41 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.01086, allocations: 120.5 kB / 461.5 MB, free: 27.38 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.01111, allocations: 36.34 kB / 461.5 MB, free: 27.37 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.01217, allocations: 0.6482 MB / 462.1 MB, free: 26.93 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.69e-05/0.01222, allocations: 88.33 kB / 462.2 MB, free: 26.86 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.01237, allocations: 77.12 kB / 462.3 MB, free: 26.85 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.039e-05/0.01245, allocations: 29.47 kB / 462.3 MB, free: 26.84 MB / 410.8 MB Notification: Performance of SimCode: time 1.102e-06/0.01245, allocations: 4 kB / 462.3 MB, free: 26.84 MB / 410.8 MB Notification: Performance of Templates: time 0.005732/0.01818, allocations: 3.275 MB / 465.6 MB, free: 26.48 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_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: 4.333444198127836]