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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.004528/0.004528, allocations: 99.19 kB / 15.73 MB, free: 6.027 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.001116/0.001116, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.625/2.625, allocations: 469.4 MB / 0.7421 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.84 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.251, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7254/0.9764, allocations: 242.4 MB / 1.456 GB, free: 3.559 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02064/0.9971, allocations: 15.9 MB / 1.472 GB, free: 3.617 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/0.9993, allocations: 79.5 kB / 1.472 GB, free: 3.539 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00261/1.002, allocations: 1.223 MB / 1.473 GB, free: 2.309 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.008221/1.01, allocations: 3.952 MB / 1.477 GB, free: 14.34 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004008/1.014, allocations: 1.836 MB / 1.479 GB, free: 12.52 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005338/1.02, allocations: 5.275 MB / 1.484 GB, free: 7.223 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001932/1.021, allocations: 1.661 MB / 1.486 GB, free: 5.527 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004568/1.026, allocations: 2.697 MB / 1.488 GB, free: 2.82 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002615/1.029, allocations: 1.709 MB / 1.49 GB, free: 1.117 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002503/1.029, allocations: 172 kB / 1.49 GB, free: 0.9492 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004596/1.034, allocations: 2.716 MB / 1.493 GB, free: 14.23 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006926/1.034, allocations: 0.7713 MB / 1.494 GB, free: 13.45 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001187/1.035, allocations: 1.155 MB / 1.495 GB, free: 12.29 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004828/1.04, allocations: 3.574 MB / 1.498 GB, free: 8.707 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.04, allocations: 0 / 1.498 GB, free: 8.707 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.382e-06/1.04, allocations: 3.938 kB / 1.498 GB, free: 8.703 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.974e-05/1.04, allocations: 0 / 1.498 GB, free: 8.703 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.00407/1.044, allocations: 2.566 MB / 1.501 GB, free: 6.078 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/1.044, allocations: 12.03 kB / 1.501 GB, free: 6.066 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002427/1.045, allocations: 211.1 kB / 1.501 GB, free: 5.852 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002967/1.048, allocations: 0.5138 MB / 1.501 GB, free: 5.336 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/1.05, allocations: 1.376 MB / 1.503 GB, free: 3.906 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/1.05, allocations: 174.2 kB / 1.503 GB, free: 3.723 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002152/1.05, allocations: 155.9 kB / 1.503 GB, free: 3.57 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002753/1.053, allocations: 1.74 MB / 1.505 GB, free: 1.758 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.761e-05/1.053, allocations: 7.938 kB / 1.505 GB, free: 1.75 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/1.053, allocations: 60 kB / 1.505 GB, free: 1.691 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.518e-05/1.053, allocations: 58.69 kB / 1.505 GB, free: 1.633 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/1.056, allocations: 1.384 MB / 1.506 GB, free: 248 kB / 1.186 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.008905/1.065, allocations: 8.22 MB / 1.514 GB, free: 7.32 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/1.066, allocations: 0.9018 MB / 1.515 GB, free: 6.41 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/1.068, allocations: 0.5346 MB / 1.516 GB, free: 5.879 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008126/1.068, allocations: 328.4 kB / 1.516 GB, free: 5.504 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/1.068, allocations: 47.5 kB / 1.516 GB, free: 5.449 MB / 1.201 GB Notification: Performance of pre-optimization done (n=96): time 5.641e-06/1.068, allocations: 4 kB / 1.516 GB, free: 5.445 MB / 1.201 GB Notification: Performance of matching and sorting (n=102): time 0.007291/1.076, allocations: 3.147 MB / 1.519 GB, free: 2.25 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/1.076, allocations: 64.41 kB / 1.519 GB, free: 2.176 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/1.077, allocations: 1.258 MB / 1.52 GB, free: 0.9102 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.294e-05/1.077, allocations: 49.7 kB / 1.52 GB, free: 0.8555 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005432/1.078, allocations: 0.8306 MB / 1.521 GB, free: 16 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002908/1.078, allocations: 388.6 kB / 1.522 GB, free: 15.63 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003242/1.078, allocations: 226.8 kB / 1.522 GB, free: 15.41 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.079, allocations: 365.8 kB / 1.522 GB, free: 15.04 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008601/1.079, allocations: 449.8 kB / 1.523 GB, free: 14.6 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/1.081, allocations: 0.8221 MB / 1.523 GB, free: 13.61 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/1.083, allocations: 1.248 MB / 1.525 GB, free: 12.24 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/1.083, allocations: 2.188 kB / 1.525 GB, free: 12.24 MB / 1.217 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002402/1.085, allocations: 1.414 MB / 1.526 GB, free: 10.82 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.085, allocations: 9.562 kB / 1.526 GB, free: 10.81 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/1.085, allocations: 12 kB / 1.526 GB, free: 10.8 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/1.085, allocations: 12 kB / 1.526 GB, free: 10.79 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/1.086, allocations: 279.6 kB / 1.526 GB, free: 10.51 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.596e-05/1.086, allocations: 21.5 kB / 1.526 GB, free: 10.49 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/1.088, allocations: 75.98 kB / 1.526 GB, free: 10.42 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-05/1.088, allocations: 48 kB / 1.526 GB, free: 10.37 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001336/1.089, allocations: 0.7679 MB / 1.527 GB, free: 9.602 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001083/1.09, allocations: 0.826 MB / 1.528 GB, free: 8.605 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001821/1.092, allocations: 1.233 MB / 1.529 GB, free: 7.25 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.26e-06/1.092, allocations: 3.938 kB / 1.529 GB, free: 7.246 MB / 1.217 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002264/1.094, allocations: 1.394 MB / 1.531 GB, free: 5.844 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/1.094, allocations: 8 kB / 1.531 GB, free: 5.836 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/1.094, allocations: 12.91 kB / 1.531 GB, free: 5.824 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/1.094, allocations: 12 kB / 1.531 GB, free: 5.812 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/1.095, allocations: 279.5 kB / 1.531 GB, free: 5.539 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.897e-05/1.095, allocations: 19.94 kB / 1.531 GB, free: 5.52 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/1.097, allocations: 75.89 kB / 1.531 GB, free: 5.445 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.249e-05/1.097, allocations: 55.98 kB / 1.531 GB, free: 5.391 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.0002562/1.097, allocations: 263.8 kB / 1.531 GB, free: 5.125 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/1.097, allocations: 174.9 kB / 1.531 GB, free: 4.953 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/1.099, allocations: 1.155 MB / 1.533 GB, free: 3.789 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/1.099, allocations: 9.812 kB / 1.533 GB, free: 3.781 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.099, allocations: 0 / 1.533 GB, free: 3.781 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001672/1.101, allocations: 1.079 MB / 1.534 GB, free: 2.652 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004329/1.105, allocations: 2.796 MB / 1.536 GB, free: 15.77 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.105, allocations: 0 / 1.536 GB, free: 15.77 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/1.107, allocations: 251.8 kB / 1.537 GB, free: 15.52 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/1.107, allocations: 8 kB / 1.537 GB, free: 15.52 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.571e-05/1.107, allocations: 27.98 kB / 1.537 GB, free: 15.49 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.425e-06/1.107, allocations: 11.94 kB / 1.537 GB, free: 15.48 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.107, allocations: 0 / 1.537 GB, free: 15.48 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002775/1.11, allocations: 1.768 MB / 1.538 GB, free: 13.67 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005741/1.11, allocations: 351.8 kB / 1.539 GB, free: 13.31 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/1.11, allocations: 24 kB / 1.539 GB, free: 13.29 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/1.111, allocations: 56.42 kB / 1.539 GB, free: 13.23 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/1.112, allocations: 68.94 kB / 1.539 GB, free: 13.16 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/1.112, allocations: 41.11 kB / 1.539 GB, free: 13.12 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001009/1.113, allocations: 0.8465 MB / 1.54 GB, free: 12.28 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.6e-07/1.113, allocations: 0 / 1.54 GB, free: 12.28 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001714/1.114, allocations: 0.7616 MB / 1.54 GB, free: 11.52 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.003407/1.118, allocations: 2.492 MB / 1.543 GB, free: 8.988 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002947/1.121, allocations: 1.735 MB / 1.545 GB, free: 7.258 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.121, allocations: 0 / 1.545 GB, free: 7.258 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0008577/1.122, allocations: 0.5222 MB / 1.545 GB, free: 6.738 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003759/1.125, allocations: 0.9174 MB / 1.546 GB, free: 5.832 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/1.141, allocations: 12.04 MB / 1.558 GB, free: 9.285 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009179/1.142, allocations: 1.449 MB / 1.559 GB, free: 7.805 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001632/1.144, allocations: 0.5561 MB / 1.56 GB, free: 7.242 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00085/1.145, allocations: 0.6906 MB / 1.56 GB, free: 6.551 MB / 1.248 GB Notification: Performance of SimCode: time 6.11e-07/1.145, allocations: 0 / 1.56 GB, free: 6.551 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0739/1.219, allocations: 45.01 MB / 1.604 GB, free: 10.11 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/11.42, allocations: 9.141 kB / 1.604 GB, free: 10.11 MB / 1.295 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