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.001161/0.001161, allocations: 79.75 kB / 20.67 MB, free: 3.891 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.001362/0.001362, allocations: 170.8 kB / 23.95 MB, free: 0.6094 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.8975/0.8975, allocations: 177.1 MB / 204.3 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.58/0.58, allocations: 88.06 MB / 348.7 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_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.913e-06/1.913e-06, allocations: 0 / 0.5251 GB, free: 1.891 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/2.981e-05, allocations: 6.844 kB / 0.5251 GB, free: 1.883 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001839/0.001868, allocations: 1.384 MB / 0.5265 GB, free: 0.4922 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007249/0.002593, allocations: 0.5146 MB / 0.527 GB, free: 15.97 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.002637, allocations: 0 / 0.527 GB, free: 15.97 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 8.034e-05/0.002717, allocations: 11.86 kB / 0.527 GB, free: 15.96 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.003025, allocations: 59.72 kB / 0.527 GB, free: 15.91 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.237e-05/0.003107, allocations: 47.69 kB / 0.5271 GB, free: 15.86 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.003288, allocations: 211.4 kB / 0.5273 GB, free: 15.65 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.093e-05/0.003329, allocations: 4.188 kB / 0.5273 GB, free: 15.65 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.003499, allocations: 99.83 kB / 0.5274 GB, free: 15.55 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.003648, allocations: 91.8 kB / 0.5275 GB, free: 15.46 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.003672, allocations: 8 kB / 0.5275 GB, free: 15.45 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.239e-05/0.003754, allocations: 31.92 kB / 0.5275 GB, free: 15.42 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 9.02e-05/0.003844, allocations: 75.78 kB / 0.5276 GB, free: 15.35 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 5.153e-05/0.003896, allocations: 55.83 kB / 0.5276 GB, free: 15.29 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.004063, allocations: 159.5 kB / 0.5278 GB, free: 15.14 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.004065, allocations: 0 / 0.5278 GB, free: 15.14 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004066, allocations: 0 / 0.5278 GB, free: 15.14 MB / 458.8 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.00407, 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.0005438/0.004614, allocations: 401.8 kB / 0.5282 GB, free: 14.71 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.00465, allocations: 15.97 kB / 0.5282 GB, free: 14.7 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.004694, allocations: 16.84 kB / 0.5282 GB, free: 14.68 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.004857, allocations: 152.4 kB / 0.5283 GB, free: 14.51 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.004868, allocations: 4.609 kB / 0.5283 GB, free: 14.5 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.004903, allocations: 28.06 kB / 0.5284 GB, free: 14.48 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.005128, allocations: 175.4 kB / 0.5285 GB, free: 14.3 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.005136, allocations: 3.984 kB / 0.5285 GB, free: 14.3 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.005155, allocations: 7.984 kB / 0.5285 GB, free: 14.29 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.00516, allocations: 4 kB / 0.5285 GB, free: 14.29 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.005327, allocations: 144.6 kB / 0.5287 GB, free: 14.14 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002067/0.005533, allocations: 210.1 kB / 0.5289 GB, free: 13.91 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006069/0.00614, allocations: 342.8 kB / 0.5292 GB, free: 13.57 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.006263, allocations: 112.8 kB / 0.5293 GB, free: 13.45 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.006363, allocations: 8 kB / 0.5293 GB, free: 13.45 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.006384, allocations: 42.5 kB / 0.5294 GB, free: 13.39 MB / 458.8 MB Notification: Performance of pre-optimization done (n=28): time 1.323e-06/0.006385, allocations: 0 / 0.5294 GB, free: 13.39 MB / 458.8 MB Notification: Performance of matching and sorting (n=28): time 0.0004673/0.006852, allocations: 378 kB / 0.5297 GB, free: 13.02 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.006884, allocations: 59.41 kB / 0.5298 GB, free: 12.95 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.745e-05/0.006961, allocations: 137.7 kB / 0.5299 GB, free: 12.8 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.006979, allocations: 25.7 kB / 0.5299 GB, free: 12.77 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.007016, allocations: 96.62 kB / 0.53 GB, free: 12.68 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.944e-05/0.007086, allocations: 111.1 kB / 0.5301 GB, free: 12.57 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.982e-05/0.007156, allocations: 66.02 kB / 0.5302 GB, free: 12.49 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.007238, allocations: 330.8 kB / 0.5305 GB, free: 12.16 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.00737, allocations: 120.6 kB / 0.5306 GB, free: 12.04 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.007501, allocations: 133.2 kB / 0.5308 GB, free: 11.91 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.007779, allocations: 274.3 kB / 0.531 GB, free: 11.64 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.007781, allocations: 0 / 0.531 GB, free: 11.64 MB / 458.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003499/0.008131, allocations: 369.8 kB / 0.5314 GB, free: 11.28 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.008143, allocations: 4 kB / 0.5314 GB, free: 11.27 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.008147, allocations: 0 / 0.5314 GB, free: 11.27 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.008159, allocations: 4 kB / 0.5314 GB, free: 11.27 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.008324, allocations: 71.89 kB / 0.5314 GB, free: 11.2 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.00833, allocations: 7.938 kB / 0.5315 GB, free: 11.19 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.967e-05/0.00839, allocations: 23.83 kB / 0.5315 GB, free: 11.17 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.008403, allocations: 8 kB / 0.5315 GB, free: 11.16 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.878e-05/0.008482, allocations: 133.8 kB / 0.5316 GB, free: 11.02 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.008504, allocations: 27.83 kB / 0.5316 GB, free: 10.99 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004299/0.008934, allocations: 391.2 kB / 0.532 GB, free: 10.61 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.008937, allocations: 4 kB / 0.532 GB, free: 10.6 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.008942, allocations: 4 kB / 0.532 GB, free: 10.6 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.008948, allocations: 3.984 kB / 0.532 GB, free: 10.59 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.009137, allocations: 237 kB / 0.5323 GB, free: 10.33 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.009139, allocations: 4 kB / 0.5323 GB, free: 10.33 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.009364, allocations: 87.89 kB / 0.5323 GB, free: 10.24 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.009368, allocations: 3.938 kB / 0.5323 GB, free: 10.24 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.009387, allocations: 12 kB / 0.5324 GB, free: 10.23 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.009388, allocations: 0 / 0.5324 GB, free: 10.23 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.009389, allocations: 3.938 kB / 0.5324 GB, free: 10.22 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005158/0.009905, allocations: 0.5266 MB / 0.5329 GB, free: 9.676 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.009971, allocations: 47.8 kB / 0.5329 GB, free: 9.629 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.009998, allocations: 16.03 kB / 0.5329 GB, free: 9.613 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.101e-05/0.01005, allocations: 7.938 kB / 0.5329 GB, free: 9.605 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.01008, allocations: 27.95 kB / 0.533 GB, free: 9.578 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.01009, allocations: 12 kB / 0.533 GB, free: 9.566 MB / 458.8 MB Notification: Performance of sorting global known variables: time 4.332e-05/0.01014, allocations: 105.6 kB / 0.5331 GB, free: 9.465 MB / 458.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01014, allocations: 0 / 0.5331 GB, free: 9.465 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0001838/0.01032, allocations: 68 kB / 0.5331 GB, free: 9.398 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.0001271/0.01045, allocations: 119.1 kB / 0.5333 GB, free: 9.273 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.000318/0.01077, allocations: 283.7 kB / 0.5335 GB, free: 8.996 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.01077, allocations: 0 / 0.5335 GB, free: 8.996 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.01091, allocations: 160.8 kB / 0.5337 GB, free: 8.84 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.0111, allocations: 37.23 kB / 0.5337 GB, free: 8.805 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007658/0.01186, allocations: 0.7093 MB / 0.5344 GB, free: 8.066 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.996e-05/0.01194, allocations: 132.7 kB / 0.5345 GB, free: 7.914 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.01206, allocations: 93.84 kB / 0.5346 GB, free: 7.824 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/0.01213, allocations: 24.5 kB / 0.5346 GB, free: 7.801 MB / 458.8 MB Notification: Performance of SimCode: time 5.1e-07/0.01213, allocations: 0 / 0.5346 GB, free: 7.801 MB / 458.8 MB Notification: Performance of Templates: time 0.00417/0.0163, allocations: 3.075 MB / 0.5377 GB, free: 4.781 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.9677416970953345]