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.006946/0.006951, allocations: 95.7 kB / 15.73 MB, free: 6.484 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.001691/0.001691, allocations: 191.1 kB / 16.67 MB, free: 6.391 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.393/1.393, 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.604/2.604, allocations: 437.1 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.253, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.7208/0.9739, allocations: 187.9 MB / 1.35 GB, free: 4.707 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01432/0.9883, allocations: 10.76 MB / 1.36 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.9895, allocations: 39.34 kB / 1.36 GB, free: 13.13 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.9908, allocations: 0.5007 MB / 1.361 GB, free: 12.84 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006297/0.9971, allocations: 2.66 MB / 1.363 GB, free: 11.45 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005918/1.003, allocations: 2.481 MB / 1.366 GB, free: 10.33 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00381/1.007, allocations: 2.775 MB / 1.368 GB, free: 8.84 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/1.008, allocations: 0.7762 MB / 1.369 GB, free: 8.34 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/1.01, allocations: 1.025 MB / 1.37 GB, free: 7.754 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/1.012, allocations: 1.062 MB / 1.371 GB, free: 7.141 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001887/1.012, allocations: 97.12 kB / 1.371 GB, free: 7.141 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005652/1.018, allocations: 3.009 MB / 1.374 GB, free: 5.434 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005008/1.018, allocations: 450.5 kB / 1.375 GB, free: 5.133 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006908/1.019, allocations: 0.5785 MB / 1.375 GB, free: 4.762 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004591/1.023, allocations: 2.965 MB / 1.378 GB, free: 2.93 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/1.023, allocations: 1.406 kB / 1.378 GB, free: 2.93 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.322e-06/1.023, allocations: 0 / 1.378 GB, free: 2.93 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.405e-05/1.023, allocations: 0 / 1.378 GB, free: 2.93 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.003286/1.027, allocations: 1.723 MB / 1.38 GB, free: 1.621 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/1.027, allocations: 10.22 kB / 1.38 GB, free: 1.621 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001394/1.027, allocations: 120.6 kB / 1.38 GB, free: 1.52 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/1.029, allocations: 303.3 kB / 1.38 GB, free: 1.371 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/1.03, allocations: 0.8387 MB / 1.381 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/1.03, allocations: 48.95 kB / 1.381 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/1.03, allocations: 70.48 kB / 1.381 GB, free: 0.668 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/1.032, allocations: 0.9947 MB / 1.382 GB, free: 96 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/1.032, allocations: 0 / 1.382 GB, free: 96 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-05/1.032, allocations: 29.31 kB / 1.382 GB, free: 72 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.58e-05/1.032, allocations: 72.3 kB / 1.382 GB, free: 48 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/1.034, allocations: 1.018 MB / 1.383 GB, free: 15.53 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.005552/1.039, allocations: 3.567 MB / 1.387 GB, free: 12.74 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/1.04, allocations: 0.6765 MB / 1.387 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005119/1.041, allocations: 372.4 kB / 1.388 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/1.041, allocations: 204.2 kB / 1.388 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/1.041, allocations: 38.16 kB / 1.388 GB, free: 11.94 MB / 1.061 GB Notification: Performance of pre-optimization done (n=62): time 1.894e-06/1.041, allocations: 0 / 1.388 GB, free: 11.94 MB / 1.061 GB Notification: Performance of matching and sorting (n=62): time 0.001769/1.043, allocations: 1.024 MB / 1.389 GB, free: 11.42 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/1.043, allocations: 115.3 kB / 1.389 GB, free: 11.29 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008907/1.044, allocations: 0.8029 MB / 1.39 GB, free: 10.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.626e-05/1.044, allocations: 40.89 kB / 1.39 GB, free: 10.8 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/1.044, allocations: 435.1 kB / 1.39 GB, free: 10.42 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/1.044, allocations: 229.4 kB / 1.391 GB, free: 10.22 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/1.044, allocations: 144 kB / 1.391 GB, free: 10.14 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001046/1.045, allocations: 333.3 kB / 1.391 GB, free: 9.812 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005085/1.045, allocations: 342.1 kB / 1.391 GB, free: 9.633 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005905/1.046, allocations: 468.9 kB / 1.392 GB, free: 9.332 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/1.047, allocations: 0.7626 MB / 1.392 GB, free: 8.883 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.047, allocations: 0 / 1.392 GB, free: 8.883 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001366/1.048, allocations: 0.9391 MB / 1.393 GB, free: 8.395 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/1.048, allocations: 7.156 kB / 1.393 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/1.048, allocations: 2.469 kB / 1.393 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/1.048, allocations: 9.031 kB / 1.393 GB, free: 8.391 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006445/1.049, allocations: 149.9 kB / 1.394 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/1.049, allocations: 4.844 kB / 1.394 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007175/1.05, allocations: 87.52 kB / 1.394 GB, free: 8.297 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.535e-05/1.05, allocations: 32.52 kB / 1.394 GB, free: 8.285 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007356/1.05, allocations: 0.5376 MB / 1.394 GB, free: 7.957 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005539/1.051, allocations: 448.2 kB / 1.395 GB, free: 7.656 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009616/1.052, allocations: 0.7382 MB / 1.395 GB, free: 7.199 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/1.052, allocations: 3 kB / 1.395 GB, free: 7.199 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001281/1.053, allocations: 0.8861 MB / 1.396 GB, free: 6.742 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/1.053, allocations: 5.594 kB / 1.396 GB, free: 6.742 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.053, allocations: 6.562 kB / 1.396 GB, free: 6.738 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-06/1.053, allocations: 11.53 kB / 1.396 GB, free: 6.734 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000611/1.054, allocations: 145.9 kB / 1.396 GB, free: 6.703 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.054, allocations: 8 kB / 1.396 GB, free: 6.703 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006764/1.055, allocations: 67.97 kB / 1.396 GB, free: 6.656 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.842e-05/1.055, allocations: 28.81 kB / 1.396 GB, free: 6.648 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.0001855/1.055, allocations: 221.8 kB / 1.397 GB, free: 6.434 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/1.055, allocations: 104.4 kB / 1.397 GB, free: 6.375 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/1.056, allocations: 0.8004 MB / 1.398 GB, free: 5.918 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/1.056, allocations: 5.531 kB / 1.398 GB, free: 5.918 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/1.056, allocations: 0 / 1.398 GB, free: 5.918 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009591/1.057, allocations: 0.7452 MB / 1.398 GB, free: 5.457 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002936/1.06, allocations: 2.1 MB / 1.4 GB, free: 4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/1.06, allocations: 14.67 kB / 1.4 GB, free: 3.988 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006188/1.061, allocations: 130.9 kB / 1.4 GB, free: 3.961 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/1.061, allocations: 7.688 kB / 1.4 GB, free: 3.961 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.883e-05/1.061, allocations: 14.91 kB / 1.401 GB, free: 3.953 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.864e-06/1.061, allocations: 17.8 kB / 1.401 GB, free: 3.941 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.061, allocations: 4.719 kB / 1.401 GB, free: 3.941 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/1.063, allocations: 1.358 MB / 1.402 GB, free: 2.773 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004283/1.063, allocations: 260.3 kB / 1.402 GB, free: 2.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/1.063, allocations: 16 kB / 1.402 GB, free: 2.484 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005437/1.064, allocations: 25.55 kB / 1.402 GB, free: 2.461 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.966e-05/1.064, allocations: 56.25 kB / 1.402 GB, free: 2.402 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.732e-05/1.064, allocations: 20 kB / 1.402 GB, free: 2.383 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006622/1.065, allocations: 0.5576 MB / 1.403 GB, free: 1.832 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.065, allocations: 0 / 1.403 GB, free: 1.832 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00163/1.066, allocations: 0.7597 MB / 1.404 GB, free: 1.07 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.003082/1.069, allocations: 2.348 MB / 1.406 GB, free: 14.66 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001852/1.071, allocations: 1.183 MB / 1.407 GB, free: 13.48 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.071, allocations: 4.375 kB / 1.407 GB, free: 13.48 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005/1.072, allocations: 370.1 kB / 1.407 GB, free: 13.12 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/1.074, allocations: 0.5436 MB / 1.408 GB, free: 12.59 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/1.084, allocations: 7.907 MB / 1.416 GB, free: 4.398 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005951/1.085, allocations: 1.077 MB / 1.417 GB, free: 3.293 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001197/1.086, allocations: 418.6 kB / 1.417 GB, free: 2.883 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004859/1.086, allocations: 335.3 kB / 1.417 GB, free: 2.555 MB / 1.076 GB Notification: Performance of SimCode: time 6.51e-07/1.086, allocations: 3.938 kB / 1.417 GB, free: 2.551 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05753/1.144, allocations: 31.39 MB / 1.448 GB, free: 3.539 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.9, allocations: 2.875 kB / 1.448 GB, free: 3.539 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