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.0016/0.0016, allocations: 80.61 kB / 19.18 MB, free: 2.516 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.001737/0.001737, allocations: 162.1 kB / 22.45 MB, free: 5.375 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.553/1.553, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.973/2.973, allocations: 359 MB / 0.6037 GB, free: 14.94 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.9509 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.831e-05/4.046e-05, allocations: 6.281 kB / 0.9509 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 1.003/1.003, allocations: 161.8 MB / 1.109 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0108/1.014, allocations: 4.583 MB / 1.113 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/1.015, allocations: 44.69 kB / 1.113 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001714/1.017, allocations: 427.2 kB / 1.114 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005936/1.023, allocations: 1.498 MB / 1.115 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003227/1.026, allocations: 0.8325 MB / 1.116 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003718/1.03, allocations: 1.901 MB / 1.118 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/1.031, allocations: 472.7 kB / 1.118 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003171/1.034, allocations: 1.127 MB / 1.12 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/1.036, allocations: 0.5065 MB / 1.12 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001557/1.036, allocations: 61.34 kB / 1.12 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003788/1.04, allocations: 1.186 MB / 1.121 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004849/1.04, allocations: 288.2 kB / 1.122 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005138/1.041, allocations: 279.3 kB / 1.122 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003382/1.044, allocations: 1.449 MB / 1.123 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/1.044, allocations: 0.625 kB / 1.123 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.755e-06/1.044, allocations: 0 / 1.123 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.383e-05/1.044, allocations: 0.7812 kB / 1.123 GB, free: 11.88 MB / 0.9981 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.002052/1.046, allocations: 1.05 MB / 1.124 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/1.046, allocations: 9.75 kB / 1.124 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/1.048, allocations: 219.8 kB / 1.124 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/1.049, allocations: 0.5529 MB / 1.125 GB, free: 11 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-05/1.049, allocations: 34.38 kB / 1.125 GB, free: 11 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/1.049, allocations: 53.72 kB / 1.125 GB, free: 11 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/1.05, allocations: 0.6384 MB / 1.126 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/1.05, allocations: 0 / 1.126 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.167e-05/1.051, allocations: 26.59 kB / 1.126 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.07e-05/1.051, allocations: 18.05 kB / 1.126 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/1.052, allocations: 434.1 kB / 1.126 GB, free: 10.77 MB / 0.9981 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.002775/1.054, allocations: 1.247 MB / 1.127 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009383/1.055, allocations: 331.7 kB / 1.128 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004414/1.056, allocations: 205.5 kB / 1.128 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002688/1.056, allocations: 37.73 kB / 1.128 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/1.056, allocations: 38.17 kB / 1.128 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.953e-06/1.056, allocations: 1.062 kB / 1.128 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.001676/1.058, allocations: 0.5416 MB / 1.129 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/1.058, allocations: 60.16 kB / 1.129 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008926/1.059, allocations: 483.8 kB / 1.129 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.766e-05/1.059, allocations: 33.42 kB / 1.129 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/1.059, allocations: 318.3 kB / 1.129 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/1.059, allocations: 125.9 kB / 1.129 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/1.059, allocations: 65.8 kB / 1.13 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.059, allocations: 364.2 kB / 1.13 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/1.06, allocations: 141.8 kB / 1.13 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/1.06, allocations: 378.8 kB / 1.13 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006878/1.061, allocations: 336.1 kB / 1.131 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.061, allocations: 1.625 kB / 1.131 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009625/1.062, allocations: 440.5 kB / 1.131 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/1.062, allocations: 10.61 kB / 1.131 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/1.062, allocations: 1.094 kB / 1.131 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/1.062, allocations: 3.062 kB / 1.131 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/1.062, allocations: 71.75 kB / 1.131 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/1.062, allocations: 3.188 kB / 1.131 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/1.063, allocations: 32.77 kB / 1.131 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.551e-05/1.063, allocations: 14.27 kB / 1.131 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006664/1.064, allocations: 306.8 kB / 1.132 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004035/1.064, allocations: 366 kB / 1.132 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006182/1.065, allocations: 329.3 kB / 1.132 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/1.065, allocations: 0.9062 kB / 1.132 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008583/1.065, allocations: 435 kB / 1.133 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.065, allocations: 5.031 kB / 1.133 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/1.065, allocations: 1.875 kB / 1.133 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.226e-06/1.066, allocations: 3.188 kB / 1.133 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/1.066, allocations: 70 kB / 1.133 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/1.066, allocations: 3.938 kB / 1.133 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005626/1.066, allocations: 33.59 kB / 1.133 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/1.066, allocations: 13.38 kB / 1.133 GB, free: 8.703 MB / 0.9981 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.0002507/1.067, allocations: 197.6 kB / 1.133 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/1.067, allocations: 63.28 kB / 1.133 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/1.068, allocations: 417.2 kB / 1.133 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/1.068, allocations: 5.219 kB / 1.133 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.068, allocations: 3.938 kB / 1.133 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006702/1.069, allocations: 438.7 kB / 1.134 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/1.071, allocations: 1.01 MB / 1.135 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/1.071, allocations: 3.094 kB / 1.135 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004889/1.071, allocations: 80.39 kB / 1.135 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.996e-06/1.071, allocations: 5.047 kB / 1.135 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/1.071, allocations: 11.38 kB / 1.135 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.158e-06/1.071, allocations: 8.344 kB / 1.135 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.071, allocations: 5.281 kB / 1.135 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/1.073, allocations: 0.6978 MB / 1.136 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/1.073, allocations: 100 kB / 1.136 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.036e-05/1.073, allocations: 10.98 kB / 1.136 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004765/1.073, allocations: 29.61 kB / 1.136 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/1.074, allocations: 29.42 kB / 1.136 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/1.074, allocations: 15.69 kB / 1.136 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005044/1.074, allocations: 332.6 kB / 1.136 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.074, allocations: 0 / 1.136 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001334/1.075, allocations: 338.8 kB / 1.136 GB, free: 7.57 MB / 0.9981 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.0004611/1.076, allocations: 184 kB / 1.137 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001265/1.077, allocations: 496.2 kB / 1.137 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.077, allocations: 0 / 1.137 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003478/1.077, allocations: 177.8 kB / 1.137 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/1.079, allocations: 324.2 kB / 1.138 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/1.081, allocations: 1.193 MB / 1.139 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/1.082, allocations: 340.9 kB / 1.139 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000736/1.083, allocations: 179.7 kB / 1.139 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/1.083, allocations: 46.58 kB / 1.139 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of SimCode: time 8.42e-07/1.083, allocations: 0 / 1.139 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of Templates: time 0.02853/1.111, allocations: 11.62 MB / 1.151 GB, free: 5.672 MB / 0.9981 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/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: 10.291055537760258]