Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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.001792/0.001792, allocations: 78.48 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001899/0.001899, allocations: 165 kB / 23.96 MB, free: 4.168 MB / 14.72 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 1.466/1.466, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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 1.044/1.044, allocations: 88.07 MB / 348.7 MB, free: 1.812 MB / 318.1 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_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.5251 GB, free: 7.258 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.344e-05, allocations: 4.172 kB / 0.5251 GB, free: 7.254 MB / 446.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002281/0.002315, allocations: 1.378 MB / 0.5265 GB, free: 6.168 MB / 446.2 MB Notification: Performance of NFInst.instExpressions: time 0.0009537/0.003269, allocations: 0.5223 MB / 0.527 GB, free: 5.773 MB / 446.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.612e-05/0.003325, allocations: 0.9062 kB / 0.527 GB, free: 5.773 MB / 446.2 MB Notification: Performance of NFTyping.typeComponents: time 9.469e-05/0.003419, allocations: 8.828 kB / 0.527 GB, free: 5.766 MB / 446.2 MB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.003746, allocations: 62.44 kB / 0.527 GB, free: 5.719 MB / 446.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001097/0.003855, allocations: 42.89 kB / 0.5271 GB, free: 5.688 MB / 446.2 MB Notification: Performance of NFFlatten.flatten: time 0.0005305/0.004386, allocations: 0.5555 MB / 0.5276 GB, free: 5.387 MB / 446.2 MB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.004433, allocations: 10.42 kB / 0.5276 GB, free: 5.383 MB / 446.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003594/0.004793, allocations: 261.3 kB / 0.5279 GB, free: 5.25 MB / 446.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003884/0.005181, allocations: 269.3 kB / 0.5281 GB, free: 5.098 MB / 446.2 MB Notification: Performance of NFPackage.collectConstants: time 8.638e-05/0.005267, allocations: 30.28 kB / 0.5282 GB, free: 5.098 MB / 446.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.005434, allocations: 54.91 kB / 0.5282 GB, free: 5.086 MB / 446.2 MB Notification: Performance of NFScalarize.scalarize: time 0.0002958/0.00573, allocations: 246.1 kB / 0.5284 GB, free: 4.938 MB / 446.2 MB Notification: Performance of NFVerifyModel.verify: time 0.0002727/0.006002, allocations: 179.5 kB / 0.5286 GB, free: 4.848 MB / 446.2 MB Notification: Performance of NFConvertDAE.convert: time 0.0004714/0.006474, allocations: 491.8 kB / 0.5291 GB, free: 4.562 MB / 446.2 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.006478, allocations: 0 / 0.5291 GB, free: 4.562 MB / 446.2 MB Notification: Performance of FrontEnd: time 1.192e-06/0.006479, allocations: 4 kB / 0.5291 GB, free: 4.559 MB / 446.2 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.006487, allocations: 0 / 0.5291 GB, free: 4.559 MB / 446.2 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001672/0.008159, allocations: 0.7497 MB / 0.5298 GB, free: 4.023 MB / 446.2 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.008206, allocations: 14.06 kB / 0.5298 GB, free: 4.02 MB / 446.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.008332, allocations: 51.31 kB / 0.5299 GB, free: 3.992 MB / 446.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.008715, allocations: 258.6 kB / 0.5301 GB, free: 3.781 MB / 446.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.008746, allocations: 29.78 kB / 0.5302 GB, free: 3.77 MB / 446.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.008852, allocations: 68.64 kB / 0.5302 GB, free: 3.734 MB / 446.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009086/0.009761, allocations: 0.583 MB / 0.5308 GB, free: 3.402 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.009777, allocations: 3.984 kB / 0.5308 GB, free: 3.398 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.674e-05/0.009834, allocations: 17.31 kB / 0.5308 GB, free: 3.383 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.009844, allocations: 8 kB / 0.5308 GB, free: 3.375 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007349/0.01058, allocations: 0.5815 MB / 0.5314 GB, free: 2.793 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006382/0.01122, allocations: 0.4925 MB / 0.5319 GB, free: 2.27 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002868/0.01409, allocations: 1.318 MB / 0.5332 GB, free: 0.9336 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005173/0.0146, allocations: 431.5 kB / 0.5336 GB, free: 0.5117 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000189/0.01479, allocations: 24.92 kB / 0.5336 GB, free: 500 kB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.01482, allocations: 47.56 kB / 0.5336 GB, free: 444 kB / 446.2 MB Notification: Performance of pre-optimization done (n=103): time 3.125e-06/0.01482, allocations: 0 / 0.5336 GB, free: 444 kB / 446.2 MB Notification: Performance of matching and sorting (n=103): time 0.002278/0.0171, allocations: 1.355 MB / 0.535 GB, free: 15.07 MB / 462.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.01716, allocations: 60.41 kB / 0.535 GB, free: 15 MB / 462.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.01736, allocations: 175.3 kB / 0.5352 GB, free: 14.82 MB / 462.2 MB Notification: Performance of collectPreVariables (initialization): time 6.932e-05/0.01743, allocations: 45.7 kB / 0.5352 GB, free: 14.77 MB / 462.2 MB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/0.0175, allocations: 106.1 kB / 0.5353 GB, free: 14.67 MB / 462.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003758/0.01788, allocations: 424.3 kB / 0.5357 GB, free: 14.25 MB / 462.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002963/0.01817, allocations: 195 kB / 0.5359 GB, free: 14.05 MB / 462.2 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.01837, allocations: 370.8 kB / 0.5363 GB, free: 13.68 MB / 462.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007876/0.01916, allocations: 470.3 kB / 0.5367 GB, free: 13.22 MB / 462.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008041/0.01996, allocations: 487.5 kB / 0.5372 GB, free: 12.75 MB / 462.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/0.0217, allocations: 1.048 MB / 0.5382 GB, free: 11.7 MB / 462.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.0217, allocations: 3.938 kB / 0.5382 GB, free: 11.69 MB / 462.2 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002155/0.02386, allocations: 1.246 MB / 0.5394 GB, free: 10.44 MB / 462.2 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.02388, allocations: 4 kB / 0.5394 GB, free: 10.43 MB / 462.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.02389, allocations: 0 / 0.5394 GB, free: 10.43 MB / 462.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.02392, allocations: 7.984 kB / 0.5394 GB, free: 10.43 MB / 462.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.02506, allocations: 267.7 kB / 0.5397 GB, free: 10.16 MB / 462.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.02508, allocations: 4 kB / 0.5397 GB, free: 10.16 MB / 462.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/0.02554, allocations: 83.36 kB / 0.5398 GB, free: 10.08 MB / 462.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.469e-05/0.02563, allocations: 39.92 kB / 0.5398 GB, free: 10.04 MB / 462.2 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 (144): * Single equations (assignments): 144 * 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.0003571/0.02598, allocations: 209.6 kB / 0.54 GB, free: 9.824 MB / 462.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.0261, allocations: 51.7 kB / 0.5401 GB, free: 9.773 MB / 462.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002727/0.02882, allocations: 1.388 MB / 0.5414 GB, free: 8.375 MB / 462.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/0.02884, allocations: 16 kB / 0.5414 GB, free: 8.359 MB / 462.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.02885, allocations: 0 / 0.5414 GB, free: 8.359 MB / 462.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/0.02887, allocations: 7.969 kB / 0.5414 GB, free: 8.352 MB / 462.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.02992, allocations: 0.5981 MB / 0.542 GB, free: 7.727 MB / 462.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.02993, allocations: 0 / 0.542 GB, free: 7.727 MB / 462.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/0.03149, allocations: 307.7 kB / 0.5423 GB, free: 7.426 MB / 462.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/0.0315, allocations: 7.938 kB / 0.5423 GB, free: 7.418 MB / 462.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.03162, allocations: 47.97 kB / 0.5424 GB, free: 7.371 MB / 462.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.537e-06/0.03163, allocations: 7.938 kB / 0.5424 GB, free: 7.363 MB / 462.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.03163, allocations: 4 kB / 0.5424 GB, free: 7.359 MB / 462.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003123/0.03475, allocations: 1.852 MB / 0.5442 GB, free: 5.48 MB / 462.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000448/0.0352, allocations: 171.2 kB / 0.5444 GB, free: 5.312 MB / 462.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.03533, allocations: 47.91 kB / 0.5444 GB, free: 5.266 MB / 462.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.03572, allocations: 20 kB / 0.5444 GB, free: 5.246 MB / 462.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.0359, allocations: 89.14 kB / 0.5445 GB, free: 5.16 MB / 462.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-05/0.03599, allocations: 39.98 kB / 0.5445 GB, free: 5.121 MB / 462.2 MB Notification: Performance of sorting global known variables: time 0.0001367/0.03613, allocations: 135.2 kB / 0.5447 GB, free: 4.988 MB / 462.2 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03613, allocations: 0 / 0.5447 GB, free: 4.988 MB / 462.2 MB Notification: Performance of remove unused functions: time 0.0007322/0.03686, allocations: 232 kB / 0.5449 GB, free: 4.762 MB / 462.2 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20]) * 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 (144): * Single equations (assignments): 144 * 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.0003323/0.03719, allocations: 160.8 kB / 0.5451 GB, free: 4.598 MB / 462.2 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.03921, allocations: 1.089 MB / 0.5461 GB, free: 3.512 MB / 462.2 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.03921, allocations: 0 / 0.5461 GB, free: 3.512 MB / 462.2 MB Notification: Performance of simCode: created simulation system equations: time 0.0009727/0.04018, allocations: 0.6085 MB / 0.5467 GB, free: 2.902 MB / 462.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005718/0.04075, allocations: 111.4 kB / 0.5468 GB, free: 2.797 MB / 462.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.04482, allocations: 2.332 MB / 0.5491 GB, free: 436 kB / 462.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.04518, allocations: 322.7 kB / 0.5494 GB, free: 88 kB / 462.2 MB Notification: Performance of simCode: alias equations: time 0.0008854/0.04606, allocations: 360.9 kB / 0.5497 GB, free: 15.73 MB / 478.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/0.04641, allocations: 92.47 kB / 0.5498 GB, free: 15.64 MB / 478.2 MB Notification: Performance of SimCode: time 9.11e-07/0.04641, allocations: 0 / 0.5498 GB, free: 15.64 MB / 478.2 MB Notification: Performance of Templates: time 0.0209/0.06731, allocations: 9.864 MB / 0.5595 GB, free: 5.871 MB / 478.2 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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: 16.598909456282854]