Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001354/0.001354, 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.001547/0.001547, allocations: 217.2 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.426/3.426, allocations: 0.5107 GB / 0.8166 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_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.92 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3705, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2223/0.5928, allocations: 162 MB / 1.523 GB, free: 11.01 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009182/0.602, allocations: 4.575 MB / 1.527 GB, free: 6.426 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.6032, allocations: 43.62 kB / 1.527 GB, free: 6.383 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.6047, allocations: 421.4 kB / 1.528 GB, free: 5.969 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004288/0.609, allocations: 1.466 MB / 1.529 GB, free: 4.496 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.6114, allocations: 0.7791 MB / 1.53 GB, free: 3.723 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002952/0.6143, allocations: 1.883 MB / 1.532 GB, free: 1.832 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009192/0.6153, allocations: 484.9 kB / 1.532 GB, free: 1.344 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002783/0.618, allocations: 1.133 MB / 1.533 GB, free: 212 kB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.6196, allocations: 0.543 MB / 1.534 GB, free: 15.66 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.6198, allocations: 56 kB / 1.534 GB, free: 15.61 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/0.6223, allocations: 1.157 MB / 1.535 GB, free: 14.45 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0003494/0.6226, allocations: 275.1 kB / 1.535 GB, free: 14.18 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0004535/0.6231, allocations: 334.5 kB / 1.536 GB, free: 13.85 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00251/0.6256, allocations: 1.386 MB / 1.537 GB, free: 12.46 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-05/0.6256, allocations: 7.984 kB / 1.537 GB, free: 12.45 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6256, allocations: 0 / 1.537 GB, free: 12.45 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.482e-05/0.6256, allocations: 0 / 1.537 GB, free: 12.45 MB / 1.232 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.002015/0.6276, allocations: 1.056 MB / 1.538 GB, free: 11.36 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.6277, allocations: 12.03 kB / 1.538 GB, free: 11.35 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.629, allocations: 211.2 kB / 1.538 GB, free: 11.14 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.6302, allocations: 0.5562 MB / 1.539 GB, free: 10.57 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.6303, allocations: 37 kB / 1.539 GB, free: 10.53 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.651e-05/0.6304, allocations: 44 kB / 1.539 GB, free: 10.48 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.6315, allocations: 0.6451 MB / 1.539 GB, free: 9.801 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.6315, allocations: 0 / 1.539 GB, free: 9.801 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.295e-05/0.6315, allocations: 23.94 kB / 1.539 GB, free: 9.777 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/0.6316, allocations: 28.92 kB / 1.539 GB, free: 9.75 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008771/0.6324, allocations: 435.7 kB / 1.54 GB, free: 9.324 MB / 1.232 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.002672/0.6351, allocations: 1.227 MB / 1.541 GB, free: 8.059 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007058/0.6358, allocations: 341.7 kB / 1.541 GB, free: 7.719 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003723/0.6362, allocations: 197.2 kB / 1.542 GB, free: 7.523 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000242/0.6364, allocations: 40.25 kB / 1.542 GB, free: 7.484 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.6365, allocations: 38.84 kB / 1.542 GB, free: 7.438 MB / 1.232 GB Notification: Performance of pre-optimization done (n=33): time 2.174e-06/0.6365, allocations: 0 / 1.542 GB, free: 7.438 MB / 1.232 GB Notification: Performance of matching and sorting (n=33): time 0.001374/0.6379, allocations: 0.5421 MB / 1.542 GB, free: 6.891 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.6379, allocations: 63.33 kB / 1.542 GB, free: 6.816 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006055/0.6385, allocations: 470.9 kB / 1.543 GB, free: 6.344 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/0.6386, allocations: 33.7 kB / 1.543 GB, free: 6.305 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/0.6389, allocations: 316.4 kB / 1.543 GB, free: 5.992 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.639, allocations: 122.9 kB / 1.543 GB, free: 5.871 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.6391, allocations: 73.98 kB / 1.543 GB, free: 5.793 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002025/0.6393, allocations: 366.7 kB / 1.544 GB, free: 5.426 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/0.6396, allocations: 142.1 kB / 1.544 GB, free: 5.285 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004753/0.6401, allocations: 369.9 kB / 1.544 GB, free: 4.863 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006484/0.6408, allocations: 343.6 kB / 1.544 GB, free: 4.516 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6408, allocations: 4 kB / 1.544 GB, free: 4.512 MB / 1.232 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008136/0.6416, allocations: 428.9 kB / 1.545 GB, free: 4.086 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.6416, allocations: 4 kB / 1.545 GB, free: 4.082 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.6416, allocations: 0 / 1.545 GB, free: 4.082 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.6416, allocations: 4 kB / 1.545 GB, free: 4.078 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.642, allocations: 75.89 kB / 1.545 GB, free: 4.004 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.642, allocations: 4 kB / 1.545 GB, free: 4 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/0.6425, allocations: 35.86 kB / 1.545 GB, free: 3.965 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.846e-05/0.6425, allocations: 16 kB / 1.545 GB, free: 3.949 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005386/0.643, allocations: 308 kB / 1.545 GB, free: 3.645 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004876/0.6435, allocations: 361.6 kB / 1.546 GB, free: 3.23 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006196/0.6442, allocations: 335.3 kB / 1.546 GB, free: 2.891 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-06/0.6442, allocations: 0 / 1.546 GB, free: 2.891 MB / 1.232 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007914/0.6449, allocations: 424.9 kB / 1.546 GB, free: 2.469 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.645, allocations: 8 kB / 1.546 GB, free: 2.461 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-06/0.645, allocations: 0 / 1.546 GB, free: 2.461 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.617e-06/0.645, allocations: 0 / 1.546 GB, free: 2.461 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.6453, allocations: 67.91 kB / 1.546 GB, free: 2.395 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.6453, allocations: 8.094 kB / 1.546 GB, free: 2.387 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004594/0.6458, allocations: 39.81 kB / 1.546 GB, free: 2.348 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.6458, allocations: 11.94 kB / 1.546 GB, free: 2.336 MB / 1.232 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.0001816/0.646, allocations: 200.9 kB / 1.547 GB, free: 2.133 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.6461, allocations: 59.61 kB / 1.547 GB, free: 2.074 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008604/0.6469, allocations: 410.7 kB / 1.547 GB, free: 1.668 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.6469, allocations: 4 kB / 1.547 GB, free: 1.664 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.6469, allocations: 4 kB / 1.547 GB, free: 1.66 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00067/0.6476, allocations: 441.5 kB / 1.548 GB, free: 1.199 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/0.6495, allocations: 1.01 MB / 1.549 GB, free: 136 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.6495, allocations: 4.312 kB / 1.549 GB, free: 132 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004307/0.65, allocations: 91.83 kB / 1.549 GB, free: 40 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.65, allocations: 7.938 kB / 1.549 GB, free: 32 kB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.65, allocations: 8 kB / 1.549 GB, free: 24 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.65, allocations: 4 kB / 1.549 GB, free: 20 kB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.65, allocations: 0 / 1.549 GB, free: 20 kB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.6512, allocations: 0.7033 MB / 1.549 GB, free: 15.28 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002981/0.6515, allocations: 103.5 kB / 1.549 GB, free: 15.18 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-05/0.6516, allocations: 8 kB / 1.549 GB, free: 15.17 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004587/0.6521, allocations: 27.97 kB / 1.549 GB, free: 15.14 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.769e-05/0.6521, allocations: 19.95 kB / 1.549 GB, free: 15.12 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/0.6522, allocations: 16 kB / 1.549 GB, free: 15.11 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.000449/0.6526, allocations: 330.8 kB / 1.55 GB, free: 14.79 MB / 1.248 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6526, allocations: 0 / 1.55 GB, free: 14.79 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009723/0.6536, allocations: 335.2 kB / 1.55 GB, free: 14.46 MB / 1.248 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.000367/0.654, allocations: 171.1 kB / 1.55 GB, free: 14.29 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.6551, allocations: 0.5033 MB / 1.551 GB, free: 13.78 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.6551, allocations: 4 kB / 1.551 GB, free: 13.78 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0003358/0.6554, allocations: 167.8 kB / 1.551 GB, free: 13.61 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.657, allocations: 336.8 kB / 1.551 GB, free: 13.29 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.6593, allocations: 1.317 MB / 1.553 GB, free: 11.92 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.6596, allocations: 336.4 kB / 1.553 GB, free: 11.57 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.6598, allocations: 47.44 kB / 1.553 GB, free: 11.52 MB / 1.248 GB Notification: Performance of SimCode: time 7.32e-07/0.6598, allocations: 4 kB / 1.553 GB, free: 11.52 MB / 1.248 GB Notification: Performance of Templates: time 0.01666/0.6765, allocations: 9.73 MB / 1.562 GB, free: 1.859 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_latest_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.035380964167416]