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.00103/0.00103, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005492/0.005492, allocations: 157 kB / 24.69 MB, free: 9.43 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.8483/0.8483, allocations: 177.2 MB / 205 MB, free: 5.727 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.5699/0.5699, allocations: 88.08 MB / 349.5 MB, free: 14.34 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.513e-06/1.513e-06, allocations: 0 / 0.5258 GB, free: 1.883 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.497e-05, allocations: 3.828 kB / 0.5258 GB, free: 1.879 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001632/0.001657, allocations: 1.38 MB / 0.5272 GB, free: 0.4922 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006574/0.002315, allocations: 0.5184 MB / 0.5277 GB, free: 15.97 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.023e-05/0.002355, allocations: 0 / 0.5277 GB, free: 15.97 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 7.483e-05/0.00243, allocations: 11.86 kB / 0.5277 GB, free: 15.96 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002839/0.002713, allocations: 63.66 kB / 0.5278 GB, free: 15.9 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.62e-05/0.00279, allocations: 47.75 kB / 0.5278 GB, free: 15.85 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.003016, allocations: 323.3 kB / 0.5281 GB, free: 15.54 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.837e-05/0.003054, allocations: 8.172 kB / 0.5281 GB, free: 15.53 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.003243, allocations: 155.7 kB / 0.5283 GB, free: 15.38 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.003423, allocations: 147.7 kB / 0.5284 GB, free: 15.23 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 3.082e-05/0.003454, allocations: 20 kB / 0.5284 GB, free: 15.21 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.707e-05/0.003541, allocations: 47.91 kB / 0.5285 GB, free: 15.16 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.003653, allocations: 131.7 kB / 0.5286 GB, free: 15.04 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 7.355e-05/0.003727, allocations: 95.77 kB / 0.5287 GB, free: 14.94 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.00395, allocations: 263.2 kB / 0.529 GB, free: 14.68 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.003952, allocations: 0 / 0.529 GB, free: 14.68 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.283e-06/0.003954, allocations: 4 kB / 0.529 GB, free: 14.68 MB / 458.8 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.003958, allocations: 0 / 0.529 GB, free: 14.68 MB / 458.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.0006525/0.00461, allocations: 0.5094 MB / 0.5295 GB, free: 14.14 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.004644, allocations: 8.031 kB / 0.5295 GB, free: 14.13 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.004696, allocations: 24.8 kB / 0.5295 GB, free: 14.11 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.004894, allocations: 197.9 kB / 0.5297 GB, free: 13.89 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.004909, allocations: 24.44 kB / 0.5297 GB, free: 13.87 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.004954, allocations: 27.95 kB / 0.5297 GB, free: 13.84 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.005297, allocations: 319.9 kB / 0.53 GB, free: 13.52 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.005306, allocations: 0 / 0.53 GB, free: 13.52 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.005328, allocations: 15.94 kB / 0.53 GB, free: 13.5 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.005335, allocations: 4 kB / 0.53 GB, free: 13.5 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.005638, allocations: 285.8 kB / 0.5303 GB, free: 13.22 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.005934, allocations: 291.5 kB / 0.5306 GB, free: 12.91 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009903/0.006924, allocations: 0.6736 MB / 0.5313 GB, free: 12.22 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.007186, allocations: 214.2 kB / 0.5315 GB, free: 12.01 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.007292, allocations: 20.48 kB / 0.5315 GB, free: 11.99 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.00731, allocations: 39.06 kB / 0.5315 GB, free: 11.95 MB / 458.8 MB Notification: Performance of pre-optimization done (n=53): time 1.553e-06/0.007311, allocations: 0 / 0.5315 GB, free: 11.95 MB / 458.8 MB Notification: Performance of matching and sorting (n=53): time 0.0007784/0.00809, allocations: 0.7016 MB / 0.5322 GB, free: 11.23 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.00812, allocations: 55.91 kB / 0.5323 GB, free: 11.17 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.073e-05/0.008211, allocations: 149.6 kB / 0.5324 GB, free: 11.01 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.008235, allocations: 29.7 kB / 0.5324 GB, free: 10.97 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/0.008277, allocations: 101.1 kB / 0.5325 GB, free: 10.87 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.008393, allocations: 222.1 kB / 0.5327 GB, free: 10.65 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.605e-05/0.008489, allocations: 106.3 kB / 0.5328 GB, free: 10.54 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 9.022e-05/0.008579, allocations: 350.7 kB / 0.5332 GB, free: 10.19 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.008825, allocations: 241.1 kB / 0.5334 GB, free: 9.953 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.009067, allocations: 241.7 kB / 0.5336 GB, free: 9.715 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005218/0.009589, allocations: 0.5284 MB / 0.5341 GB, free: 9.184 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.009591, allocations: 0 / 0.5341 GB, free: 9.184 MB / 458.8 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006178/0.01021, allocations: 0.6493 MB / 0.5348 GB, free: 8.527 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.01022, allocations: 8 kB / 0.5348 GB, free: 8.52 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.01023, allocations: 0 / 0.5348 GB, free: 8.52 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.01024, allocations: 7.984 kB / 0.5348 GB, free: 8.512 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.01053, allocations: 143.8 kB / 0.5349 GB, free: 8.371 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.01054, allocations: 4 kB / 0.5349 GB, free: 8.367 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.75e-05/0.01063, allocations: 35.73 kB / 0.535 GB, free: 8.332 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.01065, allocations: 19.98 kB / 0.535 GB, free: 8.312 MB / 458.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.0001125/0.01077, allocations: 161.7 kB / 0.5351 GB, free: 8.145 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.01079, allocations: 23.86 kB / 0.5352 GB, free: 8.121 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007854/0.01158, allocations: 0.7281 MB / 0.5359 GB, free: 7.391 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.01158, allocations: 4 kB / 0.5359 GB, free: 7.387 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.01159, allocations: 4 kB / 0.5359 GB, free: 7.383 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.0116, allocations: 7.984 kB / 0.5359 GB, free: 7.375 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.01189, allocations: 369.3 kB / 0.5362 GB, free: 6.984 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01189, allocations: 4 kB / 0.5362 GB, free: 6.98 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/0.0123, allocations: 159.8 kB / 0.5364 GB, free: 6.824 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.0123, allocations: 0 / 0.5364 GB, free: 6.824 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.01233, allocations: 23.98 kB / 0.5364 GB, free: 6.801 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.01233, allocations: 7.984 kB / 0.5364 GB, free: 6.793 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01233, allocations: 0 / 0.5364 GB, free: 6.793 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009127/0.01325, allocations: 0.9631 MB / 0.5374 GB, free: 5.816 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.01336, allocations: 91.55 kB / 0.5375 GB, free: 5.727 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.0134, allocations: 19.98 kB / 0.5375 GB, free: 5.707 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.327e-05/0.01348, allocations: 16 kB / 0.5375 GB, free: 5.691 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.01353, allocations: 56.62 kB / 0.5375 GB, free: 5.637 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.01355, allocations: 20 kB / 0.5376 GB, free: 5.617 MB / 458.8 MB Notification: Performance of sorting global known variables: time 5.29e-05/0.0136, allocations: 114.6 kB / 0.5377 GB, free: 5.508 MB / 458.8 MB Notification: Performance of sort global known variables: time 5e-08/0.0136, allocations: 0 / 0.5377 GB, free: 5.508 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0002168/0.01382, allocations: 127.9 kB / 0.5378 GB, free: 5.383 MB / 458.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.0001289/0.01395, allocations: 126.3 kB / 0.5379 GB, free: 5.25 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0005668/0.01452, allocations: 0.5559 MB / 0.5385 GB, free: 4.695 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01452, allocations: 0 / 0.5385 GB, free: 4.695 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002749/0.01479, allocations: 315.6 kB / 0.5388 GB, free: 4.387 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.015, allocations: 55.97 kB / 0.5388 GB, free: 4.332 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.01618, allocations: 1.275 MB / 0.5401 GB, free: 3.02 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.01629, allocations: 200.6 kB / 0.5403 GB, free: 2.801 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.01641, allocations: 52.48 kB / 0.5403 GB, free: 2.75 MB / 458.8 MB Notification: Performance of SimCode: time 5.31e-07/0.01641, allocations: 0 / 0.5403 GB, free: 2.75 MB / 458.8 MB Notification: Performance of Templates: time 0.0048/0.02121, allocations: 5.523 MB / 0.5457 GB, free: 13.23 MB / 474.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: 5.946410097181797]