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 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.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.001604/0.001609, allocations: 108.6 kB / 15.73 MB, free: 72 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.001591/0.001591, allocations: 186.8 kB / 16.66 MB, free: 6.602 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: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.903/2.903, allocations: 482.4 MB / 0.7548 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 64.12 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2884, allocations: 162.2 MB / 1.241 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7792/1.068, allocations: 242.5 MB / 1.478 GB, free: 5.039 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02294/1.091, allocations: 15.89 MB / 1.494 GB, free: 5.098 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/1.093, allocations: 75.56 kB / 1.494 GB, free: 5.023 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.003019/1.096, allocations: 1.184 MB / 1.495 GB, free: 3.832 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.009669/1.106, allocations: 3.799 MB / 1.499 GB, free: 20 kB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0046/1.11, allocations: 1.827 MB / 1.501 GB, free: 14.2 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.006956/1.117, allocations: 5.238 MB / 1.506 GB, free: 8.945 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002334/1.119, allocations: 1.658 MB / 1.507 GB, free: 7.258 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005841/1.125, allocations: 2.857 MB / 1.51 GB, free: 4.391 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003007/1.128, allocations: 1.677 MB / 1.512 GB, free: 2.719 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003163/1.129, allocations: 172 kB / 1.512 GB, free: 2.551 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005089/1.134, allocations: 2.697 MB / 1.514 GB, free: 15.85 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008505/1.135, allocations: 0.7674 MB / 1.515 GB, free: 15.08 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001412/1.136, allocations: 1.147 MB / 1.516 GB, free: 13.93 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005457/1.142, allocations: 3.581 MB / 1.52 GB, free: 10.33 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/1.142, allocations: 0 / 1.52 GB, free: 10.33 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.453e-06/1.142, allocations: 3.938 kB / 1.52 GB, free: 10.33 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.303e-05/1.142, allocations: 0 / 1.52 GB, free: 10.33 MB / 1.217 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.004468/1.146, allocations: 2.576 MB / 1.522 GB, free: 7.695 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/1.146, allocations: 8.031 kB / 1.522 GB, free: 7.688 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002764/1.146, allocations: 219.1 kB / 1.523 GB, free: 7.465 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003092/1.15, allocations: 0.5138 MB / 1.523 GB, free: 6.949 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002449/1.152, allocations: 1.376 MB / 1.524 GB, free: 5.52 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/1.152, allocations: 178.2 kB / 1.525 GB, free: 5.332 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/1.152, allocations: 155.9 kB / 1.525 GB, free: 5.18 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003036/1.155, allocations: 1.734 MB / 1.526 GB, free: 3.371 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/1.155, allocations: 7.984 kB / 1.526 GB, free: 3.363 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/1.156, allocations: 59.98 kB / 1.527 GB, free: 3.305 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.616e-05/1.156, allocations: 70.69 kB / 1.527 GB, free: 3.234 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/1.158, allocations: 1.373 MB / 1.528 GB, free: 1.855 MB / 1.217 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.009899/1.168, allocations: 8.367 MB / 1.536 GB, free: 8.75 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/1.17, allocations: 0.9019 MB / 1.537 GB, free: 7.848 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009569/1.171, allocations: 0.5379 MB / 1.538 GB, free: 7.312 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006436/1.172, allocations: 316.2 kB / 1.538 GB, free: 6.945 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/1.172, allocations: 51.5 kB / 1.538 GB, free: 6.887 MB / 1.232 GB Notification: Performance of pre-optimization done (n=96): time 2.535e-06/1.172, allocations: 0 / 1.538 GB, free: 6.887 MB / 1.232 GB Notification: Performance of matching and sorting (n=102): time 0.007131/1.179, allocations: 3.162 MB / 1.541 GB, free: 3.684 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/1.179, allocations: 64.41 kB / 1.541 GB, free: 3.605 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/1.181, allocations: 1.254 MB / 1.542 GB, free: 2.344 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 9.595e-05/1.181, allocations: 49.7 kB / 1.542 GB, free: 2.289 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006992/1.181, allocations: 0.8306 MB / 1.543 GB, free: 1.449 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003466/1.182, allocations: 380.7 kB / 1.543 GB, free: 1.074 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003563/1.182, allocations: 230.8 kB / 1.544 GB, free: 0.8438 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001666/1.182, allocations: 349.9 kB / 1.544 GB, free: 0.4961 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008998/1.183, allocations: 445.8 kB / 1.544 GB, free: 60 kB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/1.185, allocations: 0.826 MB / 1.545 GB, free: 15.06 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/1.187, allocations: 1.256 MB / 1.546 GB, free: 13.68 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/1.187, allocations: 4 kB / 1.546 GB, free: 13.68 MB / 1.248 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002672/1.189, allocations: 1.41 MB / 1.548 GB, free: 12.26 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/1.189, allocations: 12 kB / 1.548 GB, free: 12.25 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/1.189, allocations: 8 kB / 1.548 GB, free: 12.24 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/1.189, allocations: 16 kB / 1.548 GB, free: 12.22 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.191, allocations: 280.2 kB / 1.548 GB, free: 11.95 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.639e-05/1.191, allocations: 23.94 kB / 1.548 GB, free: 11.93 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/1.192, allocations: 71.89 kB / 1.548 GB, free: 11.86 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/1.192, allocations: 48 kB / 1.548 GB, free: 11.81 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001427/1.193, allocations: 0.7718 MB / 1.549 GB, free: 11.04 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0012/1.195, allocations: 0.8143 MB / 1.55 GB, free: 10.06 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00207/1.197, allocations: 1.24 MB / 1.551 GB, free: 8.691 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.224e-06/1.197, allocations: 4 kB / 1.551 GB, free: 8.688 MB / 1.248 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002561/1.199, allocations: 1.403 MB / 1.552 GB, free: 7.277 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/1.199, allocations: 13.97 kB / 1.552 GB, free: 7.266 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.199, allocations: 8 kB / 1.552 GB, free: 7.258 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.199, allocations: 16 kB / 1.552 GB, free: 7.242 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/1.2, allocations: 275.6 kB / 1.553 GB, free: 6.973 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-05/1.201, allocations: 19.94 kB / 1.553 GB, free: 6.953 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/1.202, allocations: 72.03 kB / 1.553 GB, free: 6.883 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-05/1.202, allocations: 48 kB / 1.553 GB, free: 6.836 MB / 1.248 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.0003079/1.202, allocations: 279.7 kB / 1.553 GB, free: 6.555 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/1.202, allocations: 170.9 kB / 1.553 GB, free: 6.387 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/1.205, allocations: 1.154 MB / 1.554 GB, free: 5.227 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/1.205, allocations: 15.98 kB / 1.554 GB, free: 5.211 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.205, allocations: 0 / 1.554 GB, free: 5.211 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001849/1.207, allocations: 1.083 MB / 1.555 GB, free: 4.082 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004695/1.211, allocations: 2.785 MB / 1.558 GB, free: 1.211 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/1.211, allocations: 8.031 kB / 1.558 GB, free: 1.203 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/1.213, allocations: 239.7 kB / 1.558 GB, free: 0.9688 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/1.213, allocations: 7.938 kB / 1.558 GB, free: 0.9609 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-05/1.213, allocations: 24.5 kB / 1.558 GB, free: 0.9375 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/1.213, allocations: 11.92 kB / 1.558 GB, free: 0.9258 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.213, allocations: 4 kB / 1.558 GB, free: 0.9219 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003098/1.216, allocations: 1.772 MB / 1.56 GB, free: 15.11 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006032/1.216, allocations: 348.4 kB / 1.561 GB, free: 14.75 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/1.217, allocations: 24 kB / 1.561 GB, free: 14.73 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/1.218, allocations: 56.81 kB / 1.561 GB, free: 14.67 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/1.218, allocations: 60.92 kB / 1.561 GB, free: 14.61 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.659e-05/1.218, allocations: 43.97 kB / 1.561 GB, free: 14.57 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001199/1.219, allocations: 0.8426 MB / 1.562 GB, free: 13.73 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.7e-07/1.219, allocations: 0 / 1.562 GB, free: 13.73 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001869/1.221, allocations: 0.7655 MB / 1.562 GB, free: 12.96 MB / 1.264 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.003904/1.225, allocations: 2.506 MB / 1.565 GB, free: 10.42 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003397/1.228, allocations: 1.74 MB / 1.566 GB, free: 8.684 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.228, allocations: 0 / 1.566 GB, free: 8.684 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0009517/1.229, allocations: 0.5132 MB / 1.567 GB, free: 8.176 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004064/1.233, allocations: 0.9123 MB / 1.568 GB, free: 7.277 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0182/1.252, allocations: 12.06 MB / 1.58 GB, free: 10.72 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/1.253, allocations: 1.453 MB / 1.581 GB, free: 9.23 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001805/1.255, allocations: 0.5561 MB / 1.582 GB, free: 8.668 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00097/1.256, allocations: 0.6867 MB / 1.582 GB, free: 7.98 MB / 1.279 GB Notification: Performance of SimCode: time 6.01e-07/1.256, allocations: 0 / 1.582 GB, free: 7.98 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08458/1.34, allocations: 45.02 MB / 1.626 GB, free: 11.54 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/12.06, allocations: 3.953 kB / 1.626 GB, free: 11.54 MB / 1.326 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 400 --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