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.001513/0.001513, 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.00175/0.00175, allocations: 210.5 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.651/1.651, allocations: 230.6 MB / 256 MB, free: 7.801 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 3.001/3.001, allocations: 476 MB / 0.7699 GB, free: 4.805 MB / 0.6231 GB " [Timeout remaining time 176] 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.002163/0.002163, allocations: 68.73 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4545/0.4567, allocations: 169.9 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2599/0.7166, allocations: 161.9 MB / 1.441 GB, free: 9.449 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01079/0.7274, allocations: 4.575 MB / 1.446 GB, free: 4.867 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.729, allocations: 43.62 kB / 1.446 GB, free: 4.824 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001811/0.7308, allocations: 421.4 kB / 1.446 GB, free: 4.41 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006256/0.737, allocations: 1.462 MB / 1.447 GB, free: 2.941 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003489/0.7405, allocations: 0.7989 MB / 1.448 GB, free: 2.148 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003625/0.7441, allocations: 1.883 MB / 1.45 GB, free: 268 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.7453, allocations: 464.9 kB / 1.451 GB, free: 15.8 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002873/0.7482, allocations: 0.9262 MB / 1.451 GB, free: 14.87 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002179/0.7504, allocations: 0.5469 MB / 1.452 GB, free: 14.32 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003571/0.7508, allocations: 60 kB / 1.452 GB, free: 14.26 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003988/0.7547, allocations: 1.165 MB / 1.453 GB, free: 13.09 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005869/0.7553, allocations: 275.1 kB / 1.453 GB, free: 12.82 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009461/0.7563, allocations: 338.5 kB / 1.454 GB, free: 12.49 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004194/0.7605, allocations: 1.398 MB / 1.455 GB, free: 11.09 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.7605, allocations: 3.938 kB / 1.455 GB, free: 11.09 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.374e-06/0.7605, allocations: 0 / 1.455 GB, free: 11.09 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.667e-05/0.7605, allocations: 0 / 1.455 GB, free: 11.09 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.003222/0.7637, allocations: 1.048 MB / 1.456 GB, free: 10 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.7638, allocations: 12.03 kB / 1.456 GB, free: 9.988 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/0.7655, allocations: 211.3 kB / 1.456 GB, free: 9.781 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.767, allocations: 0.5485 MB / 1.457 GB, free: 9.207 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.052e-05/0.7671, allocations: 40.94 kB / 1.457 GB, free: 9.168 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.7672, allocations: 48 kB / 1.457 GB, free: 9.121 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.7685, allocations: 0.6334 MB / 1.458 GB, free: 8.445 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.7685, allocations: 3.953 kB / 1.458 GB, free: 8.441 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.9e-05/0.7686, allocations: 23.98 kB / 1.458 GB, free: 8.418 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.4e-05/0.7686, allocations: 17 kB / 1.458 GB, free: 8.402 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000973/0.7696, allocations: 447.6 kB / 1.458 GB, free: 7.965 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.003172/0.7728, allocations: 1.223 MB / 1.459 GB, free: 6.703 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007726/0.7736, allocations: 332.3 kB / 1.46 GB, free: 6.375 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004218/0.774, allocations: 207.7 kB / 1.46 GB, free: 6.172 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000259/0.7742, allocations: 32.27 kB / 1.46 GB, free: 6.141 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.7743, allocations: 42.83 kB / 1.46 GB, free: 6.09 MB / 1.154 GB Notification: Performance of pre-optimization done (n=33): time 2.394e-06/0.7743, allocations: 0 / 1.46 GB, free: 6.09 MB / 1.154 GB Notification: Performance of matching and sorting (n=33): time 0.001484/0.7758, allocations: 0.5383 MB / 1.46 GB, free: 5.547 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.7758, allocations: 59.34 kB / 1.46 GB, free: 5.477 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006919/0.7765, allocations: 470.8 kB / 1.461 GB, free: 5.004 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.437e-05/0.7766, allocations: 33.7 kB / 1.461 GB, free: 4.965 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/0.7769, allocations: 312.5 kB / 1.461 GB, free: 4.656 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.7771, allocations: 126.8 kB / 1.461 GB, free: 4.531 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.7773, allocations: 70.02 kB / 1.461 GB, free: 4.457 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002255/0.7775, allocations: 362.8 kB / 1.462 GB, free: 4.094 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003257/0.7778, allocations: 146.1 kB / 1.462 GB, free: 3.949 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005107/0.7783, allocations: 373.8 kB / 1.462 GB, free: 3.523 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006737/0.779, allocations: 332.3 kB / 1.463 GB, free: 3.188 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.779, allocations: 4 kB / 1.463 GB, free: 3.184 MB / 1.154 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009064/0.7799, allocations: 441.9 kB / 1.463 GB, free: 2.746 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.7799, allocations: 8 kB / 1.463 GB, free: 2.738 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.7799, allocations: 0 / 1.463 GB, free: 2.738 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.7799, allocations: 4 kB / 1.463 GB, free: 2.734 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.7803, allocations: 71.91 kB / 1.463 GB, free: 2.664 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.7803, allocations: 0 / 1.463 GB, free: 2.664 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004877/0.7808, allocations: 39.89 kB / 1.463 GB, free: 2.625 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.7808, allocations: 12 kB / 1.463 GB, free: 2.613 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005193/0.7814, allocations: 305.1 kB / 1.463 GB, free: 2.312 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004534/0.7818, allocations: 361 kB / 1.464 GB, free: 1.898 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006126/0.7824, allocations: 335 kB / 1.464 GB, free: 1.559 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.322e-06/0.7824, allocations: 4 kB / 1.464 GB, free: 1.555 MB / 1.154 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000798/0.7832, allocations: 425.1 kB / 1.464 GB, free: 1.133 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.7832, allocations: 4 kB / 1.464 GB, free: 1.129 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-06/0.7832, allocations: 128 / 1.464 GB, free: 1.129 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.7832, allocations: 11.94 kB / 1.464 GB, free: 1.117 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.7836, allocations: 75.89 kB / 1.465 GB, free: 1.043 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.7836, allocations: 0 / 1.465 GB, free: 1.043 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004364/0.784, allocations: 31.97 kB / 1.465 GB, free: 1.012 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.784, allocations: 19.94 kB / 1.465 GB, free: 0.9922 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.0001898/0.7842, allocations: 196.2 kB / 1.465 GB, free: 0.793 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.7843, allocations: 59.62 kB / 1.465 GB, free: 0.7344 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008789/0.7852, allocations: 416.3 kB / 1.465 GB, free: 332 kB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.7852, allocations: 0 / 1.465 GB, free: 332 kB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.7852, allocations: 0 / 1.465 GB, free: 332 kB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000707/0.7859, allocations: 456.3 kB / 1.466 GB, free: 15.85 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.7879, allocations: 1.003 MB / 1.467 GB, free: 14.79 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.7879, allocations: 0 / 1.467 GB, free: 14.79 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004355/0.7883, allocations: 92.02 kB / 1.467 GB, free: 14.7 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.7883, allocations: 0 / 1.467 GB, free: 14.7 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/0.7883, allocations: 8 kB / 1.467 GB, free: 14.69 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.7884, allocations: 7.984 kB / 1.467 GB, free: 14.68 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.7884, allocations: 4 kB / 1.467 GB, free: 14.68 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.7896, allocations: 0.6953 MB / 1.467 GB, free: 13.95 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000274/0.7898, allocations: 111.5 kB / 1.468 GB, free: 13.84 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.5e-05/0.7899, allocations: 11.98 kB / 1.468 GB, free: 13.83 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004538/0.7904, allocations: 19.98 kB / 1.468 GB, free: 13.81 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.942e-05/0.7905, allocations: 23.95 kB / 1.468 GB, free: 13.79 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.7905, allocations: 19.98 kB / 1.468 GB, free: 13.77 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0004441/0.7909, allocations: 326.9 kB / 1.468 GB, free: 13.45 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.7909, allocations: 0 / 1.468 GB, free: 13.45 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009419/0.7919, allocations: 335.2 kB / 1.468 GB, free: 13.12 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.0003811/0.7923, allocations: 179.1 kB / 1.468 GB, free: 12.94 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.7934, allocations: 0.4993 MB / 1.469 GB, free: 12.44 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/0.7934, allocations: 4 kB / 1.469 GB, free: 12.43 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.7937, allocations: 171.8 kB / 1.469 GB, free: 12.27 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.7953, allocations: 327.9 kB / 1.469 GB, free: 11.95 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.7975, allocations: 1.252 MB / 1.471 GB, free: 10.64 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.7979, allocations: 336.4 kB / 1.471 GB, free: 10.29 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0005541/0.7984, allocations: 180.6 kB / 1.471 GB, free: 10.11 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.7986, allocations: 47.42 kB / 1.471 GB, free: 10.07 MB / 1.17 GB Notification: Performance of SimCode: time 7.11e-07/0.7986, allocations: 4 kB / 1.471 GB, free: 10.06 MB / 1.17 GB Notification: Performance of Templates: time 0.02613/0.8247, allocations: 12.67 MB / 1.484 GB, free: 13.7 MB / 1.186 GB " [Timeout remaining time 298] 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/jenkins/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: 11.253310404717922]