Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_10_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.008091/0.008091, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.002011/0.002011, allocations: 192.2 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.46/2.46, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.91 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6796/0.681, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1609/0.8419, allocations: 170.8 MB / 1.333 GB, free: 8.293 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00507/0.847, allocations: 3.38 MB / 1.336 GB, free: 4.902 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000489/0.8475, allocations: 19.88 kB / 1.336 GB, free: 4.883 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008355/0.8484, allocations: 326.1 kB / 1.337 GB, free: 4.562 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002163/0.8505, allocations: 1.058 MB / 1.338 GB, free: 3.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.8521, allocations: 0.6651 MB / 1.338 GB, free: 2.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0016/0.8537, allocations: 1.541 MB / 1.34 GB, free: 1.293 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000577/0.8543, allocations: 475 kB / 1.34 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008154/0.8551, allocations: 0.5954 MB / 1.341 GB, free: 236 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009448/0.8561, allocations: 470 kB / 1.341 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.817e-05/0.8562, allocations: 55.94 kB / 1.341 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.8577, allocations: 0.8379 MB / 1.342 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002445/0.8579, allocations: 243.3 kB / 1.342 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003497/0.8583, allocations: 330.6 kB / 1.343 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.8598, allocations: 1.134 MB / 1.344 GB, free: 13.18 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.8598, allocations: 0 / 1.344 GB, free: 13.18 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8598, allocations: 8 kB / 1.344 GB, free: 13.17 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.8598, allocations: 0 / 1.344 GB, free: 13.17 MB / 1.076 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.001328/0.8612, allocations: 0.9302 MB / 1.345 GB, free: 12.19 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.8612, allocations: 8.625 kB / 1.345 GB, free: 12.18 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.951e-05/0.8613, allocations: 78.53 kB / 1.345 GB, free: 12.1 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.8625, allocations: 183.4 kB / 1.345 GB, free: 11.92 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008325/0.8633, allocations: 0.529 MB / 1.345 GB, free: 11.35 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.8634, allocations: 29 kB / 1.345 GB, free: 11.32 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.918e-05/0.8635, allocations: 44 kB / 1.346 GB, free: 11.28 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007405/0.8642, allocations: 478.3 kB / 1.346 GB, free: 10.8 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.8642, allocations: 3.984 kB / 1.346 GB, free: 10.8 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.206e-05/0.8643, allocations: 23.98 kB / 1.346 GB, free: 10.78 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.8643, allocations: 13 kB / 1.346 GB, free: 10.77 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006311/0.865, allocations: 411.8 kB / 1.346 GB, free: 10.36 MB / 1.076 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.002479/0.8675, allocations: 1.732 MB / 1.348 GB, free: 8.5 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000469/0.8679, allocations: 294.6 kB / 1.348 GB, free: 8.203 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.8682, allocations: 182.5 kB / 1.349 GB, free: 8.023 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/0.8684, allocations: 93.05 kB / 1.349 GB, free: 7.914 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.8684, allocations: 50.53 kB / 1.349 GB, free: 7.855 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 3.306e-06/0.8684, allocations: 0 / 1.349 GB, free: 7.855 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.00187/0.8703, allocations: 1.071 MB / 1.35 GB, free: 6.738 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.8704, allocations: 55.41 kB / 1.35 GB, free: 6.672 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004844/0.8708, allocations: 453.9 kB / 1.35 GB, free: 6.219 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.8709, allocations: 37.7 kB / 1.35 GB, free: 6.176 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.8711, allocations: 256.4 kB / 1.351 GB, free: 5.922 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.775e-05/0.8712, allocations: 123 kB / 1.351 GB, free: 5.801 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.8713, allocations: 65.7 kB / 1.351 GB, free: 5.73 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.8715, allocations: 358.8 kB / 1.351 GB, free: 5.371 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.8717, allocations: 127.9 kB / 1.351 GB, free: 5.246 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.8719, allocations: 193.9 kB / 1.351 GB, free: 5.035 MB / 1.076 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.001885/0.8738, allocations: 0.8623 MB / 1.352 GB, free: 4.133 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8738, allocations: 4 kB / 1.352 GB, free: 4.129 MB / 1.076 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005958/0.8744, allocations: 420.8 kB / 1.353 GB, free: 3.711 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.8745, allocations: 4 kB / 1.353 GB, free: 3.707 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.8745, allocations: 0 / 1.353 GB, free: 3.707 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.8745, allocations: 7.938 kB / 1.353 GB, free: 3.699 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.8748, allocations: 75.84 kB / 1.353 GB, free: 3.625 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.8748, allocations: 8.188 kB / 1.353 GB, free: 3.617 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/0.8752, allocations: 15.92 kB / 1.353 GB, free: 3.602 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.8753, allocations: 16 kB / 1.353 GB, free: 3.586 MB / 1.076 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.0002359/0.8755, allocations: 209.7 kB / 1.353 GB, free: 3.371 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.173e-05/0.8756, allocations: 55.67 kB / 1.353 GB, free: 3.316 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.8757, allocations: 60.75 kB / 1.353 GB, free: 3.258 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.8757, allocations: 0 / 1.353 GB, free: 3.258 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.8758, allocations: 4 kB / 1.353 GB, free: 3.254 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004708/0.8762, allocations: 408.3 kB / 1.353 GB, free: 2.824 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.878, allocations: 1.243 MB / 1.355 GB, free: 1.477 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.878, allocations: 7.984 kB / 1.355 GB, free: 1.469 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000341/0.8784, allocations: 72.41 kB / 1.355 GB, free: 1.398 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.8784, allocations: 12 kB / 1.355 GB, free: 1.387 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.8784, allocations: 8 kB / 1.355 GB, free: 1.379 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.8785, allocations: 11.94 kB / 1.355 GB, free: 1.367 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.8785, allocations: 4 kB / 1.355 GB, free: 1.363 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008264/0.8793, allocations: 0.7039 MB / 1.355 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002441/0.8796, allocations: 172.7 kB / 1.356 GB, free: 416 kB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.763e-05/0.8796, allocations: 12 kB / 1.356 GB, free: 404 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004108/0.88, allocations: 21.11 kB / 1.356 GB, free: 384 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.8801, allocations: 35.91 kB / 1.356 GB, free: 348 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.8802, allocations: 20 kB / 1.356 GB, free: 328 kB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003445/0.8805, allocations: 327.1 kB / 1.356 GB, free: 0 / 1.076 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8805, allocations: 4.047 kB / 1.356 GB, free: 15.99 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005537/0.8811, allocations: 143.9 kB / 1.356 GB, free: 15.85 MB / 1.092 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.001318/0.8824, allocations: 1.314 MB / 1.357 GB, free: 14.48 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005368/0.883, allocations: 341.8 kB / 1.358 GB, free: 14.14 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.883, allocations: 7.938 kB / 1.358 GB, free: 14.14 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.8832, allocations: 156.8 kB / 1.358 GB, free: 13.98 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.8849, allocations: 364.9 kB / 1.358 GB, free: 13.64 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005131/0.8901, allocations: 4.405 MB / 1.363 GB, free: 9.012 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.8905, allocations: 0.8862 MB / 1.363 GB, free: 8.094 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004701/0.891, allocations: 140.6 kB / 1.364 GB, free: 7.957 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.8912, allocations: 171.4 kB / 1.364 GB, free: 7.793 MB / 1.092 GB Notification: Performance of SimCode: time 5.81e-07/0.8912, allocations: 0 / 1.364 GB, free: 7.793 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03662/0.9279, allocations: 15.47 MB / 1.379 GB, free: 8.59 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.171/9.099, allocations: 7.922 kB / 1.379 GB, free: 8.582 MB / 1.107 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches