Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.MixingVolume,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",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.005112/0.005112, allocations: 96.7 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.001528/0.001528, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 469.8 MB / 0.7425 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.89 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2741, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7529/1.027, allocations: 242.4 MB / 1.457 GB, free: 2.977 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02256/1.05, allocations: 15.89 MB / 1.472 GB, free: 3.051 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001899/1.052, allocations: 75.56 kB / 1.473 GB, free: 2.977 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002747/1.054, allocations: 1.181 MB / 1.474 GB, free: 1.789 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00847/1.063, allocations: 3.818 MB / 1.477 GB, free: 13.96 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004111/1.067, allocations: 1.825 MB / 1.479 GB, free: 12.14 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00613/1.073, allocations: 5.256 MB / 1.484 GB, free: 6.867 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002096/1.075, allocations: 1.671 MB / 1.486 GB, free: 5.168 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004491/1.08, allocations: 2.604 MB / 1.488 GB, free: 2.555 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002782/1.083, allocations: 1.704 MB / 1.49 GB, free: 0.8555 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003058/1.083, allocations: 176 kB / 1.49 GB, free: 0.6836 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004875/1.088, allocations: 2.709 MB / 1.493 GB, free: 13.97 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0008045/1.089, allocations: 0.7713 MB / 1.494 GB, free: 13.2 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001244/1.09, allocations: 1.151 MB / 1.495 GB, free: 12.04 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004637/1.094, allocations: 3.581 MB / 1.498 GB, free: 8.445 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/1.094, allocations: 0 / 1.498 GB, free: 8.445 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.092e-06/1.094, allocations: 0 / 1.498 GB, free: 8.445 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.88e-05/1.094, allocations: 0 / 1.498 GB, free: 8.445 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.004168/1.099, allocations: 2.566 MB / 1.501 GB, free: 5.82 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/1.099, allocations: 12.02 kB / 1.501 GB, free: 5.809 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002772/1.099, allocations: 222.8 kB / 1.501 GB, free: 5.586 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002949/1.102, allocations: 0.5177 MB / 1.502 GB, free: 5.066 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/1.104, allocations: 1.372 MB / 1.503 GB, free: 3.641 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/1.104, allocations: 170.2 kB / 1.503 GB, free: 3.461 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/1.105, allocations: 152 kB / 1.503 GB, free: 3.312 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002974/1.108, allocations: 1.745 MB / 1.505 GB, free: 1.492 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.701e-05/1.108, allocations: 3.984 kB / 1.505 GB, free: 1.488 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/1.108, allocations: 64 kB / 1.505 GB, free: 1.426 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-05/1.108, allocations: 62.62 kB / 1.505 GB, free: 1.363 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002678/1.111, allocations: 1.377 MB / 1.506 GB, free: 15.98 MB / 1.201 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.009465/1.12, allocations: 8.216 MB / 1.514 GB, free: 7.062 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/1.122, allocations: 0.908 MB / 1.515 GB, free: 6.145 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009513/1.123, allocations: 0.5307 MB / 1.516 GB, free: 5.617 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006337/1.123, allocations: 320.4 kB / 1.516 GB, free: 5.25 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/1.123, allocations: 55.5 kB / 1.516 GB, free: 5.188 MB / 1.201 GB Notification: Performance of pre-optimization done (n=96): time 2.265e-06/1.123, allocations: 0 / 1.516 GB, free: 5.188 MB / 1.201 GB Notification: Performance of matching and sorting (n=102): time 0.006794/1.13, allocations: 3.151 MB / 1.519 GB, free: 1.988 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/1.13, allocations: 64.41 kB / 1.519 GB, free: 1.914 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/1.132, allocations: 1.262 MB / 1.521 GB, free: 0.6445 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.378e-05/1.132, allocations: 49.7 kB / 1.521 GB, free: 0.5898 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006744/1.133, allocations: 0.823 MB / 1.521 GB, free: 15.75 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003248/1.133, allocations: 388.7 kB / 1.522 GB, free: 15.37 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003486/1.133, allocations: 226.8 kB / 1.522 GB, free: 15.14 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001637/1.133, allocations: 353.9 kB / 1.522 GB, free: 14.79 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000909/1.134, allocations: 449.8 kB / 1.523 GB, free: 14.35 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/1.136, allocations: 0.826 MB / 1.524 GB, free: 13.36 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002115/1.138, allocations: 1.248 MB / 1.525 GB, free: 11.99 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/1.138, allocations: 8 kB / 1.525 GB, free: 11.98 MB / 1.217 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002572/1.14, allocations: 1.407 MB / 1.526 GB, free: 10.57 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/1.14, allocations: 17.94 kB / 1.526 GB, free: 10.55 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/1.14, allocations: 8 kB / 1.526 GB, free: 10.54 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/1.14, allocations: 19.94 kB / 1.526 GB, free: 10.52 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/1.142, allocations: 275.6 kB / 1.526 GB, free: 10.25 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.618e-05/1.142, allocations: 23.92 kB / 1.526 GB, free: 10.23 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/1.143, allocations: 75.89 kB / 1.527 GB, free: 10.16 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.163e-05/1.143, allocations: 48 kB / 1.527 GB, free: 10.11 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00135/1.144, allocations: 0.7718 MB / 1.527 GB, free: 9.336 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001206/1.146, allocations: 0.8182 MB / 1.528 GB, free: 8.344 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002065/1.148, allocations: 1.233 MB / 1.529 GB, free: 6.988 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.424e-06/1.148, allocations: 3.938 kB / 1.529 GB, free: 6.984 MB / 1.217 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002497/1.15, allocations: 1.402 MB / 1.531 GB, free: 5.57 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/1.15, allocations: 12 kB / 1.531 GB, free: 5.559 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/1.15, allocations: 8 kB / 1.531 GB, free: 5.551 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.15, allocations: 16.78 kB / 1.531 GB, free: 5.535 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/1.151, allocations: 275.6 kB / 1.531 GB, free: 5.266 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/1.151, allocations: 16.75 kB / 1.531 GB, free: 5.25 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/1.153, allocations: 75.89 kB / 1.531 GB, free: 5.176 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.884e-05/1.153, allocations: 52 kB / 1.531 GB, free: 5.125 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0002674/1.153, allocations: 275.7 kB / 1.531 GB, free: 4.848 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/1.153, allocations: 171 kB / 1.532 GB, free: 4.68 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/1.155, allocations: 1.157 MB / 1.533 GB, free: 3.52 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/1.155, allocations: 12 kB / 1.533 GB, free: 3.508 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.155, allocations: 7.25 kB / 1.533 GB, free: 3.504 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001855/1.157, allocations: 1.079 MB / 1.534 GB, free: 2.375 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004584/1.162, allocations: 2.785 MB / 1.537 GB, free: 15.51 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/1.162, allocations: 0 / 1.537 GB, free: 15.51 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/1.163, allocations: 247.7 kB / 1.537 GB, free: 15.27 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/1.163, allocations: 8.219 kB / 1.537 GB, free: 15.26 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.321e-05/1.163, allocations: 28 kB / 1.537 GB, free: 15.23 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/1.163, allocations: 11.92 kB / 1.537 GB, free: 15.22 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.163, allocations: 0 / 1.537 GB, free: 15.22 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/1.166, allocations: 1.772 MB / 1.539 GB, free: 13.41 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005173/1.167, allocations: 347.8 kB / 1.539 GB, free: 13.05 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/1.167, allocations: 28 kB / 1.539 GB, free: 13.02 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/1.168, allocations: 56.88 kB / 1.539 GB, free: 12.97 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/1.168, allocations: 56.92 kB / 1.539 GB, free: 12.91 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.371e-05/1.168, allocations: 47.92 kB / 1.539 GB, free: 12.86 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001107/1.17, allocations: 0.8467 MB / 1.54 GB, free: 12.02 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.4e-07/1.17, allocations: 0 / 1.54 GB, free: 12.02 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001747/1.171, allocations: 0.7655 MB / 1.541 GB, free: 11.25 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.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 (102): * Single equations (assignments): 102 * 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.003842/1.175, allocations: 2.503 MB / 1.543 GB, free: 8.711 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.003172/1.178, allocations: 1.736 MB / 1.545 GB, free: 6.984 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.178, allocations: 4 kB / 1.545 GB, free: 6.98 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009501/1.179, allocations: 0.5144 MB / 1.545 GB, free: 6.465 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003874/1.183, allocations: 0.9124 MB / 1.546 GB, free: 5.566 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01777/1.201, allocations: 12.05 MB / 1.558 GB, free: 9.016 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/1.202, allocations: 1.441 MB / 1.559 GB, free: 7.543 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001652/1.204, allocations: 0.5639 MB / 1.56 GB, free: 6.973 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000938/1.205, allocations: 0.6867 MB / 1.561 GB, free: 6.285 MB / 1.248 GB Notification: Performance of SimCode: time 4.11e-07/1.205, allocations: 0 / 1.561 GB, free: 6.285 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08083/1.286, allocations: 45.02 MB / 1.605 GB, free: 9.867 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/11.83, allocations: 11.88 kB / 1.605 GB, free: 9.859 MB / 1.295 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.csv --start-time 0 --stop-time 2 --timeout 400 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches