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.002048/0.002048, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002564/0.002564, allocations: 161.7 kB / 24.27 MB, free: 172 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.507/1.507, allocations: 177.2 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.9932/0.9932, allocations: 88.07 MB / 349.1 MB, free: 14.23 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.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",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.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 452.5 MB, free: 32.2 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.627e-05/3.806e-05, allocations: 9.891 kB / 452.5 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002072/0.00211, allocations: 1.381 MB / 453.9 MB, free: 31.24 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.003149, allocations: 0.5203 MB / 454.4 MB, free: 30.91 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.846e-05/0.003198, allocations: 0 / 454.4 MB, free: 30.91 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.996e-05/0.003298, allocations: 10.39 kB / 454.4 MB, free: 30.91 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.003606, allocations: 62.67 kB / 454.5 MB, free: 30.88 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001078/0.003714, allocations: 48.27 kB / 454.5 MB, free: 30.85 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.003963, allocations: 320.3 kB / 454.8 MB, free: 30.76 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.059e-05/0.004004, allocations: 6.266 kB / 454.8 MB, free: 30.76 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.004235, allocations: 153.8 kB / 455 MB, free: 30.71 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.004457, allocations: 162.7 kB / 455.1 MB, free: 30.66 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.247e-05/0.004499, allocations: 14.38 kB / 455.2 MB, free: 30.66 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.004618, allocations: 43.31 kB / 455.2 MB, free: 30.66 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.004764, allocations: 125.7 kB / 455.3 MB, free: 30.61 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.004874, allocations: 100.7 kB / 455.4 MB, free: 30.58 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.005155, allocations: 260.4 kB / 455.7 MB, free: 30.51 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.005157, allocations: 4 kB / 455.7 MB, free: 30.5 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005158, allocations: 0 / 455.7 MB, free: 30.5 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.005164, allocations: 0 / 455.7 MB, free: 30.5 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.000994/0.006158, allocations: 0.514 MB / 456.2 MB, free: 30.14 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.006198, allocations: 14.67 kB / 456.2 MB, free: 30.14 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.006303, allocations: 39.83 kB / 456.3 MB, free: 30.12 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.006543, allocations: 192.9 kB / 456.4 MB, free: 29.96 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.006564, allocations: 21.41 kB / 456.5 MB, free: 29.95 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.32e-05/0.006627, allocations: 36.72 kB / 456.5 MB, free: 29.94 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.007065, allocations: 315.4 kB / 456.8 MB, free: 29.83 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.007076, allocations: 0 / 456.8 MB, free: 29.83 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.007105, allocations: 7.938 kB / 456.8 MB, free: 29.82 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.007113, allocations: 7.594 kB / 456.8 MB, free: 29.82 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/0.00749, allocations: 288.8 kB / 457.1 MB, free: 29.77 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.007863, allocations: 297.2 kB / 457.4 MB, free: 29.57 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.009448, allocations: 0.6675 MB / 458.1 MB, free: 29.39 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.00972, allocations: 216.5 kB / 458.3 MB, free: 29.32 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.009868, allocations: 22.16 kB / 458.3 MB, free: 29.32 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.009888, allocations: 38.06 kB / 458.3 MB, free: 29.28 MB / 410.8 MB Notification: Performance of pre-optimization done (n=53): time 1.413e-06/0.009889, allocations: 0 / 458.3 MB, free: 29.28 MB / 410.8 MB Notification: Performance of matching and sorting (n=53): time 0.00101/0.0109, allocations: 0.7121 MB / 459 MB, free: 29.05 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.01093, allocations: 57.31 kB / 459.1 MB, free: 28.99 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.01103, allocations: 153.8 kB / 459.2 MB, free: 28.87 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.01106, allocations: 33.7 kB / 459.3 MB, free: 28.83 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.0111, allocations: 102.2 kB / 459.4 MB, free: 28.73 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.01123, allocations: 215.5 kB / 459.6 MB, free: 28.56 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.01135, allocations: 107.1 kB / 459.7 MB, free: 28.51 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.01142, allocations: 345.4 kB / 460 MB, free: 28.18 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.01171, allocations: 235.7 kB / 460.3 MB, free: 28.12 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003128/0.01203, allocations: 247.4 kB / 460.5 MB, free: 28.06 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006792/0.0127, allocations: 0.5301 MB / 461 MB, free: 27.89 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01271, allocations: 0 / 461 MB, free: 27.89 MB / 410.8 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008905/0.0136, allocations: 0.6645 MB / 461.7 MB, free: 27.66 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.01362, allocations: 6.625 kB / 461.7 MB, free: 27.66 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.01363, allocations: 3.047 kB / 461.7 MB, free: 27.66 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.01365, allocations: 10.84 kB / 461.7 MB, free: 27.66 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/0.01419, allocations: 133.5 kB / 461.9 MB, free: 27.65 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.0142, allocations: 6.969 kB / 461.9 MB, free: 27.64 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.01438, allocations: 44.2 kB / 461.9 MB, free: 27.61 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/0.01442, allocations: 21.75 kB / 461.9 MB, free: 27.61 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.0001354/0.01456, allocations: 164 kB / 462.1 MB, free: 27.46 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.888e-05/0.01464, allocations: 45.98 kB / 462.1 MB, free: 27.44 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.01569, allocations: 0.723 MB / 462.8 MB, free: 27.17 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.0157, allocations: 7.406 kB / 462.9 MB, free: 27.17 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.01571, allocations: 0 / 462.9 MB, free: 27.17 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.01572, allocations: 7.281 kB / 462.9 MB, free: 27.17 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.01609, allocations: 363.7 kB / 463.2 MB, free: 26.93 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01609, allocations: 0 / 463.2 MB, free: 26.93 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000689/0.01678, allocations: 160 kB / 463.4 MB, free: 26.92 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.01678, allocations: 3 kB / 463.4 MB, free: 26.92 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.661e-05/0.01683, allocations: 22.95 kB / 463.4 MB, free: 26.91 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-05/0.01684, allocations: 0 / 463.4 MB, free: 26.91 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.01684, allocations: 2.938 kB / 463.4 MB, free: 26.91 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.01802, allocations: 0.9917 MB / 464.4 MB, free: 26.55 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.01818, allocations: 96.56 kB / 464.5 MB, free: 26.52 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.778e-05/0.01824, allocations: 20.12 kB / 464.5 MB, free: 26.51 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.01842, allocations: 18.22 kB / 464.5 MB, free: 26.5 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.849e-05/0.0185, allocations: 48.81 kB / 464.6 MB, free: 26.49 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.01853, allocations: 23.28 kB / 464.6 MB, free: 26.48 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.47e-05/0.01859, allocations: 112 kB / 464.7 MB, free: 26.4 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01859, allocations: 0 / 464.7 MB, free: 26.4 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003564/0.01894, allocations: 123.8 kB / 464.8 MB, free: 26.38 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.0001855/0.01913, allocations: 128.5 kB / 465 MB, free: 26.28 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0007451/0.01987, allocations: 0.5609 MB / 465.5 MB, free: 26.14 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01987, allocations: 0 / 465.5 MB, free: 26.14 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003603/0.02023, allocations: 314.1 kB / 465.8 MB, free: 26.06 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.02057, allocations: 57.72 kB / 465.9 MB, free: 26.03 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.02218, allocations: 1.256 MB / 467.1 MB, free: 25.34 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.02231, allocations: 198.8 kB / 467.3 MB, free: 25.26 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0003117/0.02262, allocations: 175.4 kB / 467.5 MB, free: 25.23 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.02279, allocations: 52.72 kB / 467.6 MB, free: 25.22 MB / 410.8 MB Notification: Performance of SimCode: time 9.32e-07/0.02279, allocations: 4 kB / 467.6 MB, free: 25.21 MB / 410.8 MB Notification: Performance of Templates: time 0.01015/0.03294, allocations: 5.357 MB / 472.9 MB, free: 24.62 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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) [Timeout 300] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.773065431043506]