Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.004651/0.004651, allocations: 98.12 kB / 15.73 MB, free: 6.004 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.001119/0.001119, allocations: 195 kB / 16.67 MB, free: 5.934 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.348/1.348, 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.61/2.61, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00255/0.00255, allocations: 67.89 kB / 1.018 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3037, allocations: 151.6 MB / 1.166 GB, free: 7.387 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.7486/1.052, allocations: 209.9 MB / 1.371 GB, free: 4.785 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0152/1.068, allocations: 9.859 MB / 1.381 GB, free: 13.37 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002204/1.07, allocations: 62.09 kB / 1.381 GB, free: 13.34 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001986/1.072, allocations: 0.7918 MB / 1.382 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006875/1.079, allocations: 2.908 MB / 1.384 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003412/1.082, allocations: 1.398 MB / 1.386 GB, free: 9.375 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004901/1.087, allocations: 4.071 MB / 1.39 GB, free: 7.035 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/1.089, allocations: 1.329 MB / 1.391 GB, free: 6.207 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/1.091, allocations: 1.419 MB / 1.392 GB, free: 5.383 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/1.093, allocations: 1.22 MB / 1.394 GB, free: 4.672 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002514/1.094, allocations: 143.7 kB / 1.394 GB, free: 4.672 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004805/1.098, allocations: 2.4 MB / 1.396 GB, free: 3.359 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006246/1.099, allocations: 0.6062 MB / 1.397 GB, free: 2.945 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001017/1.1, allocations: 0.8591 MB / 1.398 GB, free: 2.398 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004486/1.105, allocations: 3.008 MB / 1.401 GB, free: 480 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.105, allocations: 3.984 kB / 1.401 GB, free: 476 kB / 1.061 GB Notification: Performance of FrontEnd: time 2.245e-06/1.105, allocations: 7.156 kB / 1.401 GB, free: 472 kB / 1.061 GB Notification: Performance of Transformations before backend: time 2.544e-05/1.105, allocations: 0 / 1.401 GB, free: 472 kB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002985/1.108, allocations: 1.945 MB / 1.402 GB, free: 15.01 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/1.108, allocations: 13.59 kB / 1.402 GB, free: 15.01 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001892/1.108, allocations: 165.9 kB / 1.403 GB, free: 14.88 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003063/1.111, allocations: 492.6 kB / 1.403 GB, free: 14.65 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001996/1.113, allocations: 1.142 MB / 1.404 GB, free: 13.8 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.548e-05/1.113, allocations: 95.47 kB / 1.404 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/1.113, allocations: 108.7 kB / 1.404 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/1.115, allocations: 1.155 MB / 1.406 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/1.115, allocations: 3.938 kB / 1.406 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/1.115, allocations: 48.66 kB / 1.406 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.202e-05/1.115, allocations: 41.14 kB / 1.406 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/1.117, allocations: 1.076 MB / 1.407 GB, free: 12.46 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.00566/1.122, allocations: 4.208 MB / 1.411 GB, free: 9.066 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/1.124, allocations: 0.7847 MB / 1.412 GB, free: 8.66 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005953/1.124, allocations: 485.2 kB / 1.412 GB, free: 8.426 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003733/1.125, allocations: 290.8 kB / 1.412 GB, free: 8.129 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/1.125, allocations: 48.83 kB / 1.412 GB, free: 8.074 MB / 1.076 GB Notification: Performance of pre-optimization done (n=83): time 2.845e-06/1.125, allocations: 0 / 1.412 GB, free: 8.074 MB / 1.076 GB Notification: Performance of matching and sorting (n=89): time 0.005458/1.13, allocations: 2.864 MB / 1.415 GB, free: 5.398 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/1.13, allocations: 64.34 kB / 1.415 GB, free: 5.324 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/1.131, allocations: 0.9794 MB / 1.416 GB, free: 4.328 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.569e-05/1.131, allocations: 45.7 kB / 1.416 GB, free: 4.277 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003917/1.132, allocations: 0.5481 MB / 1.417 GB, free: 3.723 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/1.132, allocations: 333.2 kB / 1.417 GB, free: 3.395 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/1.132, allocations: 154.6 kB / 1.417 GB, free: 3.234 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.132, allocations: 341.9 kB / 1.418 GB, free: 2.895 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/1.133, allocations: 341.8 kB / 1.418 GB, free: 2.562 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006443/1.134, allocations: 481.9 kB / 1.418 GB, free: 2.055 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) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005927/1.14, allocations: 3.042 MB / 1.421 GB, free: 14.92 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.14, allocations: 0 / 1.421 GB, free: 14.92 MB / 1.092 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001583/1.141, allocations: 1.02 MB / 1.422 GB, free: 13.9 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/1.141, allocations: 11.94 kB / 1.422 GB, free: 13.89 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/1.141, allocations: 4 kB / 1.422 GB, free: 13.88 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/1.141, allocations: 4 kB / 1.422 GB, free: 13.88 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007423/1.142, allocations: 175.8 kB / 1.422 GB, free: 13.71 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/1.142, allocations: 12.31 kB / 1.422 GB, free: 13.7 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/1.143, allocations: 35.94 kB / 1.422 GB, free: 13.66 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-05/1.143, allocations: 32 kB / 1.423 GB, free: 13.63 MB / 1.092 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0005857/1.144, allocations: 385.5 kB / 1.423 GB, free: 13.24 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/1.144, allocations: 135.1 kB / 1.423 GB, free: 13.11 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/1.144, allocations: 148.3 kB / 1.423 GB, free: 12.96 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/1.144, allocations: 8 kB / 1.423 GB, free: 12.95 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/1.144, allocations: 4 kB / 1.423 GB, free: 12.95 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001458/1.146, allocations: 1.09 MB / 1.424 GB, free: 11.78 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004914/1.151, allocations: 3.047 MB / 1.427 GB, free: 8.559 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/1.151, allocations: 12 kB / 1.427 GB, free: 8.547 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007155/1.151, allocations: 163.7 kB / 1.427 GB, free: 8.387 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003471/1.152, allocations: 106.3 kB / 1.427 GB, free: 8.277 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.282e-05/1.152, allocations: 28 kB / 1.428 GB, free: 8.25 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002367/1.154, allocations: 3.095 MB / 1.431 GB, free: 4.879 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/1.154, allocations: 11.94 kB / 1.431 GB, free: 4.867 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/1.157, allocations: 1.746 MB / 1.432 GB, free: 2.984 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008094/1.157, allocations: 308.2 kB / 1.433 GB, free: 2.664 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002745/1.158, allocations: 31.94 kB / 1.433 GB, free: 2.633 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/1.159, allocations: 48.58 kB / 1.433 GB, free: 2.59 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/1.159, allocations: 88.11 kB / 1.433 GB, free: 2.504 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-05/1.159, allocations: 43.98 kB / 1.433 GB, free: 2.461 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009729/1.16, allocations: 0.6956 MB / 1.433 GB, free: 1.758 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.1e-07/1.16, allocations: 0 / 1.433 GB, free: 1.758 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001343/1.161, allocations: 371.9 kB / 1.434 GB, free: 1.395 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003047/1.164, allocations: 2.431 MB / 1.436 GB, free: 14.82 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00141/1.166, allocations: 0.8473 MB / 1.437 GB, free: 13.98 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.166, allocations: 0 / 1.437 GB, free: 13.98 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009843/1.167, allocations: 0.6766 MB / 1.438 GB, free: 13.28 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004532/1.171, allocations: 0.923 MB / 1.439 GB, free: 12.38 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/1.185, allocations: 9.71 MB / 1.448 GB, free: 2.227 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009183/1.186, allocations: 1.253 MB / 1.449 GB, free: 0.9453 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.00124/1.187, allocations: 343 kB / 1.45 GB, free: 0.6055 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006719/1.188, allocations: 471.3 kB / 1.45 GB, free: 148 kB / 1.107 GB Notification: Performance of SimCode: time 7.51e-07/1.188, allocations: 7.875 kB / 1.45 GB, free: 140 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06995/1.258, allocations: 38.42 MB / 1.488 GB, free: 10.28 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/12.64, allocations: 9.422 kB / 1.488 GB, free: 10.27 MB / 1.154 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches