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.001521/0.001521, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001357/0.001357, allocations: 163.9 kB / 25.61 MB, free: 8.879 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 0.9493/0.9493, allocations: 177.2 MB / 206.1 MB, free: 4.508 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.8612/0.8612, allocations: 88.08 MB / 350.7 MB, free: 11.83 MB / 330.8 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.513e-06/1.513e-06, allocations: 0 / 454.6 MB, free: 6.301 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.894e-05, allocations: 2.312 kB / 454.6 MB, free: 6.297 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002572/0.002601, allocations: 1.426 MB / 456 MB, free: 4.863 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009866/0.003587, allocations: 0.5417 MB / 456.5 MB, free: 4.32 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.331e-05/0.003651, allocations: 0 / 456.5 MB, free: 4.32 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 9.333e-05/0.003744, allocations: 7.922 kB / 456.6 MB, free: 4.312 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.004073, allocations: 67.66 kB / 456.6 MB, free: 4.246 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.004205, allocations: 39.83 kB / 456.7 MB, free: 4.207 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003455/0.004551, allocations: 327.2 kB / 457 MB, free: 3.887 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.004595, allocations: 4.188 kB / 457 MB, free: 3.883 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.004888, allocations: 159.7 kB / 457.1 MB, free: 3.727 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.005166, allocations: 155.6 kB / 457.3 MB, free: 3.574 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/0.005206, allocations: 16 kB / 457.3 MB, free: 3.559 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.005323, allocations: 39.97 kB / 457.3 MB, free: 3.52 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.005477, allocations: 127.7 kB / 457.5 MB, free: 3.395 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.005588, allocations: 99.77 kB / 457.6 MB, free: 3.297 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.005921, allocations: 267.1 kB / 457.8 MB, free: 3.035 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.005925, allocations: 0 / 457.8 MB, free: 3.035 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.353e-06/0.005927, allocations: 0 / 457.8 MB, free: 3.035 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.005933, allocations: 0 / 457.8 MB, free: 3.035 MB / 426.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.0008818/0.006814, allocations: 0.6248 MB / 458.5 MB, free: 2.375 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.006854, allocations: 11.97 kB / 458.5 MB, free: 2.363 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.95e-05/0.006953, allocations: 40.8 kB / 458.5 MB, free: 2.324 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.007172, allocations: 188.7 kB / 458.7 MB, free: 2.113 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.007191, allocations: 16.44 kB / 458.7 MB, free: 2.098 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.709e-05/0.007248, allocations: 27.95 kB / 458.7 MB, free: 2.07 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.007541, allocations: 184 kB / 458.9 MB, free: 1.887 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.007553, allocations: 0 / 458.9 MB, free: 1.887 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.007579, allocations: 11.98 kB / 458.9 MB, free: 1.875 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.007589, allocations: 4 kB / 458.9 MB, free: 1.871 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.007788, allocations: 119.3 kB / 459 MB, free: 1.75 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.008107, allocations: 223.5 kB / 459.3 MB, free: 1.508 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.009136, allocations: 474.2 kB / 459.7 MB, free: 1.031 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.009294, allocations: 101.1 kB / 459.8 MB, free: 0.9297 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.009404, allocations: 16.48 kB / 459.8 MB, free: 0.9141 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.009432, allocations: 45.89 kB / 459.9 MB, free: 0.8594 MB / 426.8 MB Notification: Performance of pre-optimization done (n=53): time 2.114e-06/0.009434, allocations: 0 / 459.9 MB, free: 0.8594 MB / 426.8 MB Notification: Performance of matching and sorting (n=53): time 0.0006464/0.01008, allocations: 390.8 kB / 460.3 MB, free: 480 kB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.01012, allocations: 59.91 kB / 460.3 MB, free: 408 kB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.01024, allocations: 205.2 kB / 460.5 MB, free: 188 kB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.01027, allocations: 33.7 kB / 460.6 MB, free: 148 kB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.01032, allocations: 143.9 kB / 460.7 MB, free: 0 / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.01051, allocations: 222.3 kB / 460.9 MB, free: 15.78 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.01065, allocations: 115.9 kB / 461 MB, free: 15.65 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.01081, allocations: 0.5271 MB / 461.6 MB, free: 15.12 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.01095, allocations: 77.25 kB / 461.6 MB, free: 15.04 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.01109, allocations: 89.83 kB / 461.7 MB, free: 14.95 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.01143, allocations: 232.1 kB / 461.9 MB, free: 14.72 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.01143, allocations: 0 / 461.9 MB, free: 14.72 MB / 442.8 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005343/0.01197, allocations: 373.1 kB / 462.3 MB, free: 14.35 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.01199, allocations: 7.938 kB / 462.3 MB, free: 14.34 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.01199, allocations: 0 / 462.3 MB, free: 14.34 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.01201, allocations: 4 kB / 462.3 MB, free: 14.34 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/0.01243, allocations: 143.8 kB / 462.5 MB, free: 14.2 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.01244, allocations: 0 / 462.5 MB, free: 14.2 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.01258, allocations: 39.67 kB / 462.5 MB, free: 14.16 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.01261, allocations: 19.98 kB / 462.5 MB, free: 14.14 MB / 442.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.0001382/0.01275, allocations: 192.4 kB / 462.7 MB, free: 13.94 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.032e-05/0.01282, allocations: 43.86 kB / 462.8 MB, free: 13.9 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007405/0.01356, allocations: 477.8 kB / 463.2 MB, free: 13.43 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.01357, allocations: 8 kB / 463.2 MB, free: 13.42 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.01357, allocations: 0 / 463.2 MB, free: 13.42 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.01358, allocations: 3.984 kB / 463.2 MB, free: 13.42 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/0.01394, allocations: 289.4 kB / 463.5 MB, free: 13.11 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.01394, allocations: 0 / 463.5 MB, free: 13.11 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005649/0.01451, allocations: 163.8 kB / 463.7 MB, free: 12.95 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.01452, allocations: 8 kB / 463.7 MB, free: 12.94 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.167e-05/0.01457, allocations: 23.98 kB / 463.7 MB, free: 12.92 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.01458, allocations: 4 kB / 463.7 MB, free: 12.91 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01458, allocations: 0 / 463.7 MB, free: 12.91 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000847/0.01542, allocations: 0.5993 MB / 464.3 MB, free: 12.3 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.01555, allocations: 71.61 kB / 464.4 MB, free: 12.23 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.566e-05/0.01561, allocations: 19.98 kB / 464.4 MB, free: 12.21 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.01573, allocations: 12 kB / 464.4 MB, free: 12.2 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.356e-05/0.0158, allocations: 48.55 kB / 464.5 MB, free: 12.15 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.01583, allocations: 19.98 kB / 464.5 MB, free: 12.13 MB / 442.8 MB Notification: Performance of sorting global known variables: time 6.919e-05/0.0159, allocations: 155.1 kB / 464.6 MB, free: 11.98 MB / 442.8 MB Notification: Performance of sort global known variables: time 8e-08/0.0159, allocations: 0 / 464.6 MB, free: 11.98 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0003539/0.01626, allocations: 123.9 kB / 464.7 MB, free: 11.86 MB / 442.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.0001921/0.01645, allocations: 127.1 kB / 464.9 MB, free: 11.72 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0004769/0.01693, allocations: 322.4 kB / 465.2 MB, free: 11.4 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01693, allocations: 0 / 465.2 MB, free: 11.4 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002522/0.01718, allocations: 212.5 kB / 465.4 MB, free: 11.19 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.01748, allocations: 59.83 kB / 465.5 MB, free: 11.13 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.01915, allocations: 1.087 MB / 466.5 MB, free: 10.01 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.366e-05/0.01924, allocations: 122.8 kB / 466.7 MB, free: 9.867 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.0002205/0.01946, allocations: 71.22 kB / 466.7 MB, free: 9.801 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.01973, allocations: 158.2 kB / 466.9 MB, free: 9.645 MB / 442.8 MB Notification: Performance of SimCode: time 1.182e-06/0.01973, allocations: 0 / 466.9 MB, free: 9.645 MB / 442.8 MB Notification: Performance of Templates: time 0.009832/0.02956, allocations: 6.002 MB / 472.9 MB, free: 3.723 MB / 442.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.454895982053131]