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.0009365/0.0009365, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009984/0.0009984, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 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.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.6678/0.6678, allocations: 88.07 MB / 349.9 MB, free: 14.29 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_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 453.2 MB, free: 32.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.714e-05/3.912e-05, allocations: 5.484 kB / 453.2 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002592/0.002631, allocations: 1.43 MB / 454.7 MB, free: 31.43 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009639/0.003595, allocations: 0.5403 MB / 455.2 MB, free: 31.09 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.93e-05/0.003664, allocations: 2.75 kB / 455.2 MB, free: 31.09 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.873e-05/0.003763, allocations: 7.359 kB / 455.2 MB, free: 31.09 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003904/0.004153, allocations: 58.47 kB / 455.3 MB, free: 31.06 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.004307, allocations: 37.38 kB / 455.3 MB, free: 31.04 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.004595, allocations: 324.7 kB / 455.6 MB, free: 30.95 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.004647, allocations: 7.188 kB / 455.6 MB, free: 30.95 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003152/0.004962, allocations: 173.2 kB / 455.8 MB, free: 30.88 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.005234, allocations: 149.2 kB / 456 MB, free: 30.84 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.668e-05/0.00528, allocations: 15.28 kB / 456 MB, free: 30.84 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.005409, allocations: 44.58 kB / 456 MB, free: 30.84 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.005552, allocations: 119.3 kB / 456.1 MB, free: 30.8 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.005668, allocations: 94.27 kB / 456.2 MB, free: 30.77 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003606/0.006028, allocations: 273.9 kB / 456.5 MB, free: 30.69 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.006033, allocations: 0 / 456.5 MB, free: 30.69 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.303e-06/0.006034, allocations: 0 / 456.5 MB, free: 30.69 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.006045, allocations: 0 / 456.5 MB, free: 30.69 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.0009001/0.006945, allocations: 0.6257 MB / 457.1 MB, free: 30.21 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.006989, allocations: 8.562 kB / 457.1 MB, free: 30.21 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.007102, allocations: 39.7 kB / 457.2 MB, free: 30.2 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.007345, allocations: 197.2 kB / 457.4 MB, free: 30.03 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.007363, allocations: 21.06 kB / 457.4 MB, free: 30.02 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-05/0.007423, allocations: 30.17 kB / 457.4 MB, free: 30 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.007762, allocations: 208.7 kB / 457.6 MB, free: 29.94 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.007774, allocations: 0 / 457.6 MB, free: 29.94 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.007802, allocations: 6.938 kB / 457.6 MB, free: 29.93 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.007813, allocations: 6 kB / 457.6 MB, free: 29.93 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002553/0.008068, allocations: 139.9 kB / 457.8 MB, free: 29.91 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.008391, allocations: 242.5 kB / 458 MB, free: 29.7 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.009563, allocations: 0.5042 MB / 458.5 MB, free: 29.57 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.009765, allocations: 118.9 kB / 458.6 MB, free: 29.54 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/0.0099, allocations: 16.16 kB / 458.6 MB, free: 29.54 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.009925, allocations: 44.08 kB / 458.7 MB, free: 29.49 MB / 410.8 MB Notification: Performance of pre-optimization done (n=53): time 2.414e-06/0.009927, allocations: 0 / 458.7 MB, free: 29.49 MB / 410.8 MB Notification: Performance of matching and sorting (n=53): time 0.0007865/0.01071, allocations: 450.8 kB / 459.1 MB, free: 29.36 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.01075, allocations: 57.81 kB / 459.2 MB, free: 29.29 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.987e-05/0.01085, allocations: 200.8 kB / 459.4 MB, free: 29.12 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.01087, allocations: 33.7 kB / 459.4 MB, free: 29.08 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.01091, allocations: 152.9 kB / 459.5 MB, free: 28.93 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.01105, allocations: 219.2 kB / 459.8 MB, free: 28.76 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.01118, allocations: 113.8 kB / 459.9 MB, free: 28.7 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.302e-05/0.01125, allocations: 0.5208 MB / 460.4 MB, free: 28.18 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.01145, allocations: 101.3 kB / 460.5 MB, free: 28.17 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.01165, allocations: 110.6 kB / 460.6 MB, free: 28.15 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004366/0.01209, allocations: 283.3 kB / 460.9 MB, free: 28.05 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01209, allocations: 0 / 460.9 MB, free: 28.05 MB / 410.8 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006267/0.01271, allocations: 417.6 kB / 461.3 MB, free: 27.92 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.01274, allocations: 5.625 kB / 461.3 MB, free: 27.92 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.01274, allocations: 0 / 461.3 MB, free: 27.92 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.01276, allocations: 6.625 kB / 461.3 MB, free: 27.91 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.01318, allocations: 139.5 kB / 461.4 MB, free: 27.9 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.01319, allocations: 2.875 kB / 461.4 MB, free: 27.9 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.01333, allocations: 43.3 kB / 461.5 MB, free: 27.87 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.01337, allocations: 23.09 kB / 461.5 MB, free: 27.86 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 0.0001082/0.01348, allocations: 185.8 kB / 461.7 MB, free: 27.68 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.57e-05/0.01354, allocations: 41.36 kB / 461.7 MB, free: 27.66 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000813/0.01435, allocations: 0.5155 MB / 462.2 MB, free: 27.46 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.01436, allocations: 9.031 kB / 462.2 MB, free: 27.46 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.01437, allocations: 0 / 462.2 MB, free: 27.46 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.01437, allocations: 10.38 kB / 462.3 MB, free: 27.46 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.01469, allocations: 301.9 kB / 462.6 MB, free: 27.21 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.01469, allocations: 0 / 462.6 MB, free: 27.21 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005973/0.01529, allocations: 160.9 kB / 462.7 MB, free: 27.2 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.495e-06/0.01529, allocations: 2.844 kB / 462.7 MB, free: 27.2 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.813e-05/0.01535, allocations: 23.45 kB / 462.7 MB, free: 27.19 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.01536, allocations: 2.938 kB / 462.7 MB, free: 27.19 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.01536, allocations: 0 / 462.7 MB, free: 27.19 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009317/0.01629, allocations: 0.661 MB / 463.4 MB, free: 26.95 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.01644, allocations: 95.27 kB / 463.5 MB, free: 26.91 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.058e-05/0.0165, allocations: 23.58 kB / 463.5 MB, free: 26.9 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.01664, allocations: 10.56 kB / 463.5 MB, free: 26.89 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.774e-05/0.01671, allocations: 47.98 kB / 463.6 MB, free: 26.88 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.01675, allocations: 18.31 kB / 463.6 MB, free: 26.88 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.271e-05/0.0168, allocations: 154 kB / 463.7 MB, free: 26.75 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.0168, allocations: 0 / 463.7 MB, free: 26.75 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003785/0.01718, allocations: 122.1 kB / 463.9 MB, free: 26.73 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.0002097/0.01739, allocations: 141.9 kB / 464 MB, free: 26.62 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0006039/0.01799, allocations: 363.8 kB / 464.4 MB, free: 26.55 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01799, allocations: 0 / 464.4 MB, free: 26.55 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002953/0.01829, allocations: 230.1 kB / 464.6 MB, free: 26.5 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.01863, allocations: 62.73 kB / 464.6 MB, free: 26.46 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.02039, allocations: 1.082 MB / 465.7 MB, free: 25.79 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.468e-05/0.02047, allocations: 125.6 kB / 465.8 MB, free: 25.71 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.000318/0.02079, allocations: 147.1 kB / 466 MB, free: 25.68 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.02093, allocations: 50.77 kB / 466 MB, free: 25.67 MB / 410.8 MB Notification: Performance of SimCode: time 1.523e-06/0.02093, allocations: 0 / 466 MB, free: 25.67 MB / 410.8 MB Notification: Performance of Templates: time 0.008918/0.02985, allocations: 5.359 MB / 471.4 MB, free: 25.07 MB / 410.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 -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.7726711560972035]