Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.0008935/0.0008935, allocations: 75.77 kB / 20.67 MB, free: 3.895 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.0008341/0.0008341, allocations: 170.8 kB / 23.95 MB, free: 0.6133 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.8889/0.8889, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.5696/0.5696, allocations: 88.07 MB / 348.7 MB, free: 14.35 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_noopt_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_noopt_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.5251 GB, free: 1.895 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.49e-05, allocations: 7.828 kB / 0.5251 GB, free: 1.887 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001634/0.001659, allocations: 1.369 MB / 0.5264 GB, free: 0.5078 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006734/0.002333, allocations: 0.5223 MB / 0.527 GB, free: 15.98 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.091e-05/0.002374, allocations: 0 / 0.527 GB, free: 15.98 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 7.927e-05/0.002453, allocations: 7.922 kB / 0.527 GB, free: 15.98 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.002745, allocations: 67.59 kB / 0.527 GB, free: 15.91 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.887e-05/0.002823, allocations: 47.81 kB / 0.5271 GB, free: 15.86 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.002993, allocations: 199.4 kB / 0.5273 GB, free: 15.67 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.003032, allocations: 4.188 kB / 0.5273 GB, free: 15.66 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.0032, allocations: 99.83 kB / 0.5274 GB, free: 15.57 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.003352, allocations: 91.8 kB / 0.5274 GB, free: 15.48 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.003378, allocations: 8 kB / 0.5275 GB, free: 15.47 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.131e-05/0.00347, allocations: 39.91 kB / 0.5275 GB, free: 15.43 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 8.905e-05/0.003559, allocations: 75.73 kB / 0.5276 GB, free: 15.36 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.00361, allocations: 59.81 kB / 0.5276 GB, free: 15.3 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.003782, allocations: 155.5 kB / 0.5278 GB, free: 15.14 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.003784, allocations: 4 kB / 0.5278 GB, free: 15.14 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.243e-06/0.003786, allocations: 0 / 0.5278 GB, free: 15.14 MB / 458.8 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.00379, allocations: 0 / 0.5278 GB, free: 15.14 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.0005444/0.004334, allocations: 401.9 kB / 0.5282 GB, free: 14.71 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.004373, allocations: 8.031 kB / 0.5282 GB, free: 14.71 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.004413, allocations: 16.84 kB / 0.5282 GB, free: 14.69 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.004567, allocations: 152.2 kB / 0.5283 GB, free: 14.52 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.004577, allocations: 12.55 kB / 0.5283 GB, free: 14.51 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.004611, allocations: 24.08 kB / 0.5284 GB, free: 14.48 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.004817, allocations: 175.4 kB / 0.5285 GB, free: 14.31 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.004825, allocations: 0 / 0.5285 GB, free: 14.31 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.004838, allocations: 0 / 0.5285 GB, free: 14.31 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.004843, allocations: 8 kB / 0.5285 GB, free: 14.3 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.00501, allocations: 144.6 kB / 0.5287 GB, free: 14.16 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.005213, allocations: 206.1 kB / 0.5289 GB, free: 13.93 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005848/0.005797, allocations: 342.8 kB / 0.5292 GB, free: 13.59 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.005918, allocations: 116.8 kB / 0.5293 GB, free: 13.47 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.41e-05/0.006012, allocations: 11.98 kB / 0.5293 GB, free: 13.46 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.00603, allocations: 38.5 kB / 0.5294 GB, free: 13.41 MB / 458.8 MB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/0.006032, allocations: 4 kB / 0.5294 GB, free: 13.41 MB / 458.8 MB Notification: Performance of matching and sorting (n=28): time 0.0004546/0.006486, allocations: 382 kB / 0.5297 GB, free: 13.03 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.006516, allocations: 55.41 kB / 0.5298 GB, free: 12.96 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.281e-05/0.006589, allocations: 133.7 kB / 0.5299 GB, free: 12.82 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.006606, allocations: 33.64 kB / 0.5299 GB, free: 12.78 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.41e-05/0.00664, allocations: 88.64 kB / 0.53 GB, free: 12.69 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.777e-05/0.006707, allocations: 115.1 kB / 0.5301 GB, free: 12.58 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-05/0.006769, allocations: 62.02 kB / 0.5302 GB, free: 12.51 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 7.87e-05/0.006848, allocations: 326.8 kB / 0.5305 GB, free: 12.18 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.006977, allocations: 124.6 kB / 0.5306 GB, free: 12.06 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.007102, allocations: 129.2 kB / 0.5307 GB, free: 11.93 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.007383, allocations: 282.2 kB / 0.531 GB, free: 11.66 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.007385, allocations: 0 / 0.531 GB, free: 11.66 MB / 458.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003449/0.00773, allocations: 365.8 kB / 0.5314 GB, free: 11.29 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.007742, allocations: 4 kB / 0.5314 GB, free: 11.29 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.007747, allocations: 0 / 0.5314 GB, free: 11.29 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.007758, allocations: 4 kB / 0.5314 GB, free: 11.29 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.007921, allocations: 75.91 kB / 0.5314 GB, free: 11.21 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.007926, allocations: 3.938 kB / 0.5314 GB, free: 11.21 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.13e-05/0.007987, allocations: 19.83 kB / 0.5315 GB, free: 11.19 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.008002, allocations: 11.98 kB / 0.5315 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 7.943e-05/0.008082, allocations: 141.8 kB / 0.5316 GB, free: 11.03 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.0081, allocations: 19.84 kB / 0.5316 GB, free: 11.01 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004263/0.008527, allocations: 395.2 kB / 0.532 GB, free: 10.62 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.008529, allocations: 7.938 kB / 0.532 GB, free: 10.61 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.008533, allocations: 4 kB / 0.532 GB, free: 10.61 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.008538, allocations: 4 kB / 0.532 GB, free: 10.6 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.008713, allocations: 233 kB / 0.5322 GB, free: 10.34 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.008716, allocations: 7.969 kB / 0.5323 GB, free: 10.34 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.008933, allocations: 83.91 kB / 0.5323 GB, free: 10.25 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.008937, allocations: 7.938 kB / 0.5323 GB, free: 10.25 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.008957, allocations: 11.98 kB / 0.5324 GB, free: 10.23 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.008959, allocations: 0 / 0.5324 GB, free: 10.23 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.00896, allocations: 4 kB / 0.5324 GB, free: 10.23 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005109/0.00947, allocations: 0.5265 MB / 0.5329 GB, free: 9.684 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.203e-05/0.009563, allocations: 47.8 kB / 0.5329 GB, free: 9.637 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.009598, allocations: 11.94 kB / 0.5329 GB, free: 9.625 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.943e-05/0.009677, allocations: 12 kB / 0.5329 GB, free: 9.613 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.009721, allocations: 23.95 kB / 0.533 GB, free: 9.59 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.00974, allocations: 11.98 kB / 0.533 GB, free: 9.578 MB / 458.8 MB Notification: Performance of sorting global known variables: time 5.747e-05/0.009798, allocations: 101.6 kB / 0.5331 GB, free: 9.48 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.01e-07/0.009798, allocations: 4 kB / 0.5331 GB, free: 9.477 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0002911/0.01009, allocations: 64 kB / 0.5331 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.0001659/0.01025, allocations: 123.1 kB / 0.5333 GB, free: 9.285 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.000468/0.01072, allocations: 291.6 kB / 0.5335 GB, free: 9 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01072, allocations: 0 / 0.5335 GB, free: 9 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.01087, allocations: 160.8 kB / 0.5337 GB, free: 8.844 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.01105, allocations: 31.98 kB / 0.5337 GB, free: 8.812 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007884/0.01184, allocations: 0.6976 MB / 0.5344 GB, free: 8.086 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.146e-05/0.01192, allocations: 144.6 kB / 0.5345 GB, free: 7.922 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.01204, allocations: 89.84 kB / 0.5346 GB, free: 7.836 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.962e-05/0.01211, allocations: 32.5 kB / 0.5347 GB, free: 7.805 MB / 458.8 MB Notification: Performance of SimCode: time 4.91e-07/0.01211, allocations: 0 / 0.5347 GB, free: 7.805 MB / 458.8 MB Notification: Performance of Templates: time 0.003999/0.01611, allocations: 3.066 MB / 0.5376 GB, free: 4.793 MB / 458.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_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_noopt_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: 3.829167199321091]