Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_10_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.007283/0.007283, allocations: 96.53 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.001864/0.001864, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.674/2.674, allocations: 437.1 MB / 0.7105 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.89 kB / 1.018 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2698, allocations: 151.6 MB / 1.166 GB, free: 7.453 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.7006/0.9704, allocations: 183.3 MB / 1.345 GB, free: 8.105 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008046/0.9785, allocations: 4.86 MB / 1.35 GB, free: 4.684 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009129/0.9795, allocations: 34.38 kB / 1.35 GB, free: 4.668 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.9806, allocations: 431.8 kB / 1.35 GB, free: 4.422 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003454/0.9841, allocations: 1.413 MB / 1.352 GB, free: 3.648 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.9862, allocations: 0.7777 MB / 1.352 GB, free: 3.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002452/0.9886, allocations: 1.86 MB / 1.354 GB, free: 2.402 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008636/0.9895, allocations: 0.5914 MB / 1.355 GB, free: 2.133 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00199/0.9915, allocations: 0.8753 MB / 1.356 GB, free: 1.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.9927, allocations: 0.5432 MB / 1.356 GB, free: 1.496 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.9928, allocations: 58.75 kB / 1.356 GB, free: 1.496 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002729/0.9955, allocations: 1.413 MB / 1.358 GB, free: 0.9609 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003094/0.9959, allocations: 263.5 kB / 1.358 GB, free: 0.8516 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004946/0.9964, allocations: 406.1 kB / 1.358 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.9986, allocations: 1.426 MB / 1.36 GB, free: 108 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.9986, allocations: 0 / 1.36 GB, free: 108 kB / 1.029 GB Notification: Performance of FrontEnd: time 1.052e-06/0.9987, allocations: 1.25 kB / 1.36 GB, free: 108 kB / 1.029 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.9987, allocations: 0 / 1.36 GB, free: 108 kB / 1.029 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.001863/1.001, allocations: 1.125 MB / 1.361 GB, free: 15.29 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/1.001, allocations: 9.594 kB / 1.361 GB, free: 15.29 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/1.001, allocations: 87.33 kB / 1.361 GB, free: 15.22 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/1.002, allocations: 216.6 kB / 1.361 GB, free: 15.16 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/1.003, allocations: 0.6237 MB / 1.362 GB, free: 14.75 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/1.003, allocations: 36.12 kB / 1.362 GB, free: 14.73 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.27e-05/1.003, allocations: 49.12 kB / 1.362 GB, free: 14.71 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009077/1.004, allocations: 499.6 kB / 1.362 GB, free: 14.52 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/1.004, allocations: 4 kB / 1.362 GB, free: 14.52 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/1.004, allocations: 16.5 kB / 1.362 GB, free: 14.51 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.847e-05/1.004, allocations: 16.31 kB / 1.362 GB, free: 14.5 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008256/1.005, allocations: 440.2 kB / 1.363 GB, free: 14.37 MB / 1.045 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.002857/1.008, allocations: 2.022 MB / 1.365 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006464/1.009, allocations: 341.1 kB / 1.365 GB, free: 12.54 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000362/1.009, allocations: 214.2 kB / 1.365 GB, free: 12.43 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003044/1.009, allocations: 195.8 kB / 1.365 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/1.009, allocations: 33.19 kB / 1.365 GB, free: 12.19 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 1.964e-06/1.009, allocations: 0 / 1.365 GB, free: 12.19 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.001308/1.011, allocations: 0.5455 MB / 1.366 GB, free: 11.91 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/1.011, allocations: 62.55 kB / 1.366 GB, free: 11.84 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006093/1.011, allocations: 0.5021 MB / 1.367 GB, free: 11.54 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/1.011, allocations: 32.11 kB / 1.367 GB, free: 11.51 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/1.012, allocations: 307.4 kB / 1.367 GB, free: 11.24 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/1.012, allocations: 126.7 kB / 1.367 GB, free: 11.13 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/1.012, allocations: 74.25 kB / 1.367 GB, free: 11.08 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001866/1.012, allocations: 365.2 kB / 1.367 GB, free: 10.73 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/1.012, allocations: 146.1 kB / 1.368 GB, free: 10.65 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003443/1.013, allocations: 217.1 kB / 1.368 GB, free: 10.5 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005805/1.013, allocations: 335.6 kB / 1.368 GB, free: 10.31 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.013, allocations: 0 / 1.368 GB, free: 10.31 MB / 1.045 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007636/1.014, allocations: 434.3 kB / 1.368 GB, free: 10.09 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/1.014, allocations: 5.812 kB / 1.368 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/1.014, allocations: 1.594 kB / 1.368 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/1.014, allocations: 1.844 kB / 1.368 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/1.015, allocations: 71.41 kB / 1.369 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/1.015, allocations: 10.84 kB / 1.369 GB, free: 10.06 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004928/1.015, allocations: 46.47 kB / 1.369 GB, free: 10.03 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.979e-05/1.015, allocations: 16.53 kB / 1.369 GB, free: 10.02 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004554/1.016, allocations: 303.9 kB / 1.369 GB, free: 9.828 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003277/1.016, allocations: 214 kB / 1.369 GB, free: 9.68 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005698/1.016, allocations: 337.2 kB / 1.369 GB, free: 9.488 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/1.016, allocations: 2.734 kB / 1.369 GB, free: 9.488 MB / 1.045 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007397/1.017, allocations: 423.8 kB / 1.37 GB, free: 9.27 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.645e-06/1.017, allocations: 6.438 kB / 1.37 GB, free: 9.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/1.017, allocations: 0 / 1.37 GB, free: 9.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.757e-06/1.017, allocations: 4.594 kB / 1.37 GB, free: 9.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/1.018, allocations: 73.33 kB / 1.37 GB, free: 9.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/1.018, allocations: 2.312 kB / 1.37 GB, free: 9.25 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/1.018, allocations: 33.25 kB / 1.37 GB, free: 9.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/1.018, allocations: 13.28 kB / 1.37 GB, free: 9.227 MB / 1.045 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.0001759/1.018, allocations: 201 kB / 1.37 GB, free: 9.027 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/1.018, allocations: 65.45 kB / 1.37 GB, free: 8.992 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008323/1.019, allocations: 419 kB / 1.371 GB, free: 8.754 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/1.019, allocations: 2.75 kB / 1.371 GB, free: 8.754 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.019, allocations: 5.312 kB / 1.371 GB, free: 8.75 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000654/1.02, allocations: 429 kB / 1.371 GB, free: 8.457 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/1.022, allocations: 1.173 MB / 1.372 GB, free: 7.586 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.022, allocations: 1.562 kB / 1.372 GB, free: 7.586 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004143/1.022, allocations: 92.64 kB / 1.372 GB, free: 7.559 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/1.022, allocations: 6.734 kB / 1.372 GB, free: 7.555 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/1.022, allocations: 13.48 kB / 1.372 GB, free: 7.547 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/1.022, allocations: 2.75 kB / 1.372 GB, free: 7.547 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.022, allocations: 5.312 kB / 1.372 GB, free: 7.543 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/1.023, allocations: 0.7067 MB / 1.373 GB, free: 7.082 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002633/1.024, allocations: 183 kB / 1.373 GB, free: 6.914 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.81e-05/1.024, allocations: 8.906 kB / 1.373 GB, free: 6.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004537/1.024, allocations: 28.91 kB / 1.373 GB, free: 6.895 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/1.024, allocations: 25.38 kB / 1.373 GB, free: 6.879 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/1.024, allocations: 14.22 kB / 1.373 GB, free: 6.875 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004225/1.025, allocations: 366.5 kB / 1.374 GB, free: 6.66 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.014e-06/1.025, allocations: 0 / 1.374 GB, free: 6.66 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008239/1.026, allocations: 334.7 kB / 1.374 GB, free: 6.59 MB / 1.045 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.001711/1.027, allocations: 1.339 MB / 1.375 GB, free: 5.551 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009887/1.028, allocations: 0.5105 MB / 1.376 GB, free: 5.324 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.028, allocations: 4 kB / 1.376 GB, free: 5.32 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003103/1.029, allocations: 187 kB / 1.376 GB, free: 5.234 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/1.03, allocations: 347.5 kB / 1.376 GB, free: 5.055 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006343/1.037, allocations: 4.661 MB / 1.381 GB, free: 1.953 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006082/1.037, allocations: 0.9321 MB / 1.382 GB, free: 1.141 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0006149/1.038, allocations: 181.9 kB / 1.382 GB, free: 1.062 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/1.038, allocations: 221.4 kB / 1.382 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of SimCode: time 4.61e-07/1.038, allocations: 0 / 1.382 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04509/1.083, allocations: 16.84 MB / 1.399 GB, free: 6.594 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.76/9.844, allocations: 10.38 kB / 1.399 GB, free: 6.59 MB / 1.061 GB (rm -f Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_10_Buildings.Fluid.Delays.Examples.Delay.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Delays.Examples.Delay_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches