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.007866/0.007866, allocations: 100.7 kB / 15.73 MB, free: 6.496 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.001939/0.001939, allocations: 196.6 kB / 16.68 MB, free: 6.375 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.4 MB, free: 4.312 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.326/2.326, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.41 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2301, allocations: 140.4 MB / 1.087 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1698/0.4, allocations: 170.8 MB / 1.254 GB, free: 6.492 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0054/0.4054, allocations: 3.383 MB / 1.258 GB, free: 3.098 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006542/0.4061, allocations: 23.88 kB / 1.258 GB, free: 3.074 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000952/0.4071, allocations: 318.1 kB / 1.258 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002413/0.4095, allocations: 1.015 MB / 1.259 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.4113, allocations: 0.6621 MB / 1.26 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.537/0.9483, allocations: 1.515 MB / 1.261 GB, free: 4.305 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008106/0.9492, allocations: 478 kB / 1.261 GB, free: 4.297 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.9502, allocations: 0.5626 MB / 1.262 GB, free: 4.297 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.9513, allocations: 462.3 kB / 1.262 GB, free: 4.297 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.9514, allocations: 56 kB / 1.263 GB, free: 4.297 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.9531, allocations: 0.8337 MB / 1.263 GB, free: 4.297 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000308/0.9534, allocations: 240.5 kB / 1.264 GB, free: 4.297 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004218/0.9539, allocations: 334 kB / 1.264 GB, free: 4.297 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.9557, allocations: 1.136 MB / 1.265 GB, free: 4.273 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9557, allocations: 0.5938 kB / 1.265 GB, free: 4.273 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9557, allocations: 0 / 1.265 GB, free: 4.273 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.9557, allocations: 1.656 kB / 1.265 GB, free: 4.273 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.00138/0.9571, allocations: 0.9104 MB / 1.266 GB, free: 3.734 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.9572, allocations: 9.734 kB / 1.266 GB, free: 3.734 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.8e-05/0.9573, allocations: 86.03 kB / 1.266 GB, free: 3.695 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.9585, allocations: 177.9 kB / 1.266 GB, free: 3.664 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008389/0.9594, allocations: 0.5163 MB / 1.267 GB, free: 3.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/0.9594, allocations: 36.34 kB / 1.267 GB, free: 3.41 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.833e-05/0.9595, allocations: 46.5 kB / 1.267 GB, free: 3.406 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008237/0.9603, allocations: 476.3 kB / 1.267 GB, free: 3.371 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.9604, allocations: 0.75 kB / 1.267 GB, free: 3.371 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.179e-05/0.9604, allocations: 19.59 kB / 1.267 GB, free: 3.371 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.069e-05/0.9605, allocations: 22.91 kB / 1.267 GB, free: 3.371 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007146/0.9612, allocations: 413.5 kB / 1.268 GB, free: 3.367 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.002566/0.9637, allocations: 1.718 MB / 1.269 GB, free: 2.613 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004848/0.9642, allocations: 296.3 kB / 1.27 GB, free: 2.59 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.9645, allocations: 185.1 kB / 1.27 GB, free: 2.582 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/0.9647, allocations: 99.97 kB / 1.27 GB, free: 2.484 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.9647, allocations: 38.25 kB / 1.27 GB, free: 2.445 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 2.094e-06/0.9647, allocations: 0.8125 kB / 1.27 GB, free: 2.445 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002266/0.967, allocations: 1.063 MB / 1.271 GB, free: 18.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.9671, allocations: 55.5 kB / 1.271 GB, free: 18.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005439/0.9676, allocations: 456.3 kB / 1.271 GB, free: 17.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.9677, allocations: 37.23 kB / 1.271 GB, free: 17.87 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.9678, allocations: 247.7 kB / 1.272 GB, free: 17.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.007e-05/0.9679, allocations: 118.9 kB / 1.272 GB, free: 17.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.9681, allocations: 73.67 kB / 1.272 GB, free: 17.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.9682, allocations: 355.9 kB / 1.272 GB, free: 17.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.9685, allocations: 127.1 kB / 1.272 GB, free: 17.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.9688, allocations: 195.4 kB / 1.273 GB, free: 17.28 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.002202/0.971, allocations: 0.8599 MB / 1.273 GB, free: 17.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.971, allocations: 4.438 kB / 1.273 GB, free: 17.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007553/0.9718, allocations: 417.4 kB / 1.274 GB, free: 17.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.9718, allocations: 7.312 kB / 1.274 GB, free: 17.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.9718, allocations: 1.781 kB / 1.274 GB, free: 17.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.9718, allocations: 8.359 kB / 1.274 GB, free: 17.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.9722, allocations: 70.12 kB / 1.274 GB, free: 17.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.9722, allocations: 4.594 kB / 1.274 GB, free: 17.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004273/0.9726, allocations: 14.67 kB / 1.274 GB, free: 17.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.9727, allocations: 14.19 kB / 1.274 GB, free: 17.06 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.0002784/0.973, allocations: 213.9 kB / 1.274 GB, free: 16.94 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.9731, allocations: 54.17 kB / 1.274 GB, free: 16.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.9732, allocations: 59.28 kB / 1.274 GB, free: 16.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.9732, allocations: 4.5 kB / 1.274 GB, free: 16.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.9732, allocations: 1.375 kB / 1.274 GB, free: 16.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000496/0.9737, allocations: 408.7 kB / 1.275 GB, free: 16.74 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.9755, allocations: 1.247 MB / 1.276 GB, free: 16.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.9756, allocations: 7.219 kB / 1.276 GB, free: 16.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/0.9759, allocations: 74.61 kB / 1.276 GB, free: 16.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.9759, allocations: 6.109 kB / 1.276 GB, free: 16.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.976, allocations: 14 kB / 1.276 GB, free: 16.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.976, allocations: 10.88 kB / 1.276 GB, free: 16.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.976, allocations: 4.828 kB / 1.276 GB, free: 16.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007978/0.9768, allocations: 0.7032 MB / 1.277 GB, free: 16.01 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.9771, allocations: 169.1 kB / 1.277 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.207e-05/0.9771, allocations: 14.02 kB / 1.277 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004285/0.9776, allocations: 20.56 kB / 1.277 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.9776, allocations: 32.56 kB / 1.277 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/0.9777, allocations: 20.31 kB / 1.277 GB, free: 15.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003629/0.978, allocations: 328.2 kB / 1.277 GB, free: 15.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9781, allocations: 0.9062 kB / 1.277 GB, free: 15.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006049/0.9787, allocations: 143.7 kB / 1.277 GB, free: 15.8 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.001411/0.9801, allocations: 1.306 MB / 1.279 GB, free: 14.99 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006434/0.9807, allocations: 340.3 kB / 1.279 GB, free: 14.97 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.9808, allocations: 2.125 kB / 1.279 GB, free: 14.97 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.981, allocations: 162 kB / 1.279 GB, free: 14.97 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/0.9828, allocations: 366.5 kB / 1.279 GB, free: 14.94 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005276/0.988, allocations: 4.403 MB / 1.284 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.9886, allocations: 0.885 MB / 1.285 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005178/0.9891, allocations: 140.3 kB / 1.285 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.9893, allocations: 168 kB / 1.285 GB, free: 12.34 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.9893, allocations: 0.8438 kB / 1.285 GB, free: 12.34 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04083/1.03, allocations: 15.47 MB / 1.3 GB, free: 11.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/9.17, allocations: 6.391 kB / 1.3 GB, free: 11.27 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