Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_latest_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.006996/0.007002, allocations: 98.64 kB / 15.73 MB, free: 6.008 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.001577/0.001577, allocations: 193.4 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.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.569/2.569, allocations: 469.4 MB / 0.7421 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.89 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.66/0.6612, allocations: 159.1 MB / 1.22 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1781/0.8393, allocations: 183.3 MB / 1.399 GB, free: 10.32 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007377/0.8468, allocations: 4.863 MB / 1.403 GB, free: 5.445 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008237/0.8476, allocations: 31.81 kB / 1.403 GB, free: 5.414 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.8488, allocations: 453.3 kB / 1.404 GB, free: 4.969 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003291/0.8521, allocations: 1.459 MB / 1.405 GB, free: 3.504 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.854, allocations: 0.7879 MB / 1.406 GB, free: 2.723 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002182/0.8562, allocations: 1.855 MB / 1.408 GB, free: 0.8594 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008465/0.8571, allocations: 0.5901 MB / 1.408 GB, free: 264 kB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/0.8588, allocations: 0.9076 MB / 1.409 GB, free: 15.35 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.8599, allocations: 0.531 MB / 1.41 GB, free: 14.82 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.8601, allocations: 56 kB / 1.41 GB, free: 14.76 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.8625, allocations: 1.426 MB / 1.411 GB, free: 13.33 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002981/0.8628, allocations: 263.3 kB / 1.412 GB, free: 13.07 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000477/0.8633, allocations: 406 kB / 1.412 GB, free: 12.68 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.8654, allocations: 1.417 MB / 1.413 GB, free: 11.25 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8654, allocations: 3.938 kB / 1.413 GB, free: 11.25 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.093e-06/0.8654, allocations: 0 / 1.413 GB, free: 11.25 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.398e-05/0.8654, allocations: 0 / 1.413 GB, free: 11.25 MB / 1.139 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.001817/0.8672, allocations: 1.132 MB / 1.414 GB, free: 10.07 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.8673, allocations: 8.625 kB / 1.414 GB, free: 10.06 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001104/0.8674, allocations: 86.53 kB / 1.415 GB, free: 9.965 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.8688, allocations: 219.2 kB / 1.415 GB, free: 9.75 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.8699, allocations: 0.6282 MB / 1.415 GB, free: 9.082 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.413e-05/0.8699, allocations: 37 kB / 1.415 GB, free: 9.043 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.997e-05/0.87, allocations: 48 kB / 1.415 GB, free: 8.996 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008823/0.8709, allocations: 494.3 kB / 1.416 GB, free: 8.512 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.8709, allocations: 4 kB / 1.416 GB, free: 8.508 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.012e-05/0.871, allocations: 20 kB / 1.416 GB, free: 8.488 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/0.871, allocations: 17 kB / 1.416 GB, free: 8.473 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000807/0.8718, allocations: 443.6 kB / 1.416 GB, free: 8.039 MB / 1.139 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.002719/0.8745, allocations: 2.014 MB / 1.418 GB, free: 5.848 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006233/0.8752, allocations: 353.2 kB / 1.419 GB, free: 5.496 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003459/0.8755, allocations: 212 kB / 1.419 GB, free: 5.289 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002835/0.8758, allocations: 190.5 kB / 1.419 GB, free: 5.066 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.8759, allocations: 38.84 kB / 1.419 GB, free: 5.02 MB / 1.139 GB Notification: Performance of pre-optimization done (n=33): time 1.763e-06/0.8759, allocations: 0 / 1.419 GB, free: 5.02 MB / 1.139 GB Notification: Performance of matching and sorting (n=33): time 0.001267/0.8771, allocations: 0.5422 MB / 1.42 GB, free: 4.473 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.8772, allocations: 63.22 kB / 1.42 GB, free: 4.398 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005592/0.8778, allocations: 0.5069 MB / 1.42 GB, free: 3.879 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.8778, allocations: 37.7 kB / 1.42 GB, free: 3.836 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.878, allocations: 308.6 kB / 1.421 GB, free: 3.531 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.8781, allocations: 119 kB / 1.421 GB, free: 3.414 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.8783, allocations: 81.91 kB / 1.421 GB, free: 3.328 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.8784, allocations: 362.8 kB / 1.421 GB, free: 2.965 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.8787, allocations: 146.1 kB / 1.421 GB, free: 2.82 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.8791, allocations: 219.6 kB / 1.421 GB, free: 2.582 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005901/0.8797, allocations: 336.2 kB / 1.422 GB, free: 2.242 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.8797, allocations: 0 / 1.422 GB, free: 2.242 MB / 1.139 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007628/0.8804, allocations: 437 kB / 1.422 GB, free: 1.809 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.8805, allocations: 4 kB / 1.422 GB, free: 1.805 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.8805, allocations: 0 / 1.422 GB, free: 1.805 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.8805, allocations: 4 kB / 1.422 GB, free: 1.801 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.8809, allocations: 71.84 kB / 1.422 GB, free: 1.73 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.8809, allocations: 3.938 kB / 1.422 GB, free: 1.727 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/0.8814, allocations: 47.84 kB / 1.422 GB, free: 1.68 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.8814, allocations: 12 kB / 1.422 GB, free: 1.668 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004369/0.8818, allocations: 304 kB / 1.423 GB, free: 1.367 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003173/0.8822, allocations: 202.8 kB / 1.423 GB, free: 1.145 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005714/0.8827, allocations: 343.2 kB / 1.423 GB, free: 0.7969 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.8828, allocations: 0 / 1.423 GB, free: 0.7969 MB / 1.139 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000711/0.8835, allocations: 424.8 kB / 1.424 GB, free: 384 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.8835, allocations: 8.094 kB / 1.424 GB, free: 376 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.8835, allocations: 4 kB / 1.424 GB, free: 372 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-06/0.8835, allocations: 0 / 1.424 GB, free: 372 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.8838, allocations: 79.83 kB / 1.424 GB, free: 292 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.8839, allocations: 11.92 kB / 1.424 GB, free: 280 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/0.8843, allocations: 27.88 kB / 1.424 GB, free: 252 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.8844, allocations: 15.94 kB / 1.424 GB, free: 236 kB / 1.139 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.0001344/0.8845, allocations: 200.2 kB / 1.424 GB, free: 28 kB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.8846, allocations: 67.66 kB / 1.424 GB, free: 15.96 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007906/0.8854, allocations: 416.2 kB / 1.424 GB, free: 15.55 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.8854, allocations: 3.938 kB / 1.424 GB, free: 15.54 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.8855, allocations: 4 kB / 1.424 GB, free: 15.54 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006331/0.8861, allocations: 444.4 kB / 1.425 GB, free: 15.07 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.8879, allocations: 1.17 MB / 1.426 GB, free: 13.83 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.8879, allocations: 0 / 1.426 GB, free: 13.83 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/0.8884, allocations: 96.02 kB / 1.426 GB, free: 13.73 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.8884, allocations: 0 / 1.426 GB, free: 13.73 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/0.8884, allocations: 12 kB / 1.426 GB, free: 13.72 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.8884, allocations: 7.922 kB / 1.426 GB, free: 13.71 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.8884, allocations: 4.125 kB / 1.426 GB, free: 13.71 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.8895, allocations: 0.6954 MB / 1.427 GB, free: 12.98 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.8898, allocations: 184.7 kB / 1.427 GB, free: 12.78 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.22e-05/0.8899, allocations: 8 kB / 1.427 GB, free: 12.77 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005222/0.8904, allocations: 31.97 kB / 1.427 GB, free: 12.74 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.8905, allocations: 23.97 kB / 1.427 GB, free: 12.72 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.8905, allocations: 11.94 kB / 1.427 GB, free: 12.71 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004148/0.8909, allocations: 366.8 kB / 1.427 GB, free: 12.35 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8909, allocations: 0 / 1.427 GB, free: 12.35 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008226/0.8918, allocations: 331.3 kB / 1.428 GB, free: 12.03 MB / 1.154 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.001626/0.8934, allocations: 1.346 MB / 1.429 GB, free: 10.64 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0009948/0.8944, allocations: 0.5004 MB / 1.429 GB, free: 10.14 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8944, allocations: 384 / 1.429 GB, free: 10.14 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.8947, allocations: 187.7 kB / 1.43 GB, free: 9.961 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.8964, allocations: 350.9 kB / 1.43 GB, free: 9.621 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006107/0.9025, allocations: 4.663 MB / 1.434 GB, free: 4.82 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/0.903, allocations: 0.9295 MB / 1.435 GB, free: 3.863 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0005637/0.9035, allocations: 184.8 kB / 1.436 GB, free: 3.684 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003064/0.9039, allocations: 219.4 kB / 1.436 GB, free: 3.469 MB / 1.154 GB Notification: Performance of SimCode: time 5.21e-07/0.9039, allocations: 0 / 1.436 GB, free: 3.469 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08678/0.9907, allocations: 16.83 MB / 1.452 GB, free: 2.883 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.506/9.496, allocations: 7.594 kB / 1.452 GB, free: 2.879 MB / 1.17 GB (rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches