Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.004984/0.004984, allocations: 97.62 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.00128/0.00128, allocations: 202.5 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.738/2.738, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 67.91 kB / 1.018 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2786, allocations: 151.6 MB / 1.166 GB, free: 7.426 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.7149/0.9935, allocations: 187.9 MB / 1.35 GB, free: 4.789 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01616/1.01, allocations: 10.74 MB / 1.36 GB, free: 13.24 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/1.011, allocations: 40.78 kB / 1.36 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001368/1.012, allocations: 0.4949 MB / 1.361 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006338/1.019, allocations: 2.576 MB / 1.363 GB, free: 11.58 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005946/1.025, allocations: 2.475 MB / 1.366 GB, free: 10.46 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004172/1.029, allocations: 2.773 MB / 1.368 GB, free: 8.965 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/1.03, allocations: 0.7742 MB / 1.369 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/1.032, allocations: 0.9964 MB / 1.37 GB, free: 7.895 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001966/1.034, allocations: 1.056 MB / 1.371 GB, free: 7.289 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001508/1.034, allocations: 101 kB / 1.371 GB, free: 7.285 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006109/1.04, allocations: 3.006 MB / 1.374 GB, free: 5.578 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005581/1.041, allocations: 442.5 kB / 1.375 GB, free: 5.285 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000721/1.041, allocations: 0.5754 MB / 1.375 GB, free: 4.918 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005154/1.047, allocations: 2.966 MB / 1.378 GB, free: 3.086 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.047, allocations: 4 kB / 1.378 GB, free: 3.082 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.894e-06/1.047, allocations: 2.438 kB / 1.378 GB, free: 3.082 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.325e-05/1.047, allocations: 4 kB / 1.378 GB, free: 3.078 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003431/1.05, allocations: 1.723 MB / 1.38 GB, free: 1.77 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/1.05, allocations: 7.219 kB / 1.38 GB, free: 1.77 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001673/1.05, allocations: 117.1 kB / 1.38 GB, free: 1.672 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/1.052, allocations: 295.8 kB / 1.38 GB, free: 1.527 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/1.054, allocations: 0.8432 MB / 1.381 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.838e-05/1.054, allocations: 51.56 kB / 1.381 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/1.054, allocations: 68.7 kB / 1.381 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/1.055, allocations: 0.9867 MB / 1.382 GB, free: 260 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/1.055, allocations: 7.922 kB / 1.382 GB, free: 252 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-05/1.056, allocations: 25.11 kB / 1.382 GB, free: 232 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.42e-05/1.056, allocations: 75.7 kB / 1.382 GB, free: 204 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/1.057, allocations: 1.013 MB / 1.383 GB, free: 15.69 MB / 1.061 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.005813/1.063, allocations: 3.584 MB / 1.387 GB, free: 12.88 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/1.064, allocations: 0.664 MB / 1.387 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005528/1.065, allocations: 380.8 kB / 1.388 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002798/1.065, allocations: 194.1 kB / 1.388 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/1.065, allocations: 42.05 kB / 1.388 GB, free: 12.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=62): time 2.274e-06/1.065, allocations: 0 / 1.388 GB, free: 12.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=62): time 0.00192/1.067, allocations: 1.028 MB / 1.389 GB, free: 11.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/1.067, allocations: 115.5 kB / 1.389 GB, free: 11.44 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009801/1.068, allocations: 0.7995 MB / 1.39 GB, free: 10.99 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.89e-05/1.068, allocations: 36.48 kB / 1.39 GB, free: 10.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003757/1.069, allocations: 435.1 kB / 1.39 GB, free: 10.57 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/1.069, allocations: 229.5 kB / 1.39 GB, free: 10.38 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002544/1.069, allocations: 143.9 kB / 1.39 GB, free: 10.29 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001762/1.069, allocations: 341.8 kB / 1.391 GB, free: 9.961 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005659/1.07, allocations: 337.4 kB / 1.391 GB, free: 9.785 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006891/1.071, allocations: 461.1 kB / 1.392 GB, free: 9.492 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/1.072, allocations: 0.7707 MB / 1.392 GB, free: 9.035 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.072, allocations: 0 / 1.392 GB, free: 9.035 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001517/1.073, allocations: 0.9399 MB / 1.393 GB, free: 8.547 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.073, allocations: 4.938 kB / 1.393 GB, free: 8.547 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.073, allocations: 2.094 kB / 1.393 GB, free: 8.547 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.073, allocations: 9.688 kB / 1.393 GB, free: 8.543 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006624/1.074, allocations: 149.8 kB / 1.393 GB, free: 8.512 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/1.074, allocations: 8.703 kB / 1.393 GB, free: 8.508 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007803/1.075, allocations: 82.64 kB / 1.393 GB, free: 8.449 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-05/1.075, allocations: 24.53 kB / 1.394 GB, free: 8.445 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008463/1.076, allocations: 0.54 MB / 1.394 GB, free: 8.113 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006458/1.076, allocations: 452.4 kB / 1.394 GB, free: 7.809 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001087/1.077, allocations: 0.7349 MB / 1.395 GB, free: 7.355 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/1.077, allocations: 2.562 kB / 1.395 GB, free: 7.355 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001432/1.079, allocations: 0.8966 MB / 1.396 GB, free: 6.891 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/1.079, allocations: 7.469 kB / 1.396 GB, free: 6.891 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.079, allocations: 2.344 kB / 1.396 GB, free: 6.891 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.032e-06/1.079, allocations: 8.969 kB / 1.396 GB, free: 6.887 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006166/1.08, allocations: 143.7 kB / 1.396 GB, free: 6.859 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/1.08, allocations: 7.969 kB / 1.396 GB, free: 6.859 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007083/1.08, allocations: 76.06 kB / 1.396 GB, free: 6.805 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-05/1.08, allocations: 28.44 kB / 1.396 GB, free: 6.797 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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.0002474/1.081, allocations: 221.8 kB / 1.397 GB, free: 6.582 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/1.081, allocations: 96.89 kB / 1.397 GB, free: 6.531 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/1.082, allocations: 0.8072 MB / 1.397 GB, free: 6.066 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/1.082, allocations: 7.812 kB / 1.397 GB, free: 6.066 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.082, allocations: 0.6875 kB / 1.397 GB, free: 6.066 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00107/1.083, allocations: 0.7411 MB / 1.398 GB, free: 5.609 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003105/1.086, allocations: 2.098 MB / 1.4 GB, free: 4.152 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/1.086, allocations: 8.75 kB / 1.4 GB, free: 4.148 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00062/1.087, allocations: 135.6 kB / 1.4 GB, free: 4.117 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/1.087, allocations: 5.562 kB / 1.4 GB, free: 4.117 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.271e-05/1.087, allocations: 18.69 kB / 1.4 GB, free: 4.109 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/1.087, allocations: 8.719 kB / 1.4 GB, free: 4.105 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/1.087, allocations: 8.641 kB / 1.4 GB, free: 4.102 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/1.089, allocations: 1.362 MB / 1.402 GB, free: 2.977 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003831/1.09, allocations: 264.2 kB / 1.402 GB, free: 2.699 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/1.09, allocations: 16.12 kB / 1.402 GB, free: 2.684 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005572/1.09, allocations: 27.98 kB / 1.402 GB, free: 2.656 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.907e-05/1.09, allocations: 44.33 kB / 1.402 GB, free: 2.609 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.222e-05/1.091, allocations: 23.98 kB / 1.402 GB, free: 2.586 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008065/1.091, allocations: 0.5576 MB / 1.403 GB, free: 2.035 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.41e-07/1.091, allocations: 0 / 1.403 GB, free: 2.035 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001704/1.093, allocations: 0.7597 MB / 1.403 GB, free: 1.273 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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 (64): * Single equations (assignments): 64 * 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.003584/1.097, allocations: 2.349 MB / 1.406 GB, free: 14.87 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002103/1.099, allocations: 1.19 MB / 1.407 GB, free: 13.68 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/1.099, allocations: 0 / 1.407 GB, free: 13.68 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005865/1.099, allocations: 375.5 kB / 1.407 GB, free: 13.32 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/1.102, allocations: 0.5342 MB / 1.408 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/1.114, allocations: 7.911 MB / 1.415 GB, free: 4.598 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008225/1.114, allocations: 1.073 MB / 1.416 GB, free: 3.496 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00124/1.116, allocations: 414.8 kB / 1.417 GB, free: 3.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00055/1.116, allocations: 335.3 kB / 1.417 GB, free: 2.762 MB / 1.076 GB Notification: Performance of SimCode: time 2.515e-06/1.116, allocations: 3.938 kB / 1.417 GB, free: 2.758 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06568/1.182, allocations: 31.39 MB / 1.448 GB, free: 3.75 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.8, allocations: 2.922 kB / 1.448 GB, free: 3.75 MB / 1.107 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.csv --start-time 0 --stop-time 0.001 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-07 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches