Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.MixingVolumeInitialization,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_latest_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.004787/0.004787, allocations: 98.91 kB / 15.73 MB, free: 5.988 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.001326/0.001326, allocations: 193.7 kB / 16.67 MB, free: 5.918 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.769/2.769, allocations: 482.4 MB / 0.7548 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 69.52 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2834, allocations: 162.2 MB / 1.241 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2023/0.4857, allocations: 187.9 MB / 1.425 GB, free: 12.62 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01533/0.5011, allocations: 10.78 MB / 1.435 GB, free: 1.816 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009945/0.5021, allocations: 39.75 kB / 1.436 GB, free: 1.777 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.5034, allocations: 0.4892 MB / 1.436 GB, free: 1.285 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005914/0.5093, allocations: 2.57 MB / 1.438 GB, free: 14.71 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005599/0.5149, allocations: 2.469 MB / 1.441 GB, free: 12.24 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003731/0.5187, allocations: 2.774 MB / 1.444 GB, free: 9.457 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.5202, allocations: 0.7722 MB / 1.444 GB, free: 8.668 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003096/0.5233, allocations: 1.195 MB / 1.446 GB, free: 7.465 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002533/0.5259, allocations: 1.053 MB / 1.447 GB, free: 6.41 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002243/0.5261, allocations: 96 kB / 1.447 GB, free: 6.316 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005602/0.5317, allocations: 2.997 MB / 1.45 GB, free: 3.312 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005502/0.5323, allocations: 442.8 kB / 1.45 GB, free: 2.879 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007936/0.5331, allocations: 0.5833 MB / 1.451 GB, free: 2.293 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005149/0.5382, allocations: 2.967 MB / 1.453 GB, free: 15.31 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5383, allocations: 4 kB / 1.453 GB, free: 15.31 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5383, allocations: 0 / 1.453 GB, free: 15.31 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.5383, allocations: 0 / 1.453 GB, free: 15.31 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003573/0.5419, allocations: 1.725 MB / 1.455 GB, free: 13.53 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.5419, allocations: 8.031 kB / 1.455 GB, free: 13.52 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/0.5421, allocations: 118.5 kB / 1.455 GB, free: 13.39 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.544, allocations: 295 kB / 1.456 GB, free: 13.11 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.5454, allocations: 0.8436 MB / 1.456 GB, free: 12.22 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.505e-05/0.5454, allocations: 49.3 kB / 1.456 GB, free: 12.17 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.5456, allocations: 71.98 kB / 1.457 GB, free: 12.1 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.5472, allocations: 0.9883 MB / 1.457 GB, free: 11.09 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.5473, allocations: 0 / 1.457 GB, free: 11.09 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-05/0.5473, allocations: 27.98 kB / 1.457 GB, free: 11.07 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/0.5475, allocations: 73.89 kB / 1.458 GB, free: 10.99 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/0.5492, allocations: 1.015 MB / 1.459 GB, free: 9.977 MB / 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.007105/0.5563, allocations: 3.65 MB / 1.462 GB, free: 6.074 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.5576, allocations: 0.6611 MB / 1.463 GB, free: 5.406 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006073/0.5582, allocations: 378.1 kB / 1.463 GB, free: 5.039 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003444/0.5586, allocations: 202.7 kB / 1.463 GB, free: 4.801 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.5586, allocations: 39.12 kB / 1.463 GB, free: 4.754 MB / 1.186 GB Notification: Performance of pre-optimization done (n=62): time 2.375e-06/0.5586, allocations: 0 / 1.463 GB, free: 4.754 MB / 1.186 GB Notification: Performance of matching and sorting (n=62): time 0.002064/0.5607, allocations: 1.033 MB / 1.464 GB, free: 3.715 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.469e-05/0.5608, allocations: 107.4 kB / 1.464 GB, free: 3.586 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.5619, allocations: 0.8098 MB / 1.465 GB, free: 2.77 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.174e-05/0.562, allocations: 37.7 kB / 1.465 GB, free: 2.727 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/0.5624, allocations: 424.8 kB / 1.466 GB, free: 2.309 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.5626, allocations: 233.9 kB / 1.466 GB, free: 2.078 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002581/0.5628, allocations: 142.6 kB / 1.466 GB, free: 1.934 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.563, allocations: 334 kB / 1.466 GB, free: 1.602 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006038/0.5636, allocations: 340.7 kB / 1.467 GB, free: 1.266 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000709/0.5643, allocations: 472.7 kB / 1.467 GB, free: 0.7695 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.5656, allocations: 0.7666 MB / 1.468 GB, free: 15.96 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.5656, allocations: 3.938 kB / 1.468 GB, free: 15.96 MB / 1.201 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001612/0.5672, allocations: 0.9378 MB / 1.469 GB, free: 15.02 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.5672, allocations: 4 kB / 1.469 GB, free: 15.01 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.5673, allocations: 4 kB / 1.469 GB, free: 15.01 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.5673, allocations: 4 kB / 1.469 GB, free: 15 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007204/0.568, allocations: 151.8 kB / 1.469 GB, free: 14.86 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.568, allocations: 11.88 kB / 1.469 GB, free: 14.84 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000743/0.5688, allocations: 91.72 kB / 1.469 GB, free: 14.75 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.804e-05/0.5689, allocations: 28 kB / 1.469 GB, free: 14.73 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008589/0.5697, allocations: 0.537 MB / 1.47 GB, free: 14.18 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006627/0.5704, allocations: 446.5 kB / 1.47 GB, free: 13.71 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001144/0.5715, allocations: 0.7408 MB / 1.471 GB, free: 12.93 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.325e-06/0.5716, allocations: 0 / 1.471 GB, free: 12.93 MB / 1.201 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001496/0.5731, allocations: 0.8869 MB / 1.472 GB, free: 12.04 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.5731, allocations: 8.281 kB / 1.472 GB, free: 12.03 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.5731, allocations: 4 kB / 1.472 GB, free: 12.03 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.5731, allocations: 8 kB / 1.472 GB, free: 12.02 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006595/0.5738, allocations: 151.8 kB / 1.472 GB, free: 11.87 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.5738, allocations: 7.938 kB / 1.472 GB, free: 11.86 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000717/0.5745, allocations: 59.61 kB / 1.472 GB, free: 11.8 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.81e-05/0.5746, allocations: 35.98 kB / 1.472 GB, free: 11.77 MB / 1.201 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.0002332/0.5748, allocations: 224 kB / 1.472 GB, free: 11.54 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.575, allocations: 99.39 kB / 1.472 GB, free: 11.45 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.5765, allocations: 0.8065 MB / 1.473 GB, free: 10.63 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.5765, allocations: 8 kB / 1.473 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.5765, allocations: 0 / 1.473 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001115/0.5776, allocations: 0.7438 MB / 1.474 GB, free: 9.852 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/0.5809, allocations: 2.102 MB / 1.476 GB, free: 7.648 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.5809, allocations: 4 kB / 1.476 GB, free: 7.645 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006562/0.5815, allocations: 131.8 kB / 1.476 GB, free: 7.516 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.5816, allocations: 4 kB / 1.476 GB, free: 7.512 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.303e-05/0.5816, allocations: 19.98 kB / 1.476 GB, free: 7.492 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.244e-05/0.5816, allocations: 11.98 kB / 1.476 GB, free: 7.48 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5817, allocations: 7.938 kB / 1.476 GB, free: 7.473 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.5836, allocations: 1.364 MB / 1.477 GB, free: 6.055 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003875/0.584, allocations: 252.3 kB / 1.478 GB, free: 5.789 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.5842, allocations: 23.98 kB / 1.478 GB, free: 5.766 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005535/0.5847, allocations: 22.23 kB / 1.478 GB, free: 5.746 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.57e-05/0.5848, allocations: 52.25 kB / 1.478 GB, free: 5.691 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/0.5849, allocations: 20 kB / 1.478 GB, free: 5.672 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007354/0.5856, allocations: 0.5576 MB / 1.478 GB, free: 5.121 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5856, allocations: 0 / 1.478 GB, free: 5.121 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001694/0.5873, allocations: 0.7636 MB / 1.479 GB, free: 4.355 MB / 1.201 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.003583/0.5909, allocations: 2.358 MB / 1.481 GB, free: 1.938 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002117/0.5931, allocations: 1.187 MB / 1.482 GB, free: 0.7539 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5931, allocations: 4.062 kB / 1.482 GB, free: 0.75 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005644/0.5936, allocations: 374.1 kB / 1.483 GB, free: 396 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/0.5962, allocations: 0.5322 MB / 1.483 GB, free: 15.86 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.6075, allocations: 7.91 MB / 1.491 GB, free: 7.672 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007422/0.6082, allocations: 1.077 MB / 1.492 GB, free: 6.566 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.00122/0.6095, allocations: 411 kB / 1.492 GB, free: 6.164 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005229/0.61, allocations: 335.3 kB / 1.493 GB, free: 5.836 MB / 1.217 GB Notification: Performance of SimCode: time 5.91e-07/0.61, allocations: 0 / 1.493 GB, free: 5.836 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0649/0.6749, allocations: 31.38 MB / 1.523 GB, free: 6.809 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.75, allocations: 9.5 kB / 1.523 GB, free: 6.805 MB / 1.248 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.csv --start-time 0 --stop-time 0.001 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-07 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches