Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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.001046/0.001046, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004761/0.004761, allocations: 164 kB / 24.7 MB, free: 8.891 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.8337/0.8337, allocations: 177.1 MB / 205 MB, free: 5.746 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.5374/0.5374, allocations: 88.06 MB / 349.5 MB, free: 14.36 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_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.5258 GB, free: 1.902 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.176e-05, allocations: 2.281 kB / 0.5258 GB, free: 1.898 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001574/0.001596, allocations: 1.376 MB / 0.5272 GB, free: 0.5156 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006954/0.002291, allocations: 0.5185 MB / 0.5277 GB, free: 15.99 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.014e-05/0.002331, allocations: 0 / 0.5277 GB, free: 15.99 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 7.837e-05/0.00241, allocations: 11.86 kB / 0.5277 GB, free: 15.98 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002878/0.002698, allocations: 63.58 kB / 0.5278 GB, free: 15.92 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.935e-05/0.002797, allocations: 47.75 kB / 0.5278 GB, free: 15.88 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.002967, allocations: 207.4 kB / 0.528 GB, free: 15.67 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.632e-05/0.003003, allocations: 4.188 kB / 0.528 GB, free: 15.67 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.003163, allocations: 103.8 kB / 0.5281 GB, free: 15.57 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.003313, allocations: 91.8 kB / 0.5282 GB, free: 15.48 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.003336, allocations: 8 kB / 0.5282 GB, free: 15.47 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.979e-05/0.003416, allocations: 35.92 kB / 0.5282 GB, free: 15.43 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 8.062e-05/0.003497, allocations: 71.78 kB / 0.5283 GB, free: 15.36 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.003545, allocations: 55.89 kB / 0.5284 GB, free: 15.31 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.003718, allocations: 155.5 kB / 0.5285 GB, free: 15.16 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.003723, allocations: 4 kB / 0.5285 GB, free: 15.15 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.252e-06/0.003724, allocations: 3.938 kB / 0.5285 GB, free: 15.15 MB / 458.8 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.003728, allocations: 0 / 0.5285 GB, free: 15.15 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005034/0.004232, allocations: 397.9 kB / 0.5289 GB, free: 14.73 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.004266, allocations: 12.02 kB / 0.5289 GB, free: 14.71 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.004309, allocations: 16.84 kB / 0.5289 GB, free: 14.7 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.004467, allocations: 158.3 kB / 0.5291 GB, free: 14.52 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.004477, allocations: 8.609 kB / 0.5291 GB, free: 14.51 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.00451, allocations: 24.08 kB / 0.5291 GB, free: 14.49 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.004722, allocations: 171.4 kB / 0.5293 GB, free: 14.32 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.00473, allocations: 0 / 0.5293 GB, free: 14.32 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.004744, allocations: 4 kB / 0.5293 GB, free: 14.31 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.004749, allocations: 4 kB / 0.5293 GB, free: 14.31 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.004914, allocations: 148.6 kB / 0.5294 GB, free: 14.16 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002025/0.005117, allocations: 202.1 kB / 0.5296 GB, free: 13.94 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005667/0.005683, allocations: 349.6 kB / 0.5299 GB, free: 13.59 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.005802, allocations: 116.7 kB / 0.53 GB, free: 13.47 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.132e-05/0.005893, allocations: 12 kB / 0.5301 GB, free: 13.46 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.005913, allocations: 42.48 kB / 0.5301 GB, free: 13.41 MB / 458.8 MB Notification: Performance of pre-optimization done (n=28): time 1.393e-06/0.005914, allocations: 0 / 0.5301 GB, free: 13.41 MB / 458.8 MB Notification: Performance of matching and sorting (n=28): time 0.0004391/0.006353, allocations: 378.1 kB / 0.5305 GB, free: 13.04 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.006381, allocations: 51.41 kB / 0.5305 GB, free: 12.97 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.198e-05/0.006453, allocations: 137.7 kB / 0.5306 GB, free: 12.83 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.006472, allocations: 29.7 kB / 0.5307 GB, free: 12.79 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.433e-05/0.006506, allocations: 92.62 kB / 0.5308 GB, free: 12.7 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.58e-05/0.006572, allocations: 115 kB / 0.5309 GB, free: 12.59 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/0.006634, allocations: 66.02 kB / 0.5309 GB, free: 12.51 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.006715, allocations: 330.8 kB / 0.5312 GB, free: 12.18 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.006848, allocations: 124.5 kB / 0.5314 GB, free: 12.06 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.006972, allocations: 133.2 kB / 0.5315 GB, free: 11.93 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.007239, allocations: 274.3 kB / 0.5318 GB, free: 11.66 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.007241, allocations: 4 kB / 0.5318 GB, free: 11.66 MB / 458.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003361/0.007577, allocations: 365.9 kB / 0.5321 GB, free: 11.29 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.007589, allocations: 7.984 kB / 0.5321 GB, free: 11.29 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.007593, allocations: 0 / 0.5321 GB, free: 11.29 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.007606, allocations: 4 kB / 0.5321 GB, free: 11.28 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.007764, allocations: 75.91 kB / 0.5322 GB, free: 11.21 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.007769, allocations: 0 / 0.5322 GB, free: 11.21 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.124e-05/0.00782, allocations: 19.83 kB / 0.5322 GB, free: 11.19 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.007833, allocations: 8 kB / 0.5322 GB, free: 11.18 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 (39): * Single equations (assignments): 39 * 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 8.054e-05/0.007914, allocations: 141.8 kB / 0.5324 GB, free: 11.03 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.007939, allocations: 23.84 kB / 0.5324 GB, free: 11.01 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004186/0.008358, allocations: 391.2 kB / 0.5327 GB, free: 10.62 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.008361, allocations: 4 kB / 0.5328 GB, free: 10.62 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.008366, allocations: 7.984 kB / 0.5328 GB, free: 10.61 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.00837, allocations: 0 / 0.5328 GB, free: 10.61 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.008547, allocations: 233 kB / 0.533 GB, free: 10.35 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008548, allocations: 4 kB / 0.533 GB, free: 10.35 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.008769, allocations: 87.89 kB / 0.5331 GB, free: 10.26 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/0.008775, allocations: 7.938 kB / 0.5331 GB, free: 10.25 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.008792, allocations: 8 kB / 0.5331 GB, free: 10.25 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.008794, allocations: 3.984 kB / 0.5331 GB, free: 10.24 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.008796, allocations: 4 kB / 0.5331 GB, free: 10.24 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/0.009293, allocations: 0.5228 MB / 0.5336 GB, free: 9.691 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.206e-05/0.009355, allocations: 51.73 kB / 0.5337 GB, free: 9.641 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.009379, allocations: 15.88 kB / 0.5337 GB, free: 9.625 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.684e-05/0.009426, allocations: 4 kB / 0.5337 GB, free: 9.621 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.009457, allocations: 31.95 kB / 0.5337 GB, free: 9.59 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.009468, allocations: 8 kB / 0.5337 GB, free: 9.582 MB / 458.8 MB Notification: Performance of sorting global known variables: time 3.984e-05/0.009508, allocations: 103.9 kB / 0.5338 GB, free: 9.48 MB / 458.8 MB Notification: Performance of sort global known variables: time 5e-08/0.009508, allocations: 0 / 0.5338 GB, free: 9.48 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0001774/0.009685, allocations: 68 kB / 0.5339 GB, free: 9.414 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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.0001196/0.009805, allocations: 123.1 kB / 0.534 GB, free: 9.285 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.01012, allocations: 283.7 kB / 0.5343 GB, free: 9.008 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01013, allocations: 0 / 0.5343 GB, free: 9.008 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.01027, allocations: 160.8 kB / 0.5344 GB, free: 8.852 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.01044, allocations: 47.94 kB / 0.5345 GB, free: 8.809 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007821/0.01122, allocations: 0.7382 MB / 0.5352 GB, free: 8.035 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.08e-05/0.01131, allocations: 132.7 kB / 0.5353 GB, free: 7.883 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/0.01138, allocations: 36.48 kB / 0.5353 GB, free: 7.848 MB / 458.8 MB Notification: Performance of SimCode: time 6.61e-07/0.01138, allocations: 0 / 0.5353 GB, free: 7.848 MB / 458.8 MB Notification: Performance of Templates: time 0.003214/0.01459, allocations: 3.214 MB / 0.5385 GB, free: 4.629 MB / 458.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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.244471600279212]