Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.000874/0.000874, allocations: 83.69 kB / 21.43 MB, free: 3.137 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.003699/0.003699, allocations: 166.2 kB / 24.71 MB, free: 9.426 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.8417/0.8417, allocations: 177.2 MB / 205 MB, free: 5.719 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.5296/0.5296, allocations: 88.07 MB / 349.5 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_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_noopt_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_noopt_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: 2.008 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.417e-05/2.568e-05, allocations: 3.828 kB / 0.5258 GB, free: 2.004 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001778/0.001804, allocations: 1.372 MB / 0.5272 GB, free: 0.625 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006722/0.002476, allocations: 0.5224 MB / 0.5277 GB, free: 104 kB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.982e-05/0.002516, allocations: 3.938 kB / 0.5277 GB, free: 100 kB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 7.267e-05/0.002589, allocations: 11.86 kB / 0.5277 GB, free: 88 kB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002933/0.002882, allocations: 63.66 kB / 0.5278 GB, free: 24 kB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001127/0.002995, allocations: 47.75 kB / 0.5278 GB, free: 15.98 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.003238, allocations: 319.3 kB / 0.5281 GB, free: 15.66 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.003278, allocations: 8.172 kB / 0.5281 GB, free: 15.66 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.003483, allocations: 151.7 kB / 0.5283 GB, free: 15.51 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.003679, allocations: 155.7 kB / 0.5284 GB, free: 15.36 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.003708, allocations: 12 kB / 0.5284 GB, free: 15.34 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.425e-05/0.003803, allocations: 51.89 kB / 0.5285 GB, free: 15.29 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.004033, allocations: 127.7 kB / 0.5286 GB, free: 15.17 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 7.67e-05/0.00411, allocations: 95.78 kB / 0.5287 GB, free: 15.07 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.004345, allocations: 263.2 kB / 0.5289 GB, free: 14.82 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.004348, allocations: 8 kB / 0.529 GB, free: 14.81 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.192e-06/0.00435, allocations: 0 / 0.529 GB, free: 14.81 MB / 458.8 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.004354, allocations: 0 / 0.529 GB, free: 14.81 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.0006486/0.005003, allocations: 0.5094 MB / 0.5295 GB, free: 14.27 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.005036, allocations: 8.031 kB / 0.5295 GB, free: 14.26 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.618e-05/0.005092, allocations: 28.8 kB / 0.5295 GB, free: 14.23 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.005288, allocations: 191.2 kB / 0.5297 GB, free: 14.02 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.005303, allocations: 20.44 kB / 0.5297 GB, free: 14 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.005346, allocations: 31.95 kB / 0.5297 GB, free: 13.97 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.005675, allocations: 319.9 kB / 0.53 GB, free: 13.65 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.005684, allocations: 0 / 0.53 GB, free: 13.65 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.005703, allocations: 8 kB / 0.53 GB, free: 13.64 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.00571, allocations: 8 kB / 0.53 GB, free: 13.64 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/0.006006, allocations: 293.7 kB / 0.5303 GB, free: 13.35 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.006304, allocations: 291.5 kB / 0.5306 GB, free: 13.04 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009505/0.007255, allocations: 0.6659 MB / 0.5312 GB, free: 12.36 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.007474, allocations: 226.2 kB / 0.5315 GB, free: 12.14 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.007577, allocations: 8.5 kB / 0.5315 GB, free: 12.13 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.007597, allocations: 39.06 kB / 0.5315 GB, free: 12.08 MB / 458.8 MB Notification: Performance of pre-optimization done (n=53): time 1.994e-06/0.007599, allocations: 0 / 0.5315 GB, free: 12.08 MB / 458.8 MB Notification: Performance of matching and sorting (n=53): time 0.001014/0.008613, allocations: 0.7054 MB / 0.5322 GB, free: 11.37 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.008647, allocations: 55.91 kB / 0.5323 GB, free: 11.3 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.496e-05/0.008732, allocations: 149.4 kB / 0.5324 GB, free: 11.14 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.008754, allocations: 33.7 kB / 0.5324 GB, free: 11.1 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.008789, allocations: 93.14 kB / 0.5325 GB, free: 11.01 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.008896, allocations: 230.1 kB / 0.5327 GB, free: 10.78 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.582e-05/0.008991, allocations: 106.3 kB / 0.5328 GB, free: 10.67 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.009076, allocations: 346.7 kB / 0.5332 GB, free: 10.32 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.009314, allocations: 241.1 kB / 0.5334 GB, free: 10.09 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.009546, allocations: 241.7 kB / 0.5336 GB, free: 9.848 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.01005, allocations: 0.5284 MB / 0.5341 GB, free: 9.316 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01006, allocations: 0 / 0.5341 GB, free: 9.316 MB / 458.8 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006095/0.01067, allocations: 0.6532 MB / 0.5348 GB, free: 8.656 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.01068, allocations: 6.969 kB / 0.5348 GB, free: 8.652 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.01069, allocations: 0 / 0.5348 GB, free: 8.652 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.0107, allocations: 8 kB / 0.5348 GB, free: 8.645 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.01097, allocations: 139.9 kB / 0.5349 GB, free: 8.508 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.01098, allocations: 0 / 0.5349 GB, free: 8.508 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.424e-05/0.01107, allocations: 39.67 kB / 0.535 GB, free: 8.469 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.0111, allocations: 23.98 kB / 0.535 GB, free: 8.445 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.0001057/0.0112, allocations: 161.7 kB / 0.5351 GB, free: 8.277 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.01123, allocations: 23.86 kB / 0.5352 GB, free: 8.254 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007387/0.01197, allocations: 0.7281 MB / 0.5359 GB, free: 7.523 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.01198, allocations: 8 kB / 0.5359 GB, free: 7.516 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.01198, allocations: 0 / 0.5359 GB, free: 7.516 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.01199, allocations: 7.984 kB / 0.5359 GB, free: 7.508 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.01228, allocations: 365.4 kB / 0.5362 GB, free: 7.121 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01228, allocations: 3.938 kB / 0.5362 GB, free: 7.117 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.01266, allocations: 163.8 kB / 0.5364 GB, free: 6.957 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.01266, allocations: 4 kB / 0.5364 GB, free: 6.953 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.01269, allocations: 19.98 kB / 0.5364 GB, free: 6.934 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.0127, allocations: 4 kB / 0.5364 GB, free: 6.93 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.0127, allocations: 0 / 0.5364 GB, free: 6.93 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008968/0.0136, allocations: 0.967 MB / 0.5374 GB, free: 5.949 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.01371, allocations: 91.56 kB / 0.5375 GB, free: 5.859 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.01375, allocations: 23.98 kB / 0.5375 GB, free: 5.836 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-05/0.01383, allocations: 8 kB / 0.5375 GB, free: 5.828 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.01388, allocations: 56.69 kB / 0.5375 GB, free: 5.773 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.0139, allocations: 19.98 kB / 0.5376 GB, free: 5.754 MB / 458.8 MB Notification: Performance of sorting global known variables: time 5.263e-05/0.01395, allocations: 118.6 kB / 0.5377 GB, free: 5.641 MB / 458.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01395, allocations: 0 / 0.5377 GB, free: 5.641 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.000234/0.01419, allocations: 127.9 kB / 0.5378 GB, free: 5.516 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.0001625/0.01435, allocations: 127.2 kB / 0.5379 GB, free: 5.379 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0005771/0.01493, allocations: 0.5482 MB / 0.5385 GB, free: 4.832 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01493, allocations: 4 kB / 0.5385 GB, free: 4.828 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.0152, allocations: 311.5 kB / 0.5388 GB, free: 4.523 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.01543, allocations: 55.97 kB / 0.5388 GB, free: 4.469 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.01695, allocations: 1.29 MB / 0.5401 GB, free: 3.141 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.01706, allocations: 196.6 kB / 0.5403 GB, free: 2.926 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.01719, allocations: 52.48 kB / 0.5403 GB, free: 2.875 MB / 458.8 MB Notification: Performance of SimCode: time 1.533e-06/0.0172, allocations: 0 / 0.5403 GB, free: 2.875 MB / 458.8 MB Notification: Performance of Templates: time 0.005009/0.02221, allocations: 5.523 MB / 0.5457 GB, free: 13.36 MB / 474.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_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_noopt_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.641329234465957]