Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.00112, allocations: 97.72 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00811/0.008111, allocations: 169.8 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.551/2.551, allocations: 390.9 MB / 0.6663 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003424, allocations: 8 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.785/0.7854, allocations: 142.4 MB / 0.955 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2222/1.008, allocations: 178.6 MB / 1.129 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009098/1.017, allocations: 4.873 MB / 1.134 GB, free: 7.152 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/1.018, allocations: 27.81 kB / 1.134 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001598/1.02, allocations: 378 kB / 1.135 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004917/1.025, allocations: 1.323 MB / 1.136 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003743/1.029, allocations: 0.7069 MB / 1.137 GB, free: 4.727 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006291/1.035, allocations: 2.526 MB / 1.139 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001757/1.037, allocations: 0.4939 MB / 1.14 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002678/1.039, allocations: 0.7507 MB / 1.14 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002163/1.042, allocations: 0.5439 MB / 1.141 GB, free: 396 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000284/1.042, allocations: 32 kB / 1.141 GB, free: 364 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003746/1.046, allocations: 1.602 MB / 1.142 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000476/1.046, allocations: 231.2 kB / 1.143 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009269/1.047, allocations: 383.8 kB / 1.143 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003462/1.051, allocations: 1.445 MB / 1.144 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.051, allocations: 0 / 1.144 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.154e-06/1.051, allocations: 0 / 1.144 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.237e-05/1.051, allocations: 0 / 1.144 GB, free: 12.69 MB / 0.9044 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.002164/1.053, allocations: 0.9733 MB / 1.145 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/1.053, allocations: 8.031 kB / 1.145 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/1.054, allocations: 214.8 kB / 1.146 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/1.056, allocations: 0.5771 MB / 1.146 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.225e-05/1.056, allocations: 37 kB / 1.146 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.469e-05/1.056, allocations: 44 kB / 1.146 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/1.057, allocations: 0.4984 MB / 1.147 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/1.057, allocations: 3.906 kB / 1.147 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.312e-05/1.057, allocations: 23.94 kB / 1.147 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.338e-05/1.057, allocations: 20.94 kB / 1.147 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000885/1.058, allocations: 451.7 kB / 1.147 GB, free: 9.754 MB / 0.9044 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.003128/1.061, allocations: 2.013 MB / 1.149 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006797/1.062, allocations: 347.5 kB / 1.149 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003701/1.062, allocations: 218.6 kB / 1.15 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003283/1.062, allocations: 194.5 kB / 1.15 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/1.062, allocations: 42.78 kB / 1.15 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=33): time 2.305e-06/1.062, allocations: 4 kB / 1.15 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.001388/1.064, allocations: 0.5574 MB / 1.15 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/1.064, allocations: 59.33 kB / 1.151 GB, free: 6.09 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006519/1.065, allocations: 0.503 MB / 1.151 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/1.065, allocations: 37.7 kB / 1.151 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/1.065, allocations: 304.2 kB / 1.151 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/1.065, allocations: 114.3 kB / 1.151 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.959e-05/1.065, allocations: 33.7 kB / 1.151 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000177/1.065, allocations: 362.8 kB / 1.152 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/1.066, allocations: 140.6 kB / 1.152 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/1.066, allocations: 216 kB / 1.152 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006161/1.067, allocations: 355.1 kB / 1.153 GB, free: 3.988 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/1.067, allocations: 4 kB / 1.153 GB, free: 3.984 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008247/1.067, allocations: 437.7 kB / 1.153 GB, free: 3.551 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.397e-05/1.068, allocations: 125.5 kB / 1.153 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.068, allocations: 0 / 1.153 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/1.068, allocations: 4 kB / 1.153 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/1.068, allocations: 71.91 kB / 1.153 GB, free: 3.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/1.068, allocations: 4 kB / 1.153 GB, free: 3.336 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006409/1.069, allocations: 63.64 kB / 1.153 GB, free: 3.273 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/1.069, allocations: 16 kB / 1.153 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/1.069, allocations: 11.98 kB / 1.153 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006592/1.069, allocations: 343.6 kB / 1.154 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/1.069, allocations: 4 kB / 1.154 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.047e-06/1.069, allocations: 0 / 1.154 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/1.07, allocations: 83.94 kB / 1.154 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.626e-06/1.07, allocations: 0 / 1.154 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005593/1.07, allocations: 67.64 kB / 1.154 GB, free: 2.758 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/1.07, allocations: 15.94 kB / 1.154 GB, free: 2.742 MB / 0.9044 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.0003484/1.071, allocations: 289 kB / 1.154 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/1.071, allocations: 59.25 kB / 1.154 GB, free: 2.391 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008276/1.072, allocations: 435.2 kB / 1.154 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/1.072, allocations: 7.938 kB / 1.154 GB, free: 1.945 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.072, allocations: 0 / 1.154 GB, free: 1.945 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006811/1.072, allocations: 460.1 kB / 1.155 GB, free: 1.465 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/1.074, allocations: 1.188 MB / 1.156 GB, free: 208 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/1.074, allocations: 8.062 kB / 1.156 GB, free: 200 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004086/1.075, allocations: 83.89 kB / 1.156 GB, free: 116 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/1.075, allocations: 4 kB / 1.156 GB, free: 112 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/1.075, allocations: 16.17 kB / 1.156 GB, free: 96 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/1.075, allocations: 4 kB / 1.156 GB, free: 92 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.075, allocations: 0 / 1.156 GB, free: 92 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/1.076, allocations: 0.7081 MB / 1.157 GB, free: 15.35 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/1.076, allocations: 180.3 kB / 1.157 GB, free: 15.15 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.866e-05/1.076, allocations: 12 kB / 1.157 GB, free: 15.14 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005364/1.077, allocations: 55.89 kB / 1.157 GB, free: 15.09 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.444e-05/1.077, allocations: 19.97 kB / 1.157 GB, free: 15.07 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/1.077, allocations: 15.98 kB / 1.157 GB, free: 15.05 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004356/1.077, allocations: 366.8 kB / 1.157 GB, free: 14.7 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/1.077, allocations: 0 / 1.157 GB, free: 14.7 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000922/1.078, allocations: 323.1 kB / 1.158 GB, free: 14.38 MB / 0.92 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.0004648/1.079, allocations: 194.6 kB / 1.158 GB, free: 14.19 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001081/1.08, allocations: 0.5436 MB / 1.159 GB, free: 13.64 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/1.08, allocations: 4.375 kB / 1.159 GB, free: 13.64 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003485/1.08, allocations: 184 kB / 1.159 GB, free: 13.46 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002064/1.082, allocations: 365.1 kB / 1.159 GB, free: 13.1 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/1.085, allocations: 1.554 MB / 1.161 GB, free: 11.5 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006241/1.085, allocations: 0.9334 MB / 1.161 GB, free: 10.54 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007459/1.086, allocations: 180.8 kB / 1.162 GB, free: 10.36 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/1.086, allocations: 55.42 kB / 1.162 GB, free: 10.31 MB / 0.92 GB Notification: Performance of SimCode: time 3.7e-07/1.086, allocations: 0 / 1.162 GB, free: 10.31 MB / 0.92 GB Notification: Performance of Templates: time 0.02269/1.109, allocations: 11.29 MB / 1.173 GB, free: 15.2 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_9_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches