Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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.001074/0.001074, allocations: 80.41 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.00109/0.00109, allocations: 160.4 kB / 25.61 MB, free: 8.895 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.9539/0.9539, allocations: 177.1 MB / 206 MB, free: 4.492 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.7568/0.7568, allocations: 88.09 MB / 350.7 MB, free: 11.77 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_20,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_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,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_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.986e-06/2.986e-06, allocations: 4 kB / 454.6 MB, free: 6.293 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.759e-05, allocations: 4.844 kB / 454.6 MB, free: 6.289 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.005187/0.005214, allocations: 1.415 MB / 456 MB, free: 4.863 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008348/0.006049, allocations: 0.5417 MB / 456.5 MB, free: 4.32 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.371e-05/0.006103, allocations: 0 / 456.5 MB, free: 4.32 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 8.701e-05/0.00619, allocations: 11.86 kB / 456.5 MB, free: 4.309 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.006482, allocations: 63.66 kB / 456.6 MB, free: 4.246 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.551e-05/0.006578, allocations: 43.81 kB / 456.6 MB, free: 4.203 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004464/0.007024, allocations: 0.5537 MB / 457.2 MB, free: 3.648 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.007063, allocations: 12.19 kB / 457.2 MB, free: 3.637 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003327/0.01039, allocations: 263.6 kB / 457.5 MB, free: 3.379 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003693/0.01076, allocations: 275.4 kB / 457.7 MB, free: 3.109 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 6.069e-05/0.01082, allocations: 32 kB / 457.8 MB, free: 3.078 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.01095, allocations: 59.91 kB / 457.8 MB, free: 3.02 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.01117, allocations: 251.8 kB / 458.1 MB, free: 2.773 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.01134, allocations: 179.6 kB / 458.2 MB, free: 2.598 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004811/0.01182, allocations: 486.4 kB / 458.7 MB, free: 2.121 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.01182, allocations: 0 / 458.7 MB, free: 2.121 MB / 426.8 MB Notification: Performance of FrontEnd: time 7.42e-07/0.01182, allocations: 0 / 458.7 MB, free: 2.121 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.01183, allocations: 3.938 kB / 458.7 MB, free: 2.117 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001191/0.01302, allocations: 0.8625 MB / 459.6 MB, free: 1.219 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.01305, allocations: 12.03 kB / 459.6 MB, free: 1.207 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.01319, allocations: 76.7 kB / 459.7 MB, free: 1.133 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003305/0.01649, allocations: 243.9 kB / 459.9 MB, free: 0.8672 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.01652, allocations: 29.38 kB / 459.9 MB, free: 0.8398 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.155e-05/0.01661, allocations: 63.77 kB / 460 MB, free: 0.7773 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004576/0.01707, allocations: 338.2 kB / 460.3 MB, free: 452 kB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.01708, allocations: 4 kB / 460.3 MB, free: 448 kB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.345e-05/0.01712, allocations: 16 kB / 460.4 MB, free: 432 kB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.01713, allocations: 12 kB / 460.4 MB, free: 420 kB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/0.01748, allocations: 210.8 kB / 460.6 MB, free: 208 kB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.01796, allocations: 352.5 kB / 460.9 MB, free: 15.83 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003915/0.02188, allocations: 0.9329 MB / 461.8 MB, free: 14.88 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.02208, allocations: 186.5 kB / 462 MB, free: 14.7 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.02219, allocations: 29 kB / 462.1 MB, free: 14.67 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.02221, allocations: 50.33 kB / 462.1 MB, free: 14.61 MB / 442.8 MB Notification: Performance of pre-optimization done (n=103): time 2.244e-06/0.02222, allocations: 0 / 462.1 MB, free: 14.61 MB / 442.8 MB Notification: Performance of matching and sorting (n=103): time 0.0008504/0.02307, allocations: 0.7139 MB / 462.8 MB, free: 13.89 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.0231, allocations: 64.41 kB / 462.9 MB, free: 13.82 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.466e-05/0.02319, allocations: 222.4 kB / 463.1 MB, free: 13.59 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.02323, allocations: 41.7 kB / 463.1 MB, free: 13.54 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.02329, allocations: 164.8 kB / 463.3 MB, free: 13.38 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.02351, allocations: 432.3 kB / 463.7 MB, free: 12.95 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.02368, allocations: 212.5 kB / 463.9 MB, free: 12.73 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.02383, allocations: 0.5585 MB / 464.5 MB, free: 12.16 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.02401, allocations: 154.4 kB / 464.6 MB, free: 12.01 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.02419, allocations: 167.7 kB / 464.8 MB, free: 11.85 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004516/0.02464, allocations: 460.4 kB / 465.3 MB, free: 11.39 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.02465, allocations: 0 / 465.3 MB, free: 11.39 MB / 442.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0006774/0.02532, allocations: 0.6764 MB / 465.9 MB, free: 10.71 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.02534, allocations: 7.938 kB / 465.9 MB, free: 10.7 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.02534, allocations: 0 / 465.9 MB, free: 10.7 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.02536, allocations: 4 kB / 465.9 MB, free: 10.7 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005311/0.02589, allocations: 271.6 kB / 466.2 MB, free: 10.43 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.02589, allocations: 4 kB / 466.2 MB, free: 10.43 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.02606, allocations: 83.36 kB / 466.3 MB, free: 10.35 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.0261, allocations: 27.98 kB / 466.3 MB, free: 10.32 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 (144): * Single equations (assignments): 144 * 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.0001518/0.02625, allocations: 208.4 kB / 466.5 MB, free: 10.11 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.103e-05/0.02634, allocations: 79.66 kB / 466.6 MB, free: 10.03 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009448/0.02728, allocations: 0.9004 MB / 467.5 MB, free: 9.121 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.02729, allocations: 12 kB / 467.5 MB, free: 9.109 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.02729, allocations: 4 kB / 467.5 MB, free: 9.105 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.0273, allocations: 11.97 kB / 467.5 MB, free: 9.094 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.02772, allocations: 448.7 kB / 468 MB, free: 8.633 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.02772, allocations: 0 / 468 MB, free: 8.633 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007575/0.02848, allocations: 303.7 kB / 468.3 MB, free: 8.336 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.02849, allocations: 8 kB / 468.3 MB, free: 8.328 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.25e-05/0.02855, allocations: 39.97 kB / 468.3 MB, free: 8.289 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.02855, allocations: 11.88 kB / 468.3 MB, free: 8.277 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.02856, allocations: 4 kB / 468.3 MB, free: 8.273 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.02969, allocations: 1.109 MB / 469.4 MB, free: 7.137 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.02987, allocations: 143.2 kB / 469.6 MB, free: 6.996 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.398e-05/0.02994, allocations: 43.97 kB / 469.6 MB, free: 6.953 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.03009, allocations: 23.94 kB / 469.6 MB, free: 6.93 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.648e-05/0.03019, allocations: 89.14 kB / 469.7 MB, free: 6.844 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/0.03023, allocations: 35.98 kB / 469.8 MB, free: 6.809 MB / 442.8 MB Notification: Performance of sorting global known variables: time 6.57e-05/0.0303, allocations: 164.2 kB / 469.9 MB, free: 6.648 MB / 442.8 MB Notification: Performance of sort global known variables: time 5e-08/0.0303, allocations: 0 / 469.9 MB, free: 6.648 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0003571/0.03065, allocations: 239.9 kB / 470.2 MB, free: 6.414 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20]) * 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 (144): * Single equations (assignments): 144 * 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.0002225/0.03087, allocations: 166.9 kB / 470.3 MB, free: 6.242 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0006224/0.0315, allocations: 0.6027 MB / 470.9 MB, free: 5.637 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.0315, allocations: 0 / 470.9 MB, free: 5.637 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003499/0.03185, allocations: 397.5 kB / 471.3 MB, free: 5.246 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.03217, allocations: 119.6 kB / 471.4 MB, free: 5.129 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.03419, allocations: 1.989 MB / 473.4 MB, free: 3.094 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.03429, allocations: 188.8 kB / 473.6 MB, free: 2.887 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.0002431/0.03453, allocations: 129.1 kB / 473.7 MB, free: 2.762 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/0.03488, allocations: 238.1 kB / 474 MB, free: 2.527 MB / 442.8 MB Notification: Performance of SimCode: time 4.91e-07/0.03488, allocations: 0 / 474 MB, free: 2.527 MB / 442.8 MB Notification: Performance of Templates: time 0.0124/0.04728, allocations: 11.11 MB / 485.1 MB, free: 7.523 MB / 458.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_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: 11.8456956082955]