Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001616/0.001616, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001861/0.001861, allocations: 210.6 kB / 22.24 MB, free: 5.262 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.601/1.601, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.534/3.534, allocations: 0.4892 GB / 0.7943 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_12_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.002116/0.002116, allocations: 69.58 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5178/0.5199, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2599/0.7799, allocations: 162 MB / 1.484 GB, free: 15.28 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01041/0.7903, allocations: 4.583 MB / 1.488 GB, free: 10.69 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.7917, allocations: 47.56 kB / 1.488 GB, free: 10.64 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.7932, allocations: 409.5 kB / 1.489 GB, free: 10.24 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004836/0.798, allocations: 1.468 MB / 1.49 GB, free: 8.766 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002628/0.8006, allocations: 0.7952 MB / 1.491 GB, free: 7.977 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003538/0.8042, allocations: 1.879 MB / 1.493 GB, free: 6.086 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.8054, allocations: 476.9 kB / 1.493 GB, free: 5.605 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00351/0.8089, allocations: 1.129 MB / 1.494 GB, free: 4.473 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001486/0.8104, allocations: 0.5457 MB / 1.495 GB, free: 3.926 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.8105, allocations: 60 kB / 1.495 GB, free: 3.867 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003198/0.8137, allocations: 1.146 MB / 1.496 GB, free: 2.719 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000421/0.8141, allocations: 275.1 kB / 1.496 GB, free: 2.449 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004599/0.8146, allocations: 334.5 kB / 1.497 GB, free: 2.121 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002949/0.8175, allocations: 1.394 MB / 1.498 GB, free: 0.7227 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.8175, allocations: 0 / 1.498 GB, free: 0.7227 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.975e-06/0.8175, allocations: 0 / 1.498 GB, free: 0.7227 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.8175, allocations: 0 / 1.498 GB, free: 0.7227 MB / 1.186 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.002141/0.8197, allocations: 1.064 MB / 1.499 GB, free: 15.62 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.8197, allocations: 8.031 kB / 1.499 GB, free: 15.62 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.8211, allocations: 215.2 kB / 1.499 GB, free: 15.41 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.8223, allocations: 0.5524 MB / 1.5 GB, free: 14.83 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.822e-05/0.8223, allocations: 37 kB / 1.5 GB, free: 14.79 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.489e-05/0.8224, allocations: 48 kB / 1.5 GB, free: 14.74 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.8235, allocations: 0.6373 MB / 1.5 GB, free: 14.06 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.8236, allocations: 4 kB / 1.5 GB, free: 14.06 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.048e-05/0.8236, allocations: 16 kB / 1.5 GB, free: 14.04 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-05/0.8236, allocations: 17 kB / 1.5 GB, free: 14.03 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008584/0.8245, allocations: 443.6 kB / 1.501 GB, free: 13.59 MB / 1.201 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.002706/0.8272, allocations: 1.242 MB / 1.502 GB, free: 12.31 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006908/0.8279, allocations: 327.5 kB / 1.502 GB, free: 11.98 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003801/0.8283, allocations: 199.1 kB / 1.503 GB, free: 11.79 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002414/0.8285, allocations: 32.27 kB / 1.503 GB, free: 11.76 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.8286, allocations: 46.83 kB / 1.503 GB, free: 11.7 MB / 1.201 GB Notification: Performance of pre-optimization done (n=33): time 4.107e-06/0.8286, allocations: 3.984 kB / 1.503 GB, free: 11.7 MB / 1.201 GB Notification: Performance of matching and sorting (n=33): time 0.001454/0.83, allocations: 0.5344 MB / 1.503 GB, free: 11.16 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.8301, allocations: 59.34 kB / 1.503 GB, free: 11.09 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006154/0.8307, allocations: 478.8 kB / 1.504 GB, free: 10.61 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/0.8307, allocations: 33.7 kB / 1.504 GB, free: 10.57 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/0.831, allocations: 316.5 kB / 1.504 GB, free: 10.26 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.8312, allocations: 134.8 kB / 1.504 GB, free: 10.12 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.8313, allocations: 69.97 kB / 1.504 GB, free: 10.05 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.8315, allocations: 358.8 kB / 1.505 GB, free: 9.691 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.8318, allocations: 142.1 kB / 1.505 GB, free: 9.551 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004804/0.8323, allocations: 381.8 kB / 1.505 GB, free: 9.117 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006549/0.8329, allocations: 335.1 kB / 1.505 GB, free: 8.777 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.8329, allocations: 0 / 1.505 GB, free: 8.777 MB / 1.201 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007963/0.8337, allocations: 428.8 kB / 1.506 GB, free: 8.352 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.8338, allocations: 8 kB / 1.506 GB, free: 8.344 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.8338, allocations: 0 / 1.506 GB, free: 8.344 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.8338, allocations: 0 / 1.506 GB, free: 8.344 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.8341, allocations: 76 kB / 1.506 GB, free: 8.27 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.8341, allocations: 4 kB / 1.506 GB, free: 8.266 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/0.8346, allocations: 35.8 kB / 1.506 GB, free: 8.23 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.8346, allocations: 12 kB / 1.506 GB, free: 8.219 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005026/0.8351, allocations: 308 kB / 1.506 GB, free: 7.914 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004582/0.8356, allocations: 369.6 kB / 1.507 GB, free: 7.492 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006107/0.8362, allocations: 339.4 kB / 1.507 GB, free: 7.148 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-06/0.8362, allocations: 0 / 1.507 GB, free: 7.148 MB / 1.201 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007537/0.837, allocations: 417 kB / 1.507 GB, free: 6.734 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.837, allocations: 9.719 kB / 1.507 GB, free: 6.727 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.837, allocations: 4 kB / 1.507 GB, free: 6.723 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/0.837, allocations: 4.094 kB / 1.507 GB, free: 6.719 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.8373, allocations: 75.89 kB / 1.507 GB, free: 6.645 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.8373, allocations: 4 kB / 1.507 GB, free: 6.641 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004177/0.8377, allocations: 27.88 kB / 1.507 GB, free: 6.613 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.8378, allocations: 15.94 kB / 1.507 GB, free: 6.598 MB / 1.201 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.0001776/0.8379, allocations: 204.2 kB / 1.508 GB, free: 6.391 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.838, allocations: 59.62 kB / 1.508 GB, free: 6.332 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000822/0.8389, allocations: 414.7 kB / 1.508 GB, free: 5.922 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.8389, allocations: 4 kB / 1.508 GB, free: 5.918 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8389, allocations: 0 / 1.508 GB, free: 5.918 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006809/0.8396, allocations: 441.6 kB / 1.508 GB, free: 5.457 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.8415, allocations: 1.007 MB / 1.509 GB, free: 4.395 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.8415, allocations: 0 / 1.509 GB, free: 4.395 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004109/0.8419, allocations: 95.81 kB / 1.51 GB, free: 4.301 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.8419, allocations: 0 / 1.51 GB, free: 4.301 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.8419, allocations: 12 kB / 1.51 GB, free: 4.289 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.8419, allocations: 0 / 1.51 GB, free: 4.289 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.8419, allocations: 7.938 kB / 1.51 GB, free: 4.281 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.8431, allocations: 0.6998 MB / 1.51 GB, free: 3.547 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/0.8433, allocations: 107.5 kB / 1.51 GB, free: 3.441 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.917e-05/0.8434, allocations: 8 kB / 1.51 GB, free: 3.434 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004264/0.8438, allocations: 25.34 kB / 1.51 GB, free: 3.41 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.937e-05/0.8439, allocations: 31.89 kB / 1.51 GB, free: 3.379 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.844, allocations: 8 kB / 1.51 GB, free: 3.371 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004239/0.8444, allocations: 338.8 kB / 1.511 GB, free: 3.043 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.8444, allocations: 4 kB / 1.511 GB, free: 3.039 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00099/0.8454, allocations: 335.3 kB / 1.511 GB, free: 2.711 MB / 1.201 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.0003713/0.8458, allocations: 171.2 kB / 1.511 GB, free: 2.535 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.8468, allocations: 0.4885 MB / 1.512 GB, free: 2.047 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.8468, allocations: 3.938 kB / 1.512 GB, free: 2.043 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.8471, allocations: 176.4 kB / 1.512 GB, free: 1.871 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.8486, allocations: 332.8 kB / 1.512 GB, free: 1.551 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/0.851, allocations: 1.268 MB / 1.513 GB, free: 240 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.8515, allocations: 340.5 kB / 1.514 GB, free: 15.87 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0006094/0.8521, allocations: 172.6 kB / 1.514 GB, free: 15.71 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.8522, allocations: 43.44 kB / 1.514 GB, free: 15.66 MB / 1.217 GB Notification: Performance of SimCode: time 7.31e-07/0.8522, allocations: 0 / 1.514 GB, free: 15.66 MB / 1.217 GB Notification: Performance of Templates: time 0.02433/0.8765, allocations: 12.69 MB / 1.526 GB, free: 3.273 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Delays.Examples.Delay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_12_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_12_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.0578408036381]