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.009934/0.009934, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.002284/0.002284, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.484/2.484, allocations: 390.2 MB / 0.6648 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 62.53 kB / 0.9508 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3682, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 1.07/1.439, allocations: 183.2 MB / 1.267 GB, free: 3.477 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009363/1.448, allocations: 4.866 MB / 1.272 GB, free: 3.434 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/1.45, allocations: 32.31 kB / 1.272 GB, free: 3.434 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001462/1.451, allocations: 455.6 kB / 1.272 GB, free: 3.426 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005297/1.457, allocations: 1.464 MB / 1.273 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003312/1.46, allocations: 0.7809 MB / 1.274 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004117/1.464, allocations: 1.845 MB / 1.276 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/1.465, allocations: 0.6053 MB / 1.277 GB, free: 3.301 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002917/1.468, allocations: 0.9005 MB / 1.278 GB, free: 3.289 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/1.47, allocations: 0.5486 MB / 1.278 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001801/1.47, allocations: 59.23 kB / 1.278 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004542/1.475, allocations: 1.418 MB / 1.28 GB, free: 3.27 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005137/1.475, allocations: 266.5 kB / 1.28 GB, free: 3.266 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007879/1.476, allocations: 404 kB / 1.28 GB, free: 3.266 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004009/1.48, allocations: 1.413 MB / 1.282 GB, free: 3.188 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/1.48, allocations: 1.094 kB / 1.282 GB, free: 3.188 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.667e-06/1.48, allocations: 2.438 kB / 1.282 GB, free: 3.188 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.552e-05/1.48, allocations: 0 / 1.282 GB, free: 3.188 MB / 1.014 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.002024/1.482, allocations: 1.1 MB / 1.283 GB, free: 2.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/1.482, allocations: 10.16 kB / 1.283 GB, free: 2.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/1.484, allocations: 210.6 kB / 1.283 GB, free: 2.48 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/1.485, allocations: 0.6165 MB / 1.283 GB, free: 2.191 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/1.485, allocations: 36.06 kB / 1.283 GB, free: 2.191 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-05/1.485, allocations: 51.45 kB / 1.283 GB, free: 2.191 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/1.486, allocations: 0.4887 MB / 1.284 GB, free: 2.156 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.872e-05/1.486, allocations: 0 / 1.284 GB, free: 2.156 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.465e-05/1.486, allocations: 18.78 kB / 1.284 GB, free: 2.156 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.727e-05/1.486, allocations: 20.03 kB / 1.284 GB, free: 2.156 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009542/1.487, allocations: 440.1 kB / 1.284 GB, free: 2.152 MB / 1.014 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.003031/1.49, allocations: 2.012 MB / 1.286 GB, free: 1.164 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006902/1.491, allocations: 344.5 kB / 1.287 GB, free: 1.141 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003702/1.491, allocations: 210.8 kB / 1.287 GB, free: 1.133 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002911/1.491, allocations: 189.7 kB / 1.287 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/1.491, allocations: 42.25 kB / 1.287 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.803e-06/1.491, allocations: 0 / 1.287 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.001382/1.493, allocations: 0.5419 MB / 1.288 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/1.493, allocations: 55.94 kB / 1.288 GB, free: 16.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007156/1.494, allocations: 0.504 MB / 1.288 GB, free: 16.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.785e-05/1.494, allocations: 36.44 kB / 1.288 GB, free: 16.62 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/1.494, allocations: 303.3 kB / 1.289 GB, free: 16.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/1.494, allocations: 116.8 kB / 1.289 GB, free: 16.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/1.494, allocations: 66.97 kB / 1.289 GB, free: 16.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002007/1.495, allocations: 370.4 kB / 1.289 GB, free: 16.08 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/1.495, allocations: 143 kB / 1.289 GB, free: 16.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/1.495, allocations: 221 kB / 1.289 GB, free: 16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006056/1.496, allocations: 336.5 kB / 1.29 GB, free: 15.97 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/1.496, allocations: 1.188 kB / 1.29 GB, free: 15.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008194/1.497, allocations: 427.7 kB / 1.29 GB, free: 15.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.497, allocations: 10.06 kB / 1.29 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/1.497, allocations: 1.562 kB / 1.29 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/1.497, allocations: 4.594 kB / 1.29 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/1.497, allocations: 74.64 kB / 1.29 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/1.497, allocations: 3.109 kB / 1.29 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005208/1.498, allocations: 42.5 kB / 1.29 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/1.498, allocations: 10.5 kB / 1.29 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005187/1.498, allocations: 308.3 kB / 1.291 GB, free: 15.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003515/1.499, allocations: 208.7 kB / 1.291 GB, free: 15.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005626/1.499, allocations: 331.9 kB / 1.291 GB, free: 15.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.766e-06/1.499, allocations: 5.375 kB / 1.291 GB, free: 15.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007394/1.5, allocations: 426.4 kB / 1.292 GB, free: 15.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/1.5, allocations: 5.906 kB / 1.292 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/1.5, allocations: 2.453 kB / 1.292 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.4e-06/1.5, allocations: 3.562 kB / 1.292 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/1.5, allocations: 72.92 kB / 1.292 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/1.5, allocations: 3.219 kB / 1.292 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005974/1.501, allocations: 37.14 kB / 1.292 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/1.501, allocations: 9.938 kB / 1.292 GB, free: 15.62 MB / 1.029 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.0001951/1.501, allocations: 204.7 kB / 1.292 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/1.501, allocations: 58.31 kB / 1.292 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009023/1.502, allocations: 431.5 kB / 1.292 GB, free: 15.35 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/1.502, allocations: 3.031 kB / 1.292 GB, free: 15.35 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.502, allocations: 2.125 kB / 1.292 GB, free: 15.35 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007124/1.503, allocations: 430.7 kB / 1.293 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/1.505, allocations: 1.176 MB / 1.294 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/1.505, allocations: 1.469 kB / 1.294 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004538/1.506, allocations: 85.66 kB / 1.294 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/1.506, allocations: 2.969 kB / 1.294 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/1.506, allocations: 13.48 kB / 1.294 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/1.506, allocations: 6.562 kB / 1.294 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.506, allocations: 2.625 kB / 1.294 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/1.507, allocations: 0.6943 MB / 1.295 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/1.507, allocations: 181.5 kB / 1.295 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.243e-05/1.507, allocations: 12.45 kB / 1.295 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004286/1.508, allocations: 23.41 kB / 1.295 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.234e-05/1.508, allocations: 24.14 kB / 1.295 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-05/1.508, allocations: 15.55 kB / 1.295 GB, free: 14.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006054/1.509, allocations: 366.4 kB / 1.295 GB, free: 14.4 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.9e-07/1.509, allocations: 0 / 1.295 GB, free: 14.4 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00131/1.51, allocations: 313.7 kB / 1.296 GB, free: 14.37 MB / 1.029 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.0007793/1.511, allocations: 208.1 kB / 1.296 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001609/1.512, allocations: 0.5198 MB / 1.296 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/1.512, allocations: 0 / 1.296 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004619/1.513, allocations: 181.2 kB / 1.296 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/1.515, allocations: 362 kB / 1.297 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/1.519, allocations: 1.253 MB / 1.298 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009863/1.52, allocations: 0.9346 MB / 1.299 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00105/1.521, allocations: 184.2 kB / 1.299 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/1.521, allocations: 46.5 kB / 1.299 GB, free: 12.94 MB / 1.029 GB Notification: Performance of SimCode: time 3.106e-06/1.521, allocations: 1 kB / 1.299 GB, free: 12.94 MB / 1.029 GB Notification: Performance of Templates: time 0.02911/1.55, allocations: 11.77 MB / 1.311 GB, free: 12.27 MB / 1.029 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