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.001082/0.001082, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0009465/0.0009465, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8821/0.8821, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.751/1.751, allocations: 377.9 MB / 0.6229 GB, free: 8.625 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.865e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.6191/0.6191, allocations: 161.9 MB / 1.14 GB, free: 3.758 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005536/0.6246, allocations: 4.574 MB / 1.145 GB, free: 0.6875 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004742/0.6251, allocations: 46.34 kB / 1.145 GB, free: 0.6602 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009202/0.626, allocations: 428.3 kB / 1.145 GB, free: 432 kB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.6285, allocations: 1.497 MB / 1.147 GB, free: 15.6 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.63, allocations: 0.8384 MB / 1.147 GB, free: 15.17 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001715/0.6317, allocations: 1.902 MB / 1.149 GB, free: 14.27 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005565/0.6322, allocations: 460.6 kB / 1.15 GB, free: 14.05 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001912/0.6342, allocations: 1.355 MB / 1.151 GB, free: 13.45 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009528/0.6351, allocations: 0.4975 MB / 1.152 GB, free: 13.29 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.6352, allocations: 58.25 kB / 1.152 GB, free: 13.29 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/0.6374, allocations: 1.161 MB / 1.153 GB, free: 12.89 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004071/0.6378, allocations: 289.2 kB / 1.153 GB, free: 12.75 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003402/0.6382, allocations: 283.9 kB / 1.153 GB, free: 12.64 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002/0.6402, allocations: 1.448 MB / 1.155 GB, free: 12.14 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6402, allocations: 0 / 1.155 GB, free: 12.14 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6402, allocations: 0 / 1.155 GB, free: 12.14 MB / 1.01 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.6402, allocations: 0 / 1.155 GB, free: 12.14 MB / 1.01 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.00142/0.6416, allocations: 1.053 MB / 1.156 GB, free: 11.41 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.6417, allocations: 13.94 kB / 1.156 GB, free: 11.4 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00081/0.6425, allocations: 216.8 kB / 1.156 GB, free: 11.34 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000794/0.6433, allocations: 0.5576 MB / 1.156 GB, free: 11 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.6433, allocations: 37.59 kB / 1.157 GB, free: 10.98 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.872e-05/0.6434, allocations: 48.53 kB / 1.157 GB, free: 10.96 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007321/0.6441, allocations: 0.6384 MB / 1.157 GB, free: 10.59 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.6441, allocations: 0 / 1.157 GB, free: 10.59 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.6442, allocations: 20.84 kB / 1.157 GB, free: 10.57 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.6442, allocations: 17.06 kB / 1.157 GB, free: 10.57 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.6448, allocations: 437.7 kB / 1.158 GB, free: 10.43 MB / 1.01 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.001726/0.6465, allocations: 1.244 MB / 1.159 GB, free: 9.777 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004984/0.647, allocations: 326.3 kB / 1.159 GB, free: 9.645 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.6473, allocations: 203.3 kB / 1.159 GB, free: 9.57 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/0.6474, allocations: 39.03 kB / 1.159 GB, free: 9.566 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.6474, allocations: 38.06 kB / 1.159 GB, free: 9.523 MB / 1.01 GB Notification: Performance of pre-optimization done (n=33): time 2.204e-06/0.6474, allocations: 0 / 1.159 GB, free: 9.523 MB / 1.01 GB Notification: Performance of matching and sorting (n=33): time 0.0008787/0.6483, allocations: 0.5414 MB / 1.16 GB, free: 9.316 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.6484, allocations: 63.42 kB / 1.16 GB, free: 9.246 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004376/0.6488, allocations: 480 kB / 1.16 GB, free: 9.027 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.6488, allocations: 32.73 kB / 1.161 GB, free: 8.992 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.649, allocations: 316.6 kB / 1.161 GB, free: 8.742 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 9.276e-05/0.6491, allocations: 125 kB / 1.161 GB, free: 8.641 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.028e-05/0.6492, allocations: 69.45 kB / 1.161 GB, free: 8.602 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.6493, allocations: 364.6 kB / 1.161 GB, free: 8.266 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.6496, allocations: 147.8 kB / 1.161 GB, free: 8.207 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.6498, allocations: 371.4 kB / 1.162 GB, free: 7.898 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/0.6503, allocations: 346.4 kB / 1.162 GB, free: 7.738 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6503, allocations: 0 / 1.162 GB, free: 7.738 MB / 1.01 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005322/0.6508, allocations: 429.6 kB / 1.163 GB, free: 7.559 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.6508, allocations: 9.922 kB / 1.163 GB, free: 7.555 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.6508, allocations: 1.406 kB / 1.163 GB, free: 7.555 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.6508, allocations: 2.719 kB / 1.163 GB, free: 7.555 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.651, allocations: 67.55 kB / 1.163 GB, free: 7.551 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.651, allocations: 6.438 kB / 1.163 GB, free: 7.551 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.6513, allocations: 37.3 kB / 1.163 GB, free: 7.531 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.6513, allocations: 10.28 kB / 1.163 GB, free: 7.531 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003329/0.6516, allocations: 306 kB / 1.163 GB, free: 7.367 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002669/0.6519, allocations: 374.4 kB / 1.163 GB, free: 7.055 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003853/0.6523, allocations: 336.8 kB / 1.164 GB, free: 6.898 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.6523, allocations: 1.594 kB / 1.164 GB, free: 6.898 MB / 1.01 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004955/0.6528, allocations: 422.6 kB / 1.164 GB, free: 6.719 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.6528, allocations: 6.828 kB / 1.164 GB, free: 6.719 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-06/0.6528, allocations: 5.609 kB / 1.164 GB, free: 6.715 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-06/0.6528, allocations: 1.5 kB / 1.164 GB, free: 6.715 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.653, allocations: 72.45 kB / 1.164 GB, free: 6.707 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.653, allocations: 5.125 kB / 1.164 GB, free: 6.707 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.6532, allocations: 30.64 kB / 1.164 GB, free: 6.695 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.6532, allocations: 14.28 kB / 1.164 GB, free: 6.691 MB / 1.01 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 9.706e-05/0.6533, allocations: 206.2 kB / 1.164 GB, free: 6.488 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-05/0.6534, allocations: 60.39 kB / 1.164 GB, free: 6.457 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005318/0.6539, allocations: 411.6 kB / 1.165 GB, free: 6.281 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.6539, allocations: 3.844 kB / 1.165 GB, free: 6.281 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.6539, allocations: 0.7031 kB / 1.165 GB, free: 6.281 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004203/0.6543, allocations: 433.2 kB / 1.165 GB, free: 6.023 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.6555, allocations: 1.012 MB / 1.166 GB, free: 5.457 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.6555, allocations: 3.266 kB / 1.166 GB, free: 5.457 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.6558, allocations: 80.19 kB / 1.166 GB, free: 5.453 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.6558, allocations: 3.688 kB / 1.166 GB, free: 5.453 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.6558, allocations: 12.95 kB / 1.166 GB, free: 5.445 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.6558, allocations: 11.97 kB / 1.166 GB, free: 5.438 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6558, allocations: 9.062 kB / 1.166 GB, free: 5.43 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.6568, allocations: 0.7056 MB / 1.167 GB, free: 5.043 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/0.6571, allocations: 103.3 kB / 1.167 GB, free: 4.984 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.287e-05/0.6571, allocations: 8.781 kB / 1.167 GB, free: 4.98 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.6575, allocations: 31 kB / 1.167 GB, free: 4.969 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.6575, allocations: 28.17 kB / 1.167 GB, free: 4.961 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.6576, allocations: 16.39 kB / 1.167 GB, free: 4.957 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000379/0.6579, allocations: 331.9 kB / 1.168 GB, free: 4.805 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6579, allocations: 3.938 kB / 1.168 GB, free: 4.801 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008702/0.6588, allocations: 335.4 kB / 1.168 GB, free: 4.734 MB / 1.01 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.0004208/0.6592, allocations: 176.5 kB / 1.168 GB, free: 4.617 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009165/0.6602, allocations: 0.4931 MB / 1.169 GB, free: 4.461 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6602, allocations: 5.469 kB / 1.169 GB, free: 4.457 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.6605, allocations: 172.6 kB / 1.169 GB, free: 4.402 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.6618, allocations: 336.6 kB / 1.169 GB, free: 4.316 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.6639, allocations: 1.225 MB / 1.17 GB, free: 3.574 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.6643, allocations: 334.1 kB / 1.171 GB, free: 3.457 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.6645, allocations: 53.69 kB / 1.171 GB, free: 3.445 MB / 1.01 GB Notification: Performance of SimCode: time 6.81e-07/0.6645, allocations: 0 / 1.171 GB, free: 3.445 MB / 1.01 GB Notification: Performance of Templates: time 0.01408/0.6785, allocations: 9.849 MB / 1.18 GB, free: 2.152 MB / 1.01 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: 9.179041129536927]