Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.004524/0.004524, allocations: 98.3 kB / 15.73 MB, free: 6.047 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.001064/0.001064, allocations: 198.7 kB / 16.68 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.343/2.343, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 60 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2573, allocations: 140.4 MB / 1.087 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.206/0.4634, allocations: 170.8 MB / 1.254 GB, free: 6.5 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007486/0.4709, allocations: 3.379 MB / 1.258 GB, free: 3.109 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008023/0.4717, allocations: 19.88 kB / 1.258 GB, free: 3.09 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.473, allocations: 326.1 kB / 1.258 GB, free: 2.77 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003022/0.4761, allocations: 1.058 MB / 1.259 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.4778, allocations: 0.6706 MB / 1.26 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.5266/1.004, allocations: 1.527 MB / 1.261 GB, free: 4.242 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007725/1.005, allocations: 471.3 kB / 1.262 GB, free: 4.234 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000986/1.006, allocations: 0.5855 MB / 1.262 GB, free: 4.234 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/1.007, allocations: 473 kB / 1.263 GB, free: 4.234 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.661e-05/1.007, allocations: 55.38 kB / 1.263 GB, free: 4.234 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/1.009, allocations: 0.8363 MB / 1.263 GB, free: 4.234 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002838/1.009, allocations: 237.4 kB / 1.264 GB, free: 4.234 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003989/1.01, allocations: 336.6 kB / 1.264 GB, free: 4.234 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001758/1.012, allocations: 1.14 MB / 1.265 GB, free: 4.18 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/1.012, allocations: 1.031 kB / 1.265 GB, free: 4.18 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.174e-06/1.012, allocations: 3.188 kB / 1.265 GB, free: 4.18 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.728e-06/1.012, allocations: 2.719 kB / 1.265 GB, free: 4.18 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001367/1.013, allocations: 0.9289 MB / 1.266 GB, free: 3.602 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/1.013, allocations: 9.719 kB / 1.266 GB, free: 3.602 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.166e-05/1.013, allocations: 79.7 kB / 1.266 GB, free: 3.562 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/1.014, allocations: 182.4 kB / 1.266 GB, free: 3.527 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008097/1.015, allocations: 0.5254 MB / 1.267 GB, free: 3.27 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/1.015, allocations: 33.31 kB / 1.267 GB, free: 3.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.057e-05/1.015, allocations: 40.34 kB / 1.267 GB, free: 3.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000812/1.016, allocations: 480.1 kB / 1.267 GB, free: 3.234 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/1.016, allocations: 0 / 1.267 GB, free: 3.234 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.172e-05/1.016, allocations: 20.22 kB / 1.267 GB, free: 3.234 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.871e-05/1.016, allocations: 21.09 kB / 1.267 GB, free: 3.234 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006752/1.017, allocations: 414.4 kB / 1.268 GB, free: 3.23 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.002446/1.019, allocations: 1.725 MB / 1.269 GB, free: 2.469 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/1.02, allocations: 291.6 kB / 1.27 GB, free: 2.445 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/1.02, allocations: 184.5 kB / 1.27 GB, free: 2.438 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/1.02, allocations: 103.6 kB / 1.27 GB, free: 2.34 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/1.02, allocations: 41.62 kB / 1.27 GB, free: 2.301 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 1.714e-06/1.02, allocations: 0 / 1.27 GB, free: 2.301 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002189/1.023, allocations: 1.066 MB / 1.271 GB, free: 17.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/1.023, allocations: 56.81 kB / 1.271 GB, free: 17.87 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005657/1.023, allocations: 456.8 kB / 1.272 GB, free: 17.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/1.023, allocations: 35.77 kB / 1.272 GB, free: 17.72 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/1.023, allocations: 253.3 kB / 1.272 GB, free: 17.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.115e-05/1.023, allocations: 124.8 kB / 1.272 GB, free: 17.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/1.024, allocations: 65.61 kB / 1.272 GB, free: 17.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.024, allocations: 357.8 kB / 1.272 GB, free: 17.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/1.024, allocations: 130.5 kB / 1.272 GB, free: 17.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/1.024, allocations: 195.6 kB / 1.273 GB, free: 17.12 MB / 1.029 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002183/1.026, allocations: 0.8586 MB / 1.273 GB, free: 16.97 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.027, allocations: 2.359 kB / 1.273 GB, free: 16.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007656/1.027, allocations: 425.1 kB / 1.274 GB, free: 16.9 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/1.027, allocations: 8.594 kB / 1.274 GB, free: 16.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/1.027, allocations: 4.469 kB / 1.274 GB, free: 16.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.027, allocations: 3.469 kB / 1.274 GB, free: 16.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/1.028, allocations: 70.17 kB / 1.274 GB, free: 16.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/1.028, allocations: 8.641 kB / 1.274 GB, free: 16.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/1.028, allocations: 9.031 kB / 1.274 GB, free: 16.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/1.028, allocations: 15.67 kB / 1.274 GB, free: 16.9 MB / 1.029 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002805/1.028, allocations: 210.9 kB / 1.274 GB, free: 16.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.77e-05/1.029, allocations: 62.75 kB / 1.274 GB, free: 16.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/1.029, allocations: 55.58 kB / 1.274 GB, free: 16.74 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.029, allocations: 4.219 kB / 1.274 GB, free: 16.74 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/1.029, allocations: 2.891 kB / 1.274 GB, free: 16.74 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000491/1.029, allocations: 413.5 kB / 1.275 GB, free: 16.58 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/1.031, allocations: 1.246 MB / 1.276 GB, free: 16.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/1.031, allocations: 6.562 kB / 1.276 GB, free: 16.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003494/1.031, allocations: 77.14 kB / 1.276 GB, free: 16.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/1.031, allocations: 6.219 kB / 1.276 GB, free: 16.14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/1.031, allocations: 15.2 kB / 1.276 GB, free: 16.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/1.031, allocations: 8.734 kB / 1.276 GB, free: 16.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.032, allocations: 9 kB / 1.276 GB, free: 16.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007831/1.032, allocations: 0.6994 MB / 1.277 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/1.033, allocations: 175.1 kB / 1.277 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.74e-05/1.033, allocations: 12.5 kB / 1.277 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004264/1.033, allocations: 16.47 kB / 1.277 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/1.033, allocations: 36.12 kB / 1.277 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/1.033, allocations: 18.34 kB / 1.277 GB, free: 15.72 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003767/1.034, allocations: 335.6 kB / 1.277 GB, free: 15.64 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/1.034, allocations: 0 / 1.277 GB, free: 15.64 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006158/1.034, allocations: 140 kB / 1.277 GB, free: 15.64 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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.001465/1.036, allocations: 1.304 MB / 1.279 GB, free: 14.82 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006258/1.036, allocations: 332.2 kB / 1.279 GB, free: 14.81 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.036, allocations: 1.25 kB / 1.279 GB, free: 14.81 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002265/1.037, allocations: 167 kB / 1.279 GB, free: 14.81 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/1.038, allocations: 372.3 kB / 1.28 GB, free: 14.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005346/1.044, allocations: 4.417 MB / 1.284 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005306/1.044, allocations: 0.8864 MB / 1.285 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005711/1.045, allocations: 130.2 kB / 1.285 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/1.045, allocations: 166.2 kB / 1.285 GB, free: 12.16 MB / 1.029 GB Notification: Performance of SimCode: time 7.91e-07/1.045, allocations: 0 / 1.285 GB, free: 12.16 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04209/1.087, allocations: 15.48 MB / 1.3 GB, free: 11.09 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/9.287, allocations: 5.359 kB / 1.3 GB, free: 11.09 MB / 1.029 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches