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.007395/0.007395, allocations: 96.56 kB / 15.73 MB, free: 6.031 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.002006/0.002006, allocations: 194.6 kB / 16.68 MB, free: 5.961 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.812/2.812, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 64.05 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.281, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.706/0.9871, allocations: 170.8 MB / 1.333 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006127/0.9932, allocations: 3.377 MB / 1.336 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007817/0.994, allocations: 25.44 kB / 1.336 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009593/0.995, allocations: 316.6 kB / 1.337 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002495/0.9976, allocations: 1.014 MB / 1.338 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.9992, allocations: 0.6666 MB / 1.338 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001815/1.001, allocations: 1.531 MB / 1.34 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006347/1.002, allocations: 474.7 kB / 1.34 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008094/1.003, allocations: 0.5633 MB / 1.341 GB, free: 12.4 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/1.004, allocations: 477 kB / 1.341 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.855e-05/1.004, allocations: 54.03 kB / 1.341 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/1.005, allocations: 0.8351 MB / 1.342 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002688/1.005, allocations: 233.4 kB / 1.342 GB, free: 11.78 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003919/1.006, allocations: 334.5 kB / 1.343 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001513/1.007, allocations: 1.132 MB / 1.344 GB, free: 11.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/1.007, allocations: 0 / 1.344 GB, free: 11.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.132e-06/1.007, allocations: 0 / 1.344 GB, free: 11.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.667e-06/1.007, allocations: 1.156 kB / 1.344 GB, free: 11.2 MB / 1.029 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.001478/1.009, allocations: 0.9272 MB / 1.345 GB, free: 10.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/1.009, allocations: 9.906 kB / 1.345 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/1.009, allocations: 90.98 kB / 1.345 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/1.01, allocations: 178.1 kB / 1.345 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008352/1.011, allocations: 0.5209 MB / 1.345 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/1.011, allocations: 37.47 kB / 1.345 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.846e-05/1.011, allocations: 40.81 kB / 1.345 GB, free: 10.01 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008025/1.012, allocations: 473 kB / 1.346 GB, free: 9.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/1.012, allocations: 5.391 kB / 1.346 GB, free: 9.816 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.098e-05/1.012, allocations: 20.62 kB / 1.346 GB, free: 9.801 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/1.012, allocations: 16.48 kB / 1.346 GB, free: 9.801 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006724/1.013, allocations: 414.2 kB / 1.346 GB, free: 9.668 MB / 1.029 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.002595/1.015, allocations: 1.731 MB / 1.348 GB, free: 8.516 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/1.016, allocations: 293.1 kB / 1.348 GB, free: 8.391 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/1.016, allocations: 183 kB / 1.348 GB, free: 8.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/1.016, allocations: 103.9 kB / 1.349 GB, free: 8.219 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/1.016, allocations: 41.41 kB / 1.349 GB, free: 8.172 MB / 1.029 GB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/1.016, allocations: 0 / 1.349 GB, free: 8.172 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.002036/1.019, allocations: 1.068 MB / 1.35 GB, free: 7.547 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/1.019, allocations: 55.5 kB / 1.35 GB, free: 7.484 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/1.019, allocations: 453.2 kB / 1.35 GB, free: 7.277 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/1.019, allocations: 41.08 kB / 1.35 GB, free: 7.234 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/1.019, allocations: 252.5 kB / 1.35 GB, free: 7.027 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/1.019, allocations: 124.8 kB / 1.351 GB, free: 6.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/1.02, allocations: 70.56 kB / 1.351 GB, free: 6.887 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001689/1.02, allocations: 356.4 kB / 1.351 GB, free: 6.555 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/1.02, allocations: 127 kB / 1.351 GB, free: 6.512 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/1.02, allocations: 199.3 kB / 1.351 GB, free: 6.395 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.001979/1.022, allocations: 0.8642 MB / 1.352 GB, free: 5.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.022, allocations: 0 / 1.352 GB, free: 5.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006531/1.023, allocations: 426.2 kB / 1.353 GB, free: 5.789 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/1.023, allocations: 6.781 kB / 1.353 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/1.023, allocations: 3.844 kB / 1.353 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/1.023, allocations: 4.281 kB / 1.353 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/1.023, allocations: 75.2 kB / 1.353 GB, free: 5.777 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/1.023, allocations: 2.781 kB / 1.353 GB, free: 5.777 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/1.024, allocations: 11.75 kB / 1.353 GB, free: 5.773 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/1.024, allocations: 15.36 kB / 1.353 GB, free: 5.77 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.0002577/1.024, allocations: 210.9 kB / 1.353 GB, free: 5.609 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/1.024, allocations: 56.52 kB / 1.353 GB, free: 5.578 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/1.024, allocations: 62.06 kB / 1.353 GB, free: 5.539 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/1.024, allocations: 3.281 kB / 1.353 GB, free: 5.539 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.024, allocations: 2.531 kB / 1.353 GB, free: 5.539 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005274/1.025, allocations: 405.3 kB / 1.353 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/1.027, allocations: 1.244 MB / 1.355 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.027, allocations: 4.625 kB / 1.355 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003462/1.027, allocations: 78.02 kB / 1.355 GB, free: 4.512 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/1.027, allocations: 5.75 kB / 1.355 GB, free: 4.512 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/1.027, allocations: 12.59 kB / 1.355 GB, free: 4.508 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.027, allocations: 5.656 kB / 1.355 GB, free: 4.508 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.027, allocations: 4.844 kB / 1.355 GB, free: 4.508 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009219/1.028, allocations: 0.7119 MB / 1.355 GB, free: 4.031 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/1.028, allocations: 170.5 kB / 1.356 GB, free: 3.891 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.535e-05/1.028, allocations: 14.19 kB / 1.356 GB, free: 3.887 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/1.029, allocations: 15.66 kB / 1.356 GB, free: 3.883 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/1.029, allocations: 38.12 kB / 1.356 GB, free: 3.867 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/1.029, allocations: 16.88 kB / 1.356 GB, free: 3.867 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003897/1.029, allocations: 332.1 kB / 1.356 GB, free: 3.707 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.029, allocations: 1.312 kB / 1.356 GB, free: 3.707 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000563/1.03, allocations: 145.8 kB / 1.356 GB, free: 3.691 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.001508/1.031, allocations: 1.315 MB / 1.357 GB, free: 2.668 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005621/1.032, allocations: 333.6 kB / 1.358 GB, free: 2.551 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/1.032, allocations: 1.094 kB / 1.358 GB, free: 2.551 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002393/1.032, allocations: 157.6 kB / 1.358 GB, free: 2.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/1.034, allocations: 379.9 kB / 1.358 GB, free: 2.391 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005695/1.04, allocations: 4.412 MB / 1.362 GB, free: 15.67 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005407/1.04, allocations: 0.8847 MB / 1.363 GB, free: 14.95 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004706/1.041, allocations: 137.5 kB / 1.363 GB, free: 14.91 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/1.041, allocations: 169.2 kB / 1.364 GB, free: 14.8 MB / 1.045 GB Notification: Performance of SimCode: time 7.11e-07/1.041, allocations: 0 / 1.364 GB, free: 14.8 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04154/1.083, allocations: 15.47 MB / 1.379 GB, free: 7.293 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.79/9.873, allocations: 7 kB / 1.379 GB, free: 7.289 MB / 1.045 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