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: "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_9_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_9_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005958/0.005958, allocations: 98.23 kB / 15.73 MB, free: 6.012 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.001434/0.001435, allocations: 196.7 kB / 16.67 MB, free: 5.93 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.271/2.271, allocations: 390.3 MB / 0.6648 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.663/0.6642, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1923/0.8566, allocations: 183.3 MB / 1.266 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007861/0.8645, allocations: 4.862 MB / 1.271 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009832/0.8655, allocations: 31.81 kB / 1.271 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.8668, allocations: 437.3 kB / 1.272 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003466/0.8703, allocations: 1.408 MB / 1.273 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.8723, allocations: 0.7801 MB / 1.274 GB, free: 14.96 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002223/0.8746, allocations: 1.855 MB / 1.276 GB, free: 13.11 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000813/0.8754, allocations: 0.59 MB / 1.276 GB, free: 12.5 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.8771, allocations: 0.8715 MB / 1.277 GB, free: 11.63 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.8783, allocations: 0.5471 MB / 1.278 GB, free: 11.08 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.8785, allocations: 60 kB / 1.278 GB, free: 11.02 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/0.8809, allocations: 1.411 MB / 1.279 GB, free: 9.609 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003066/0.8812, allocations: 263.3 kB / 1.279 GB, free: 9.352 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005003/0.8817, allocations: 406 kB / 1.28 GB, free: 8.953 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002286/0.884, allocations: 1.418 MB / 1.281 GB, free: 7.531 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.884, allocations: 4 kB / 1.281 GB, free: 7.527 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.984e-06/0.884, allocations: 3.938 kB / 1.281 GB, free: 7.523 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.132e-05/0.8841, allocations: 4 kB / 1.281 GB, free: 7.52 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.002069/0.8862, allocations: 1.09 MB / 1.282 GB, free: 6.379 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.8862, allocations: 12.03 kB / 1.282 GB, free: 6.367 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.8863, allocations: 86.52 kB / 1.282 GB, free: 6.273 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001404/0.8877, allocations: 210.8 kB / 1.282 GB, free: 6.066 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.8889, allocations: 0.6239 MB / 1.283 GB, free: 5.398 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.889, allocations: 37 kB / 1.283 GB, free: 5.363 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.797e-05/0.8891, allocations: 51.91 kB / 1.283 GB, free: 5.312 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008989/0.89, allocations: 494.4 kB / 1.284 GB, free: 4.824 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.89, allocations: 7.922 kB / 1.284 GB, free: 4.816 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.898e-05/0.8901, allocations: 16 kB / 1.284 GB, free: 4.801 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.8901, allocations: 17 kB / 1.284 GB, free: 4.785 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008285/0.8909, allocations: 443.7 kB / 1.284 GB, free: 4.348 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.002769/0.8937, allocations: 2.002 MB / 1.286 GB, free: 2.172 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006408/0.8944, allocations: 347.5 kB / 1.286 GB, free: 1.824 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.8947, allocations: 209.3 kB / 1.286 GB, free: 1.617 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002821/0.895, allocations: 194.5 kB / 1.287 GB, free: 1.391 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.8951, allocations: 38.84 kB / 1.287 GB, free: 1.344 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 4.128e-06/0.8951, allocations: 0 / 1.287 GB, free: 1.344 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.00127/0.8963, allocations: 0.5448 MB / 1.287 GB, free: 0.793 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.8964, allocations: 67.28 kB / 1.287 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005696/0.897, allocations: 0.503 MB / 1.288 GB, free: 208 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.897, allocations: 33.7 kB / 1.288 GB, free: 168 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.8973, allocations: 304.3 kB / 1.288 GB, free: 15.86 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.8974, allocations: 110.3 kB / 1.288 GB, free: 15.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.8975, allocations: 74.02 kB / 1.288 GB, free: 15.67 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.8976, allocations: 362.8 kB / 1.289 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.8979, allocations: 142.1 kB / 1.289 GB, free: 15.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/0.8983, allocations: 215.6 kB / 1.289 GB, free: 14.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006079/0.8989, allocations: 335.2 kB / 1.289 GB, free: 14.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.8989, allocations: 0 / 1.289 GB, free: 14.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007772/0.8997, allocations: 441.5 kB / 1.29 GB, free: 14.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.8997, allocations: 4 kB / 1.29 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.8997, allocations: 8.094 kB / 1.29 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.8998, allocations: 0 / 1.29 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.9001, allocations: 75.84 kB / 1.29 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.9001, allocations: 7.938 kB / 1.29 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004829/0.9006, allocations: 35.75 kB / 1.29 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.9007, allocations: 12 kB / 1.29 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004577/0.9011, allocations: 304 kB / 1.29 GB, free: 13.71 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003282/0.9015, allocations: 210.8 kB / 1.29 GB, free: 13.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005723/0.902, allocations: 323.2 kB / 1.291 GB, free: 13.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.902, allocations: 0 / 1.291 GB, free: 13.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000737/0.9028, allocations: 432.6 kB / 1.291 GB, free: 12.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.699e-06/0.9028, allocations: 8 kB / 1.291 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/0.9028, allocations: 0 / 1.291 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-06/0.9028, allocations: 0 / 1.291 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/0.9032, allocations: 76 kB / 1.291 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.9032, allocations: 7.938 kB / 1.291 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.9037, allocations: 35.81 kB / 1.291 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.9037, allocations: 8 kB / 1.291 GB, free: 12.59 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.000136/0.9038, allocations: 212.5 kB / 1.291 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.9039, allocations: 59.25 kB / 1.291 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000808/0.9048, allocations: 428 kB / 1.292 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.9048, allocations: 7.938 kB / 1.292 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.9048, allocations: 3.938 kB / 1.292 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006372/0.9054, allocations: 432.5 kB / 1.292 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.9072, allocations: 1.178 MB / 1.293 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.9072, allocations: 4 kB / 1.293 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.9077, allocations: 83.89 kB / 1.293 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.9077, allocations: 4 kB / 1.293 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.9077, allocations: 8.188 kB / 1.294 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.9077, allocations: 7.938 kB / 1.294 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9077, allocations: 4 kB / 1.294 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.9088, allocations: 0.6949 MB / 1.294 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/0.9091, allocations: 184.3 kB / 1.294 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.066e-05/0.9092, allocations: 8 kB / 1.294 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004859/0.9096, allocations: 23.97 kB / 1.294 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.9097, allocations: 27.97 kB / 1.294 GB, free: 9.082 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.9098, allocations: 15.94 kB / 1.294 GB, free: 9.066 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004037/0.9102, allocations: 362.8 kB / 1.295 GB, free: 8.715 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9102, allocations: 0 / 1.295 GB, free: 8.715 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007852/0.911, allocations: 319.3 kB / 1.295 GB, free: 8.402 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.001619/0.9126, allocations: 1.341 MB / 1.296 GB, free: 7.027 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.9136, allocations: 0.516 MB / 1.297 GB, free: 6.512 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.9136, allocations: 0 / 1.297 GB, free: 6.512 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003214/0.914, allocations: 180.5 kB / 1.297 GB, free: 6.336 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.9156, allocations: 361.5 kB / 1.297 GB, free: 5.984 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006032/0.9216, allocations: 4.632 MB / 1.302 GB, free: 1.211 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.9221, allocations: 0.9334 MB / 1.303 GB, free: 256 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005402/0.9226, allocations: 180.8 kB / 1.303 GB, free: 72 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/0.923, allocations: 219.4 kB / 1.303 GB, free: 15.85 MB / 1.045 GB Notification: Performance of SimCode: time 1.664e-06/0.923, allocations: 0 / 1.303 GB, free: 15.85 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03703/0.96, allocations: 16.84 MB / 1.32 GB, free: 15.27 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/9.156, allocations: 10.62 kB / 1.32 GB, free: 15.27 MB / 1.061 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Delays.Examples.Delay_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.12 Buildings_9_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Delays.Examples.Delay_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches