Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 113.8 kB / 17.13 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 197.2 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.67/2.67, allocations: 443.5 MB / 0.7293 GB, free: 14.53 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Delays.Examples.Delay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 63.89 kB / 1.057 GB, free: 2.023 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3571, allocations: 160.7 MB / 1.214 GB, free: 1 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 1.07/1.427, allocations: 183.9 MB / 1.394 GB, free: 15.13 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0104/1.437, allocations: 4.88 MB / 1.398 GB, free: 11.18 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/1.439, allocations: 34.62 kB / 1.398 GB, free: 11.16 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001592/1.441, allocations: 460.5 kB / 1.399 GB, free: 10.79 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00486/1.446, allocations: 1.465 MB / 1.4 GB, free: 9.676 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002689/1.448, allocations: 0.7819 MB / 1.401 GB, free: 9.094 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003706/1.452, allocations: 1.848 MB / 1.403 GB, free: 8.031 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/1.453, allocations: 0.5046 MB / 1.403 GB, free: 7.684 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002669/1.456, allocations: 0.9049 MB / 1.404 GB, free: 7.125 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/1.458, allocations: 0.5721 MB / 1.405 GB, free: 6.785 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001303/1.458, allocations: 58.97 kB / 1.405 GB, free: 6.785 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003753/1.461, allocations: 1.488 MB / 1.406 GB, free: 5.938 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000456/1.462, allocations: 270.1 kB / 1.407 GB, free: 5.754 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007048/1.463, allocations: 402.8 kB / 1.407 GB, free: 5.504 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003421/1.466, allocations: 1.428 MB / 1.408 GB, free: 4.602 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.466, allocations: 0 / 1.408 GB, free: 4.602 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.853e-06/1.466, allocations: 4 kB / 1.408 GB, free: 4.598 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.206e-05/1.466, allocations: 0 / 1.408 GB, free: 4.598 MB / 1.076 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.002104/1.468, allocations: 1.122 MB / 1.409 GB, free: 3.691 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/1.468, allocations: 8.469 kB / 1.409 GB, free: 3.691 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/1.47, allocations: 209.1 kB / 1.41 GB, free: 3.598 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/1.471, allocations: 0.6267 MB / 1.41 GB, free: 3.086 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/1.471, allocations: 34.53 kB / 1.41 GB, free: 3.074 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.644e-05/1.471, allocations: 51.55 kB / 1.41 GB, free: 3.055 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009332/1.472, allocations: 0.4885 MB / 1.411 GB, free: 2.773 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/1.472, allocations: 0 / 1.411 GB, free: 2.773 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/1.472, allocations: 21.31 kB / 1.411 GB, free: 2.758 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/1.472, allocations: 20.77 kB / 1.411 GB, free: 2.75 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008018/1.473, allocations: 438.8 kB / 1.411 GB, free: 2.547 MB / 1.076 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.003021/1.476, allocations: 2.011 MB / 1.413 GB, free: 0.8164 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006714/1.476, allocations: 333.3 kB / 1.414 GB, free: 0.6367 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003587/1.477, allocations: 196.7 kB / 1.414 GB, free: 0.5391 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003639/1.477, allocations: 200.1 kB / 1.414 GB, free: 340 kB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/1.477, allocations: 37.34 kB / 1.414 GB, free: 296 kB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 1.924e-06/1.477, allocations: 0 / 1.414 GB, free: 296 kB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.001394/1.478, allocations: 0.5513 MB / 1.415 GB, free: 8 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/1.479, allocations: 54.19 kB / 1.415 GB, free: 15.95 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006765/1.479, allocations: 0.5087 MB / 1.415 GB, free: 15.64 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.114e-05/1.479, allocations: 32.45 kB / 1.415 GB, free: 15.6 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/1.48, allocations: 308.1 kB / 1.415 GB, free: 15.33 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/1.48, allocations: 117.8 kB / 1.415 GB, free: 15.23 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/1.48, allocations: 70.48 kB / 1.416 GB, free: 15.18 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002177/1.48, allocations: 373.8 kB / 1.416 GB, free: 14.82 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/1.48, allocations: 142.7 kB / 1.416 GB, free: 14.75 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/1.481, allocations: 214 kB / 1.416 GB, free: 14.6 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006492/1.481, allocations: 349.3 kB / 1.417 GB, free: 14.4 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.481, allocations: 3.812 kB / 1.417 GB, free: 14.4 MB / 1.092 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008106/1.482, allocations: 427.9 kB / 1.417 GB, free: 14.18 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.482, allocations: 5.156 kB / 1.417 GB, free: 14.18 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.482, allocations: 7.984 kB / 1.417 GB, free: 14.18 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/1.482, allocations: 1.875 kB / 1.417 GB, free: 14.18 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/1.483, allocations: 71.97 kB / 1.417 GB, free: 14.16 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/1.483, allocations: 6.5 kB / 1.417 GB, free: 14.16 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/1.483, allocations: 36.08 kB / 1.417 GB, free: 14.13 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/1.483, allocations: 22.8 kB / 1.417 GB, free: 14.12 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005084/1.484, allocations: 302.2 kB / 1.417 GB, free: 13.93 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003621/1.484, allocations: 217.6 kB / 1.418 GB, free: 13.77 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005932/1.485, allocations: 330 kB / 1.418 GB, free: 13.59 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/1.485, allocations: 0 / 1.418 GB, free: 13.59 MB / 1.092 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007594/1.485, allocations: 429.8 kB / 1.418 GB, free: 13.37 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/1.485, allocations: 5.031 kB / 1.418 GB, free: 13.37 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/1.485, allocations: 0 / 1.418 GB, free: 13.37 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.741e-06/1.485, allocations: 4.938 kB / 1.418 GB, free: 13.37 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/1.486, allocations: 73.22 kB / 1.418 GB, free: 13.35 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/1.486, allocations: 1.875 kB / 1.418 GB, free: 13.35 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004942/1.486, allocations: 36.48 kB / 1.418 GB, free: 13.32 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/1.486, allocations: 14.38 kB / 1.418 GB, free: 13.32 MB / 1.092 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.0002014/1.486, allocations: 197.6 kB / 1.419 GB, free: 13.12 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/1.487, allocations: 59.41 kB / 1.419 GB, free: 13.09 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000846/1.487, allocations: 428.8 kB / 1.419 GB, free: 12.85 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/1.487, allocations: 5.219 kB / 1.419 GB, free: 12.85 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.487, allocations: 3.938 kB / 1.419 GB, free: 12.84 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006827/1.488, allocations: 425.9 kB / 1.42 GB, free: 12.55 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/1.49, allocations: 1.177 MB / 1.421 GB, free: 11.68 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.49, allocations: 0 / 1.421 GB, free: 11.68 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004189/1.491, allocations: 85.95 kB / 1.421 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/1.491, allocations: 2.844 kB / 1.421 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/1.491, allocations: 9.188 kB / 1.421 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.491, allocations: 6.344 kB / 1.421 GB, free: 11.65 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.491, allocations: 2.875 kB / 1.421 GB, free: 11.65 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/1.492, allocations: 0.7116 MB / 1.422 GB, free: 11.18 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/1.492, allocations: 183.7 kB / 1.422 GB, free: 11.02 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.071e-05/1.492, allocations: 8.438 kB / 1.422 GB, free: 11.01 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/1.493, allocations: 28.88 kB / 1.422 GB, free: 11 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.758e-05/1.493, allocations: 38.3 kB / 1.422 GB, free: 10.97 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/1.493, allocations: 14 kB / 1.422 GB, free: 10.97 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004702/1.493, allocations: 361.2 kB / 1.422 GB, free: 10.76 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/1.493, allocations: 2.656 kB / 1.422 GB, free: 10.76 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009935/1.494, allocations: 333.2 kB / 1.422 GB, free: 10.69 MB / 1.092 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.0005415/1.495, allocations: 180.6 kB / 1.423 GB, free: 10.56 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00111/1.496, allocations: 0.4972 MB / 1.423 GB, free: 10.33 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.496, allocations: 2.5 kB / 1.423 GB, free: 10.33 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003216/1.496, allocations: 172.1 kB / 1.423 GB, free: 10.25 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/1.498, allocations: 354.6 kB / 1.424 GB, free: 10.07 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/1.5, allocations: 1.315 MB / 1.425 GB, free: 8.73 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006525/1.501, allocations: 0.9295 MB / 1.426 GB, free: 7.773 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/1.501, allocations: 55.42 kB / 1.426 GB, free: 7.719 MB / 1.092 GB Notification: Performance of SimCode: time 1.382e-06/1.501, allocations: 0 / 1.426 GB, free: 7.719 MB / 1.092 GB Notification: Performance of Templates: time 0.01731/1.518, allocations: 9.773 MB / 1.435 GB, free: 14.04 MB / 1.107 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Fluid.Delays.Examples.Delay.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_10_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_10_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.461321047041565]