Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_10_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.004696/0.004696, allocations: 99.84 kB / 15.73 MB, free: 6.492 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.001269/0.001269, allocations: 201.5 kB / 16.68 MB, free: 6.375 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.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.708/2.708, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 63.91 kB / 1.018 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2898, allocations: 151.6 MB / 1.166 GB, free: 7.227 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.8213/1.111, allocations: 242.4 MB / 1.403 GB, free: 10.96 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02392/1.135, allocations: 15.89 MB / 1.418 GB, free: 14.04 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002817/1.138, allocations: 79.78 kB / 1.419 GB, free: 14.01 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003454/1.142, allocations: 1.175 MB / 1.42 GB, free: 13.04 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01032/1.152, allocations: 3.816 MB / 1.423 GB, free: 10.09 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005003/1.157, allocations: 1.831 MB / 1.425 GB, free: 8.699 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007582/1.165, allocations: 5.251 MB / 1.43 GB, free: 5.695 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00279/1.167, allocations: 1.673 MB / 1.432 GB, free: 4.461 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006607/1.174, allocations: 2.604 MB / 1.434 GB, free: 1.848 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004076/1.178, allocations: 1.709 MB / 1.436 GB, free: 148 kB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005263/1.179, allocations: 176 kB / 1.436 GB, free: 15.97 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006601/1.185, allocations: 2.709 MB / 1.439 GB, free: 13.26 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001253/1.187, allocations: 0.7674 MB / 1.44 GB, free: 12.49 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002101/1.189, allocations: 1.151 MB / 1.441 GB, free: 11.33 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.007478/1.196, allocations: 3.574 MB / 1.444 GB, free: 7.746 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.196, allocations: 0 / 1.444 GB, free: 7.746 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.653e-06/1.196, allocations: 4 kB / 1.444 GB, free: 7.742 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.697e-05/1.196, allocations: 0 / 1.444 GB, free: 7.742 MB / 1.107 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.005063/1.201, allocations: 2.574 MB / 1.447 GB, free: 5.109 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/1.201, allocations: 12.03 kB / 1.447 GB, free: 5.098 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002956/1.202, allocations: 215.1 kB / 1.447 GB, free: 4.879 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003105/1.205, allocations: 0.5139 MB / 1.448 GB, free: 4.363 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002622/1.207, allocations: 1.364 MB / 1.449 GB, free: 2.945 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/1.208, allocations: 186.2 kB / 1.449 GB, free: 2.75 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002301/1.208, allocations: 152 kB / 1.449 GB, free: 2.602 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003083/1.211, allocations: 1.741 MB / 1.451 GB, free: 0.7852 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.081e-05/1.211, allocations: 4 kB / 1.451 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/1.211, allocations: 63.94 kB / 1.451 GB, free: 0.7188 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.726e-05/1.211, allocations: 62.69 kB / 1.451 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002657/1.214, allocations: 1.369 MB / 1.452 GB, free: 15.28 MB / 1.123 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.01051/1.224, allocations: 8.212 MB / 1.46 GB, free: 6.371 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/1.226, allocations: 0.8964 MB / 1.461 GB, free: 5.465 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009923/1.227, allocations: 0.5385 MB / 1.462 GB, free: 4.926 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006786/1.228, allocations: 320.4 kB / 1.462 GB, free: 4.559 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.504e-05/1.228, allocations: 51.5 kB / 1.462 GB, free: 4.5 MB / 1.123 GB Notification: Performance of pre-optimization done (n=96): time 3.116e-06/1.228, allocations: 0 / 1.462 GB, free: 4.5 MB / 1.123 GB Notification: Performance of matching and sorting (n=102): time 0.007347/1.235, allocations: 3.145 MB / 1.465 GB, free: 1.305 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/1.235, allocations: 64.41 kB / 1.465 GB, free: 1.23 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/1.237, allocations: 1.262 MB / 1.467 GB, free: 15.96 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.449e-05/1.237, allocations: 49.7 kB / 1.467 GB, free: 15.91 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006798/1.238, allocations: 0.8266 MB / 1.467 GB, free: 15.07 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003463/1.238, allocations: 384.7 kB / 1.468 GB, free: 14.69 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003586/1.239, allocations: 226.8 kB / 1.468 GB, free: 14.46 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001742/1.239, allocations: 353.9 kB / 1.468 GB, free: 14.11 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009173/1.24, allocations: 453.8 kB / 1.469 GB, free: 13.67 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/1.241, allocations: 0.8229 MB / 1.47 GB, free: 12.68 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002068/1.243, allocations: 1.256 MB / 1.471 GB, free: 11.29 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.243, allocations: 3.938 kB / 1.471 GB, free: 11.29 MB / 1.139 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002674/1.246, allocations: 1.414 MB / 1.472 GB, free: 9.871 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/1.246, allocations: 8 kB / 1.472 GB, free: 9.863 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/1.246, allocations: 14.02 kB / 1.472 GB, free: 9.852 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/1.246, allocations: 16 kB / 1.472 GB, free: 9.836 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/1.247, allocations: 275.6 kB / 1.472 GB, free: 9.566 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.579e-05/1.247, allocations: 19.92 kB / 1.472 GB, free: 9.547 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/1.248, allocations: 73.38 kB / 1.473 GB, free: 9.477 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.943e-05/1.248, allocations: 55.98 kB / 1.473 GB, free: 9.422 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00144/1.25, allocations: 0.7679 MB / 1.473 GB, free: 8.652 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001213/1.251, allocations: 0.8183 MB / 1.474 GB, free: 7.668 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002079/1.253, allocations: 1.233 MB / 1.475 GB, free: 6.309 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.173e-06/1.253, allocations: 4 kB / 1.475 GB, free: 6.305 MB / 1.139 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002686/1.256, allocations: 1.407 MB / 1.477 GB, free: 4.891 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.256, allocations: 9.562 kB / 1.477 GB, free: 4.883 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/1.256, allocations: 12.12 kB / 1.477 GB, free: 4.871 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/1.256, allocations: 16 kB / 1.477 GB, free: 4.855 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/1.257, allocations: 271.6 kB / 1.477 GB, free: 4.59 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.718e-05/1.257, allocations: 23.92 kB / 1.477 GB, free: 4.566 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/1.259, allocations: 81.17 kB / 1.477 GB, free: 4.492 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.202e-05/1.259, allocations: 48 kB / 1.477 GB, free: 4.445 MB / 1.139 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.0003438/1.259, allocations: 263.8 kB / 1.477 GB, free: 4.18 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003143/1.259, allocations: 170.9 kB / 1.478 GB, free: 4.012 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002375/1.262, allocations: 1.168 MB / 1.479 GB, free: 2.84 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/1.262, allocations: 8 kB / 1.479 GB, free: 2.832 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.262, allocations: 0 / 1.479 GB, free: 2.832 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001863/1.264, allocations: 1.083 MB / 1.48 GB, free: 1.695 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005115/1.269, allocations: 2.796 MB / 1.482 GB, free: 14.81 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/1.269, allocations: 0 / 1.482 GB, free: 14.81 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/1.27, allocations: 244 kB / 1.483 GB, free: 14.57 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.031e-05/1.27, allocations: 11.94 kB / 1.483 GB, free: 14.56 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-05/1.27, allocations: 31.92 kB / 1.483 GB, free: 14.53 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/1.27, allocations: 4 kB / 1.483 GB, free: 14.53 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.27, allocations: 4 kB / 1.483 GB, free: 14.52 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003361/1.274, allocations: 1.78 MB / 1.485 GB, free: 12.71 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007483/1.274, allocations: 343.8 kB / 1.485 GB, free: 12.35 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/1.275, allocations: 27.98 kB / 1.485 GB, free: 12.32 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/1.276, allocations: 52.14 kB / 1.485 GB, free: 12.27 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/1.276, allocations: 68.91 kB / 1.485 GB, free: 12.2 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.231e-05/1.276, allocations: 39.92 kB / 1.485 GB, free: 12.16 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001214/1.277, allocations: 0.8426 MB / 1.486 GB, free: 11.32 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.5e-07/1.277, allocations: 0 / 1.486 GB, free: 11.32 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001957/1.279, allocations: 0.7617 MB / 1.487 GB, free: 10.56 MB / 1.154 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.003936/1.283, allocations: 2.496 MB / 1.489 GB, free: 8.031 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003486/1.287, allocations: 1.74 MB / 1.491 GB, free: 6.297 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.287, allocations: 4 kB / 1.491 GB, free: 6.293 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/1.288, allocations: 0.5214 MB / 1.491 GB, free: 5.773 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004445/1.292, allocations: 0.9075 MB / 1.492 GB, free: 4.879 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01916/1.311, allocations: 12.04 MB / 1.504 GB, free: 8.332 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/1.312, allocations: 1.449 MB / 1.505 GB, free: 6.852 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001919/1.314, allocations: 0.5522 MB / 1.506 GB, free: 6.293 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009923/1.315, allocations: 0.6906 MB / 1.507 GB, free: 5.602 MB / 1.17 GB Notification: Performance of SimCode: time 2.355e-06/1.315, allocations: 0 / 1.507 GB, free: 5.602 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08928/1.405, allocations: 45.04 MB / 1.551 GB, free: 9.176 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/12.71, allocations: 6.328 kB / 1.551 GB, free: 9.172 MB / 1.217 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches