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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001506/0.001506, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.661/2.661, allocations: 469.4 MB / 0.742 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 62.44 kB / 0.9083 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2406, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1707/0.4113, allocations: 183.3 MB / 1.243 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007416/0.4188, allocations: 4.873 MB / 1.247 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008783/0.4197, allocations: 31.81 kB / 1.247 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.4209, allocations: 437.3 kB / 1.248 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.4578/0.8787, allocations: 1.407 MB / 1.249 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.8807, allocations: 0.7711 MB / 1.25 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001942/0.8826, allocations: 1.835 MB / 1.252 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007264/0.8834, allocations: 0.5965 MB / 1.252 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.8846, allocations: 0.8704 MB / 1.253 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009425/0.8856, allocations: 0.5432 MB / 1.254 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.8857, allocations: 59.09 kB / 1.254 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.8879, allocations: 1.406 MB / 1.255 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.8881, allocations: 265.2 kB / 1.255 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003334/0.8884, allocations: 408.2 kB / 1.256 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.8898, allocations: 1.395 MB / 1.257 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.8898, allocations: 1.438 kB / 1.257 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8898, allocations: 0 / 1.257 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.8899, allocations: 0.9062 kB / 1.257 GB, free: 5.586 MB / 0.9981 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.00151/0.8914, allocations: 1.097 MB / 1.258 GB, free: 20.93 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.8914, allocations: 11.31 kB / 1.258 GB, free: 20.93 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.251e-05/0.8915, allocations: 85.72 kB / 1.258 GB, free: 20.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.8928, allocations: 215.2 kB / 1.259 GB, free: 20.84 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007619/0.8935, allocations: 0.5817 MB / 1.259 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.8936, allocations: 37.47 kB / 1.259 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-05/0.8936, allocations: 49.25 kB / 1.259 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000781/0.8944, allocations: 499.9 kB / 1.26 GB, free: 20.52 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.8945, allocations: 3.188 kB / 1.26 GB, free: 20.52 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.744e-05/0.8945, allocations: 19.09 kB / 1.26 GB, free: 20.52 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.8945, allocations: 20.34 kB / 1.26 GB, free: 20.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007297/0.8953, allocations: 437.5 kB / 1.26 GB, free: 20.52 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.002371/0.8977, allocations: 2.022 MB / 1.262 GB, free: 19.54 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005427/0.8982, allocations: 346.5 kB / 1.262 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/0.8985, allocations: 221.6 kB / 1.263 GB, free: 19.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002722/0.8988, allocations: 189.5 kB / 1.263 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.8989, allocations: 39.25 kB / 1.263 GB, free: 19.28 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.8989, allocations: 0.9375 kB / 1.263 GB, free: 19.28 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.001114/0.9, allocations: 0.5419 MB / 1.263 GB, free: 19.21 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.9, allocations: 59.95 kB / 1.263 GB, free: 19.14 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004925/0.9005, allocations: 0.5063 MB / 1.264 GB, free: 19.03 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.9006, allocations: 35.3 kB / 1.264 GB, free: 19 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.9007, allocations: 307.6 kB / 1.264 GB, free: 18.86 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.514e-05/0.9008, allocations: 115.4 kB / 1.264 GB, free: 18.79 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.732e-05/0.9009, allocations: 74.45 kB / 1.264 GB, free: 18.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.9011, allocations: 363.9 kB / 1.265 GB, free: 18.45 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.9013, allocations: 144.3 kB / 1.265 GB, free: 18.45 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.9016, allocations: 222.7 kB / 1.265 GB, free: 18.38 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005155/0.9022, allocations: 338.1 kB / 1.265 GB, free: 18.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.9022, allocations: 1.031 kB / 1.265 GB, free: 18.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006777/0.9028, allocations: 432.4 kB / 1.266 GB, free: 18.28 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.9029, allocations: 10.56 kB / 1.266 GB, free: 18.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.9029, allocations: 2.688 kB / 1.266 GB, free: 18.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.9029, allocations: 3.156 kB / 1.266 GB, free: 18.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.9032, allocations: 71.28 kB / 1.266 GB, free: 18.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.9032, allocations: 5.797 kB / 1.266 GB, free: 18.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/0.9037, allocations: 38.53 kB / 1.266 GB, free: 18.26 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.9037, allocations: 13.84 kB / 1.266 GB, free: 18.26 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003975/0.9041, allocations: 307 kB / 1.266 GB, free: 18.18 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002831/0.9044, allocations: 212.1 kB / 1.266 GB, free: 18.11 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005096/0.9049, allocations: 328.6 kB / 1.267 GB, free: 18.08 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.905, allocations: 1.062 kB / 1.267 GB, free: 18.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007292/0.9057, allocations: 418.4 kB / 1.267 GB, free: 18.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.9057, allocations: 6.625 kB / 1.267 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/0.9057, allocations: 0.9688 kB / 1.267 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-06/0.9057, allocations: 6.781 kB / 1.267 GB, free: 18.01 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.9061, allocations: 75.52 kB / 1.267 GB, free: 18.01 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.9061, allocations: 3.281 kB / 1.267 GB, free: 18.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004525/0.9065, allocations: 36.94 kB / 1.267 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.9066, allocations: 10.98 kB / 1.267 GB, free: 18 MB / 1.014 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.0001273/0.9067, allocations: 200.8 kB / 1.268 GB, free: 17.82 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.9068, allocations: 61.88 kB / 1.268 GB, free: 17.79 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000778/0.9076, allocations: 424.4 kB / 1.268 GB, free: 17.73 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.9076, allocations: 6.562 kB / 1.268 GB, free: 17.73 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.9076, allocations: 2.719 kB / 1.268 GB, free: 17.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006219/0.9083, allocations: 444.2 kB / 1.268 GB, free: 17.57 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.9099, allocations: 1.175 MB / 1.27 GB, free: 17.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.9099, allocations: 1.906 kB / 1.27 GB, free: 17.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004301/0.9104, allocations: 82.11 kB / 1.27 GB, free: 17.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.9104, allocations: 4.312 kB / 1.27 GB, free: 17.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.9104, allocations: 12.25 kB / 1.27 GB, free: 17.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.9104, allocations: 7.438 kB / 1.27 GB, free: 17.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.9104, allocations: 2.375 kB / 1.27 GB, free: 17.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.9114, allocations: 0.6993 MB / 1.27 GB, free: 16.99 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/0.9116, allocations: 178.6 kB / 1.271 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.871e-05/0.9117, allocations: 8.766 kB / 1.271 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004709/0.9122, allocations: 29.47 kB / 1.271 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/0.9123, allocations: 27.47 kB / 1.271 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.9123, allocations: 15.86 kB / 1.271 GB, free: 16.86 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003965/0.9127, allocations: 367.9 kB / 1.271 GB, free: 16.77 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9127, allocations: 0 / 1.271 GB, free: 16.77 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007757/0.9135, allocations: 319.2 kB / 1.271 GB, free: 16.73 MB / 1.014 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.001681/0.9152, allocations: 1.345 MB / 1.273 GB, free: 15.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001183/0.9164, allocations: 0.5465 MB / 1.273 GB, free: 15.97 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.9164, allocations: 1.562 kB / 1.273 GB, free: 15.97 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.9167, allocations: 177.9 kB / 1.273 GB, free: 15.97 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.9183, allocations: 361.7 kB / 1.274 GB, free: 15.93 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005527/0.9239, allocations: 4.745 MB / 1.278 GB, free: 14.03 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/0.9244, allocations: 0.9366 MB / 1.279 GB, free: 13.33 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005984/0.925, allocations: 179.6 kB / 1.279 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.9253, allocations: 217.9 kB / 1.28 GB, free: 13.31 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/0.9253, allocations: 0 / 1.28 GB, free: 13.31 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03651/0.9618, allocations: 16.72 MB / 1.296 GB, free: 12.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.497/8.458, allocations: 16.5 kB / 1.296 GB, free: 12.09 MB / 1.014 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