Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Delays.Examples.Delay.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.001404/0.001404, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001557/0.001557, allocations: 214.1 kB / 22.99 MB, free: 4.945 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.827/2.827, allocations: 476 MB / 0.7707 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Delays.Examples.Delay") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 66.77 kB / 1.118 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3448, allocations: 170 MB / 1.284 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2254/0.5702, allocations: 161.9 MB / 1.442 GB, free: 9.457 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.008988/0.5792, allocations: 4.579 MB / 1.446 GB, free: 4.871 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.5803, allocations: 39.62 kB / 1.446 GB, free: 4.832 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.5818, allocations: 421.5 kB / 1.447 GB, free: 4.418 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004482/0.5863, allocations: 1.457 MB / 1.448 GB, free: 2.957 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002475/0.5888, allocations: 0.802 MB / 1.449 GB, free: 2.16 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00309/0.5918, allocations: 1.875 MB / 1.451 GB, free: 288 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.5929, allocations: 476.9 kB / 1.451 GB, free: 15.8 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002404/0.5953, allocations: 0.9184 MB / 1.452 GB, free: 14.88 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.597, allocations: 0.5507 MB / 1.453 GB, free: 14.33 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000226/0.5972, allocations: 60 kB / 1.453 GB, free: 14.27 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002915/0.6002, allocations: 1.165 MB / 1.454 GB, free: 13.11 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005236/0.6007, allocations: 279.1 kB / 1.454 GB, free: 12.83 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007819/0.6015, allocations: 330.5 kB / 1.455 GB, free: 12.51 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00316/0.6046, allocations: 1.394 MB / 1.456 GB, free: 11.11 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.6046, allocations: 0 / 1.456 GB, free: 11.11 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.465e-06/0.6046, allocations: 0 / 1.456 GB, free: 11.11 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.201e-05/0.6047, allocations: 3.938 kB / 1.456 GB, free: 11.11 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00246/0.6071, allocations: 1.056 MB / 1.457 GB, free: 10.01 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.6072, allocations: 8.031 kB / 1.457 GB, free: 10 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.6087, allocations: 211.3 kB / 1.457 GB, free: 9.797 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.61, allocations: 0.5524 MB / 1.458 GB, free: 9.219 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.665e-05/0.61, allocations: 32.94 kB / 1.458 GB, free: 9.188 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.6101, allocations: 48 kB / 1.458 GB, free: 9.141 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.6113, allocations: 0.645 MB / 1.458 GB, free: 8.453 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.6114, allocations: 3.953 kB / 1.458 GB, free: 8.449 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.477e-05/0.6114, allocations: 16 kB / 1.458 GB, free: 8.434 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.513e-05/0.6115, allocations: 25 kB / 1.458 GB, free: 8.41 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008991/0.6124, allocations: 439.6 kB / 1.459 GB, free: 7.98 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002779/0.6151, allocations: 1.219 MB / 1.46 GB, free: 6.723 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007027/0.6158, allocations: 338.8 kB / 1.46 GB, free: 6.387 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003761/0.6162, allocations: 199.5 kB / 1.461 GB, free: 6.191 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002472/0.6165, allocations: 40.23 kB / 1.461 GB, free: 6.152 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.6165, allocations: 38.84 kB / 1.461 GB, free: 6.105 MB / 1.154 GB Notification: Performance of pre-optimization done (n=33): time 2.495e-06/0.6165, allocations: 0 / 1.461 GB, free: 6.105 MB / 1.154 GB Notification: Performance of matching and sorting (n=33): time 0.001412/0.6179, allocations: 0.5422 MB / 1.461 GB, free: 5.559 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.618, allocations: 59.34 kB / 1.461 GB, free: 5.488 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006304/0.6186, allocations: 470.8 kB / 1.462 GB, free: 5.016 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.6187, allocations: 33.7 kB / 1.462 GB, free: 4.977 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/0.6189, allocations: 312.5 kB / 1.462 GB, free: 4.668 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.6191, allocations: 130.8 kB / 1.462 GB, free: 4.539 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.6192, allocations: 70.03 kB / 1.462 GB, free: 4.465 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.6194, allocations: 362.8 kB / 1.463 GB, free: 4.102 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.6197, allocations: 138.1 kB / 1.463 GB, free: 3.965 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004647/0.6202, allocations: 381.8 kB / 1.463 GB, free: 3.531 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006389/0.6208, allocations: 336.3 kB / 1.463 GB, free: 3.191 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.6208, allocations: 0 / 1.463 GB, free: 3.191 MB / 1.154 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008324/0.6217, allocations: 430 kB / 1.464 GB, free: 2.766 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.6217, allocations: 8 kB / 1.464 GB, free: 2.758 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.6217, allocations: 0 / 1.464 GB, free: 2.758 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.6217, allocations: 4 kB / 1.464 GB, free: 2.754 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.6221, allocations: 71.89 kB / 1.464 GB, free: 2.684 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.6221, allocations: 4.094 kB / 1.464 GB, free: 2.68 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004785/0.6226, allocations: 35.81 kB / 1.464 GB, free: 2.645 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.6226, allocations: 16.06 kB / 1.464 GB, free: 2.629 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000505/0.6231, allocations: 309.1 kB / 1.464 GB, free: 2.324 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00044/0.6236, allocations: 365 kB / 1.465 GB, free: 1.906 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006096/0.6242, allocations: 335.1 kB / 1.465 GB, free: 1.566 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.6242, allocations: 0 / 1.465 GB, free: 1.566 MB / 1.154 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008019/0.625, allocations: 429 kB / 1.465 GB, free: 1.141 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.625, allocations: 8 kB / 1.465 GB, free: 1.133 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-06/0.625, allocations: 0 / 1.465 GB, free: 1.133 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.821e-06/0.625, allocations: 4 kB / 1.465 GB, free: 1.129 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.6253, allocations: 72 kB / 1.465 GB, free: 1.059 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.6253, allocations: 7.938 kB / 1.465 GB, free: 1.051 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/0.6258, allocations: 31.86 kB / 1.465 GB, free: 1.02 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.6258, allocations: 19.88 kB / 1.465 GB, free: 1 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 0.0001782/0.626, allocations: 196.2 kB / 1.466 GB, free: 0.8008 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.6261, allocations: 59.62 kB / 1.466 GB, free: 0.7422 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008557/0.627, allocations: 416.2 kB / 1.466 GB, free: 340 kB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.627, allocations: 8 kB / 1.466 GB, free: 332 kB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.627, allocations: 0 / 1.466 GB, free: 332 kB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007119/0.6277, allocations: 440.5 kB / 1.466 GB, free: 15.86 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/0.6297, allocations: 1.007 MB / 1.467 GB, free: 14.8 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.6297, allocations: 4.031 kB / 1.467 GB, free: 14.8 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004368/0.6301, allocations: 87.83 kB / 1.468 GB, free: 14.71 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.6301, allocations: 4 kB / 1.468 GB, free: 14.71 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/0.6302, allocations: 8 kB / 1.468 GB, free: 14.7 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.6302, allocations: 4 kB / 1.468 GB, free: 14.7 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.6302, allocations: 4 kB / 1.468 GB, free: 14.69 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.6314, allocations: 0.6991 MB / 1.468 GB, free: 13.96 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003019/0.6317, allocations: 99.55 kB / 1.468 GB, free: 13.86 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.449e-05/0.6318, allocations: 8 kB / 1.468 GB, free: 13.85 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004739/0.6322, allocations: 27.97 kB / 1.468 GB, free: 13.82 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.569e-05/0.6323, allocations: 19.95 kB / 1.468 GB, free: 13.8 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.66e-05/0.6324, allocations: 19.94 kB / 1.468 GB, free: 13.79 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0004307/0.6328, allocations: 330.8 kB / 1.469 GB, free: 13.46 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.6328, allocations: 0 / 1.469 GB, free: 13.46 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009694/0.6338, allocations: 335.2 kB / 1.469 GB, free: 13.14 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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 (33): * Single equations (assignments): 33 * 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.0003667/0.6341, allocations: 179.1 kB / 1.469 GB, free: 12.95 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.6353, allocations: 0.4993 MB / 1.47 GB, free: 12.45 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.6353, allocations: 0 / 1.47 GB, free: 12.45 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003694/0.6357, allocations: 176.5 kB / 1.47 GB, free: 12.28 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.6373, allocations: 329.7 kB / 1.47 GB, free: 11.96 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.6397, allocations: 1.301 MB / 1.471 GB, free: 10.61 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.6401, allocations: 332.4 kB / 1.472 GB, free: 10.25 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.6403, allocations: 55.42 kB / 1.472 GB, free: 10.2 MB / 1.17 GB Notification: Performance of SimCode: time 1.052e-06/0.6403, allocations: 7.938 kB / 1.472 GB, free: 10.19 MB / 1.17 GB Notification: Performance of Templates: time 0.01799/0.6582, allocations: 9.684 MB / 1.481 GB, free: 0.5938 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_11_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_11_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Delays.Examples.Delay.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: 13.285380232147872]