Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_latest_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.00156/0.00156, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 193.7 kB / 16.53 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.659/2.659, allocations: 469.4 MB / 0.742 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 68.52 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.256, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7344/0.9904, allocations: 242.4 MB / 1.3 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0181/1.009, allocations: 15.89 MB / 1.316 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002704/1.011, allocations: 75.44 kB / 1.316 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002655/1.014, allocations: 1.179 MB / 1.317 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009159/1.023, allocations: 3.818 MB / 1.321 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004528/1.028, allocations: 1.808 MB / 1.323 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006639/1.034, allocations: 5.244 MB / 1.328 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002421/1.037, allocations: 1.671 MB / 1.329 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005407/1.042, allocations: 2.603 MB / 1.332 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003064/1.045, allocations: 1.696 MB / 1.334 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003078/1.046, allocations: 176.3 kB / 1.334 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004916/1.051, allocations: 2.709 MB / 1.336 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007362/1.051, allocations: 0.7749 MB / 1.337 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001347/1.053, allocations: 1.148 MB / 1.338 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004318/1.057, allocations: 3.52 MB / 1.342 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/1.057, allocations: 0 / 1.342 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.793e-06/1.057, allocations: 0 / 1.342 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.791e-05/1.057, allocations: 2.375 kB / 1.342 GB, free: 2.254 MB / 0.9981 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.003666/1.061, allocations: 2.499 MB / 1.344 GB, free: 17.05 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/1.061, allocations: 11.09 kB / 1.344 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002275/1.061, allocations: 215.2 kB / 1.344 GB, free: 17.01 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002763/1.064, allocations: 0.5005 MB / 1.345 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/1.065, allocations: 1.276 MB / 1.346 GB, free: 16.45 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/1.066, allocations: 176.5 kB / 1.346 GB, free: 16.38 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/1.066, allocations: 157.5 kB / 1.346 GB, free: 16.38 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/1.068, allocations: 1.738 MB / 1.348 GB, free: 16.14 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/1.068, allocations: 6.609 kB / 1.348 GB, free: 16.14 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/1.068, allocations: 64.16 kB / 1.348 GB, free: 16.14 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.512e-05/1.068, allocations: 60.23 kB / 1.348 GB, free: 16.14 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/1.071, allocations: 1.372 MB / 1.35 GB, free: 16.12 MB / 1.014 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.008072/1.079, allocations: 8.269 MB / 1.358 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/1.08, allocations: 0.9036 MB / 1.359 GB, free: 9.922 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008085/1.081, allocations: 0.5315 MB / 1.359 GB, free: 9.734 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005967/1.082, allocations: 326.5 kB / 1.359 GB, free: 9.438 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/1.082, allocations: 50 kB / 1.359 GB, free: 9.391 MB / 1.014 GB Notification: Performance of pre-optimization done (n=96): time 2.765e-06/1.082, allocations: 0 / 1.359 GB, free: 9.391 MB / 1.014 GB Notification: Performance of matching and sorting (n=102): time 0.006369/1.088, allocations: 3.106 MB / 1.362 GB, free: 7.941 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/1.088, allocations: 66.56 kB / 1.363 GB, free: 7.871 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/1.09, allocations: 1.265 MB / 1.364 GB, free: 7.398 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.66e-05/1.09, allocations: 50.17 kB / 1.364 GB, free: 7.352 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005487/1.09, allocations: 0.8127 MB / 1.365 GB, free: 6.719 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002709/1.09, allocations: 358.2 kB / 1.365 GB, free: 6.445 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003121/1.091, allocations: 229.7 kB / 1.365 GB, free: 6.336 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.091, allocations: 354.4 kB / 1.365 GB, free: 6.008 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008021/1.092, allocations: 460.3 kB / 1.366 GB, free: 5.844 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/1.093, allocations: 0.8171 MB / 1.367 GB, free: 5.223 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/1.095, allocations: 1.254 MB / 1.368 GB, free: 4.48 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.095, allocations: 2.812 kB / 1.368 GB, free: 4.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002226/1.097, allocations: 1.404 MB / 1.369 GB, free: 3.969 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/1.097, allocations: 10.03 kB / 1.369 GB, free: 3.969 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/1.097, allocations: 12 kB / 1.369 GB, free: 3.969 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/1.097, allocations: 17.44 kB / 1.369 GB, free: 3.965 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/1.098, allocations: 277.6 kB / 1.37 GB, free: 3.953 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.473e-05/1.098, allocations: 24.56 kB / 1.37 GB, free: 3.949 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/1.099, allocations: 75.2 kB / 1.37 GB, free: 3.922 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.151e-05/1.099, allocations: 49.23 kB / 1.37 GB, free: 3.914 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001235/1.101, allocations: 0.7803 MB / 1.371 GB, free: 3.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009847/1.102, allocations: 0.8119 MB / 1.371 GB, free: 2.824 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001761/1.104, allocations: 1.243 MB / 1.373 GB, free: 1.988 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.011e-06/1.104, allocations: 2.094 kB / 1.373 GB, free: 1.988 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002201/1.106, allocations: 1.39 MB / 1.374 GB, free: 1.355 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/1.106, allocations: 10.47 kB / 1.374 GB, free: 1.355 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/1.106, allocations: 7.156 kB / 1.374 GB, free: 1.355 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/1.106, allocations: 16.47 kB / 1.374 GB, free: 1.355 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/1.107, allocations: 271.9 kB / 1.374 GB, free: 1.312 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/1.107, allocations: 23.05 kB / 1.374 GB, free: 1.309 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/1.108, allocations: 75.75 kB / 1.374 GB, free: 1.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.35e-05/1.108, allocations: 56.77 kB / 1.374 GB, free: 1.254 MB / 1.014 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.109, allocations: 265 kB / 1.375 GB, free: 1.027 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/1.109, allocations: 168 kB / 1.375 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/1.111, allocations: 1.158 MB / 1.376 GB, free: 296 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/1.111, allocations: 11.38 kB / 1.376 GB, free: 296 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/1.111, allocations: 0 / 1.376 GB, free: 296 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001643/1.113, allocations: 1.077 MB / 1.377 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004431/1.117, allocations: 2.794 MB / 1.38 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/1.117, allocations: 0.875 kB / 1.38 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/1.118, allocations: 246.1 kB / 1.38 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/1.118, allocations: 9 kB / 1.38 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.161e-05/1.118, allocations: 29.58 kB / 1.38 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/1.118, allocations: 5.344 kB / 1.38 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.118, allocations: 10.12 kB / 1.38 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002688/1.121, allocations: 1.765 MB / 1.382 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005276/1.122, allocations: 330.8 kB / 1.382 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/1.122, allocations: 28.55 kB / 1.382 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/1.123, allocations: 53.48 kB / 1.382 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/1.123, allocations: 67.91 kB / 1.382 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.781e-05/1.123, allocations: 37.39 kB / 1.382 GB, free: 12.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001023/1.124, allocations: 0.8439 MB / 1.383 GB, free: 11.97 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.2e-07/1.124, allocations: 0 / 1.383 GB, free: 11.97 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001859/1.126, allocations: 0.7628 MB / 1.384 GB, free: 11.91 MB / 1.029 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.003302/1.129, allocations: 2.5 MB / 1.386 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003591/1.133, allocations: 2.002 MB / 1.388 GB, free: 9.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.133, allocations: 3.312 kB / 1.388 GB, free: 9.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008084/1.134, allocations: 0.5148 MB / 1.389 GB, free: 9.359 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003844/1.138, allocations: 0.9124 MB / 1.39 GB, free: 8.871 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/1.155, allocations: 13.1 MB / 1.402 GB, free: 11.35 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000975/1.156, allocations: 1.437 MB / 1.404 GB, free: 9.879 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002004/1.158, allocations: 0.5639 MB / 1.404 GB, free: 9.309 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008653/1.158, allocations: 0.6828 MB / 1.405 GB, free: 8.625 MB / 1.045 GB Notification: Performance of SimCode: time 4.4e-07/1.158, allocations: 2.531 kB / 1.405 GB, free: 8.625 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07088/1.229, allocations: 44.62 MB / 1.449 GB, free: 12.61 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.362/9.591, allocations: 11.75 kB / 1.449 GB, free: 12.6 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches