Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_9_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.007397/0.007397, allocations: 98.25 kB / 15.73 MB, free: 5.551 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.001696/0.001696, allocations: 196.5 kB / 16.68 MB, free: 5.48 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 390.2 MB / 0.6648 GB, free: 284 kB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 66.7 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2493, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.8178/1.067, allocations: 242.4 MB / 1.324 GB, free: 2.645 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01941/1.087, allocations: 15.91 MB / 1.34 GB, free: 2.227 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00312/1.09, allocations: 80.72 kB / 1.34 GB, free: 2.223 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003099/1.093, allocations: 1.231 MB / 1.341 GB, free: 2.195 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01015/1.103, allocations: 3.951 MB / 1.345 GB, free: 2.031 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004733/1.108, allocations: 1.828 MB / 1.347 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006941/1.115, allocations: 5.268 MB / 1.352 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002204/1.117, allocations: 1.67 MB / 1.353 GB, free: 476 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006122/1.123, allocations: 2.691 MB / 1.356 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003479/1.127, allocations: 1.71 MB / 1.358 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003443/1.127, allocations: 179.5 kB / 1.358 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006027/1.133, allocations: 2.712 MB / 1.361 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0009304/1.134, allocations: 0.7797 MB / 1.361 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001746/1.136, allocations: 1.149 MB / 1.362 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.006014/1.142, allocations: 3.572 MB / 1.366 GB, free: 12.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.142, allocations: 0 / 1.366 GB, free: 12.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/1.142, allocations: 0 / 1.366 GB, free: 12.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.143e-05/1.142, allocations: 0 / 1.366 GB, free: 12.68 MB / 1.029 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.004391/1.146, allocations: 2.567 MB / 1.368 GB, free: 11.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/1.146, allocations: 15.12 kB / 1.368 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002478/1.147, allocations: 217.5 kB / 1.369 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003218/1.15, allocations: 0.5157 MB / 1.369 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003136/1.153, allocations: 1.375 MB / 1.37 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/1.153, allocations: 178 kB / 1.371 GB, free: 10.01 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002402/1.153, allocations: 148.8 kB / 1.371 GB, free: 9.961 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002951/1.156, allocations: 1.738 MB / 1.372 GB, free: 9.211 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/1.156, allocations: 5.312 kB / 1.373 GB, free: 9.211 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/1.157, allocations: 66.78 kB / 1.373 GB, free: 9.164 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.114e-05/1.157, allocations: 58.02 kB / 1.373 GB, free: 9.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/1.159, allocations: 1.38 MB / 1.374 GB, free: 8.719 MB / 1.029 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.009151/1.168, allocations: 8.225 MB / 1.382 GB, free: 2.375 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/1.17, allocations: 0.8987 MB / 1.383 GB, free: 1.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008551/1.171, allocations: 0.5362 MB / 1.383 GB, free: 1.645 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005894/1.171, allocations: 319.5 kB / 1.384 GB, free: 1.332 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/1.171, allocations: 43.91 kB / 1.384 GB, free: 1.281 MB / 1.029 GB Notification: Performance of pre-optimization done (n=96): time 4.628e-06/1.171, allocations: 4 kB / 1.384 GB, free: 1.277 MB / 1.029 GB Notification: Performance of matching and sorting (n=102): time 0.006499/1.178, allocations: 3.145 MB / 1.387 GB, free: 15.52 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/1.178, allocations: 63.41 kB / 1.387 GB, free: 15.45 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/1.179, allocations: 1.265 MB / 1.388 GB, free: 14.77 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.009e-05/1.179, allocations: 50.02 kB / 1.388 GB, free: 14.72 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005066/1.18, allocations: 0.8318 MB / 1.389 GB, free: 13.99 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/1.18, allocations: 386.9 kB / 1.389 GB, free: 13.66 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002982/1.18, allocations: 224.6 kB / 1.39 GB, free: 13.54 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001197/1.18, allocations: 351.4 kB / 1.39 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007705/1.181, allocations: 449.9 kB / 1.39 GB, free: 12.98 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/1.182, allocations: 0.8247 MB / 1.391 GB, free: 12.27 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/1.184, allocations: 1.255 MB / 1.392 GB, free: 11.43 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.184, allocations: 2.562 kB / 1.392 GB, free: 11.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002256/1.186, allocations: 1.414 MB / 1.394 GB, free: 10.77 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/1.186, allocations: 12.16 kB / 1.394 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/1.186, allocations: 12.34 kB / 1.394 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/1.186, allocations: 15.72 kB / 1.394 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/1.188, allocations: 274.4 kB / 1.394 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.279e-05/1.188, allocations: 24.73 kB / 1.394 GB, free: 10.72 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/1.189, allocations: 77.91 kB / 1.394 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.341e-05/1.189, allocations: 53.61 kB / 1.394 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001243/1.19, allocations: 0.7703 MB / 1.395 GB, free: 10.22 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00105/1.191, allocations: 0.8196 MB / 1.396 GB, free: 9.52 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001873/1.193, allocations: 1.231 MB / 1.397 GB, free: 8.695 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.961e-06/1.193, allocations: 5.219 kB / 1.397 GB, free: 8.695 MB / 1.045 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002243/1.195, allocations: 1.396 MB / 1.398 GB, free: 8.051 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/1.195, allocations: 10.34 kB / 1.398 GB, free: 8.051 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/1.195, allocations: 8.844 kB / 1.398 GB, free: 8.051 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/1.195, allocations: 20.69 kB / 1.398 GB, free: 8.047 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/1.197, allocations: 276.9 kB / 1.399 GB, free: 8 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/1.197, allocations: 18.59 kB / 1.399 GB, free: 8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/1.198, allocations: 69.75 kB / 1.399 GB, free: 7.965 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.461e-05/1.198, allocations: 51.97 kB / 1.399 GB, free: 7.953 MB / 1.045 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.0003162/1.198, allocations: 266.5 kB / 1.399 GB, free: 7.727 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/1.199, allocations: 180.5 kB / 1.399 GB, free: 7.629 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002126/1.201, allocations: 1.151 MB / 1.4 GB, free: 6.984 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/1.201, allocations: 14.8 kB / 1.4 GB, free: 6.98 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.201, allocations: 0 / 1.4 GB, free: 6.98 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001633/1.202, allocations: 1.083 MB / 1.401 GB, free: 6.316 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004552/1.207, allocations: 2.782 MB / 1.404 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/1.207, allocations: 4 kB / 1.404 GB, free: 4.551 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/1.208, allocations: 247 kB / 1.404 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/1.208, allocations: 5.344 kB / 1.404 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.411e-05/1.208, allocations: 27.28 kB / 1.404 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/1.208, allocations: 8.859 kB / 1.404 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/1.208, allocations: 13.44 kB / 1.404 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/1.211, allocations: 1.773 MB / 1.406 GB, free: 3.133 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006512/1.212, allocations: 351.9 kB / 1.406 GB, free: 2.77 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/1.212, allocations: 24 kB / 1.406 GB, free: 2.746 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/1.213, allocations: 53.06 kB / 1.407 GB, free: 2.695 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/1.213, allocations: 68.86 kB / 1.407 GB, free: 2.629 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-05/1.213, allocations: 35.98 kB / 1.407 GB, free: 2.594 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001052/1.214, allocations: 0.8465 MB / 1.407 GB, free: 1.75 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.31e-07/1.214, allocations: 192 / 1.407 GB, free: 1.75 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00195/1.216, allocations: 0.7655 MB / 1.408 GB, free: 0.9844 MB / 1.045 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.003455/1.22, allocations: 2.497 MB / 1.411 GB, free: 14.47 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003074/1.223, allocations: 1.737 MB / 1.412 GB, free: 12.8 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/1.223, allocations: 0 / 1.412 GB, free: 12.8 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008562/1.224, allocations: 0.5212 MB / 1.413 GB, free: 12.31 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003869/1.227, allocations: 0.9171 MB / 1.414 GB, free: 11.41 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/1.244, allocations: 12.06 MB / 1.426 GB, free: 14.92 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009555/1.245, allocations: 1.441 MB / 1.427 GB, free: 13.45 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001836/1.247, allocations: 0.56 MB / 1.427 GB, free: 12.88 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008718/1.248, allocations: 0.6906 MB / 1.428 GB, free: 12.19 MB / 1.076 GB Notification: Performance of SimCode: time 1.002e-06/1.248, allocations: 0 / 1.428 GB, free: 12.19 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07338/1.321, allocations: 45 MB / 1.472 GB, free: 15.76 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/11.5, allocations: 11.66 kB / 1.472 GB, free: 15.75 MB / 1.123 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches