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.004996/0.004996, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001154/0.001155, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.581/2.581, allocations: 472.7 MB / 0.7453 GB, free: 416 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.91 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7151/0.7164, allocations: 159.9 MB / 1.225 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.178/0.8945, allocations: 187.9 MB / 1.409 GB, free: 0.8438 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01397/0.9085, allocations: 10.77 MB / 1.419 GB, free: 6.051 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.9097, allocations: 39.75 kB / 1.419 GB, free: 6.012 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.9109, allocations: 0.501 MB / 1.42 GB, free: 5.508 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005592/0.9165, allocations: 2.661 MB / 1.422 GB, free: 2.836 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005345/0.9219, allocations: 2.47 MB / 1.425 GB, free: 380 kB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003257/0.9251, allocations: 2.763 MB / 1.427 GB, free: 13.6 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.9262, allocations: 0.7878 MB / 1.428 GB, free: 12.8 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00152/0.9277, allocations: 1.028 MB / 1.429 GB, free: 11.77 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001752/0.9295, allocations: 1.057 MB / 1.43 GB, free: 10.71 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.9296, allocations: 96 kB / 1.43 GB, free: 10.62 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005114/0.9348, allocations: 3.013 MB / 1.433 GB, free: 7.598 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004657/0.9352, allocations: 442.8 kB / 1.434 GB, free: 7.164 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007007/0.936, allocations: 0.5755 MB / 1.434 GB, free: 6.586 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004577/0.9405, allocations: 2.967 MB / 1.437 GB, free: 3.609 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.9406, allocations: 0 / 1.437 GB, free: 3.609 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9406, allocations: 0 / 1.437 GB, free: 3.609 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.9406, allocations: 0 / 1.437 GB, free: 3.609 MB / 1.154 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.003157/0.9437, allocations: 1.725 MB / 1.439 GB, free: 1.828 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.9438, allocations: 8.031 kB / 1.439 GB, free: 1.82 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.9439, allocations: 118.5 kB / 1.439 GB, free: 1.695 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001768/0.9457, allocations: 302.9 kB / 1.439 GB, free: 1.398 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.947, allocations: 0.832 MB / 1.44 GB, free: 0.5234 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/0.947, allocations: 53.3 kB / 1.44 GB, free: 480 kB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.9472, allocations: 67.98 kB / 1.44 GB, free: 412 kB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.9487, allocations: 0.996 MB / 1.441 GB, free: 15.39 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.9487, allocations: 0 / 1.441 GB, free: 15.39 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.518e-05/0.9488, allocations: 23.98 kB / 1.441 GB, free: 15.37 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-05/0.9489, allocations: 73.95 kB / 1.441 GB, free: 15.29 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/0.9504, allocations: 1.015 MB / 1.442 GB, free: 14.28 MB / 1.17 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.005385/0.9558, allocations: 3.587 MB / 1.446 GB, free: 10.46 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.9569, allocations: 0.6613 MB / 1.446 GB, free: 9.789 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/0.9574, allocations: 378.2 kB / 1.447 GB, free: 9.418 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002535/0.9577, allocations: 202.7 kB / 1.447 GB, free: 9.184 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.9577, allocations: 39.12 kB / 1.447 GB, free: 9.137 MB / 1.17 GB Notification: Performance of pre-optimization done (n=62): time 2.264e-06/0.9577, allocations: 0 / 1.447 GB, free: 9.137 MB / 1.17 GB Notification: Performance of matching and sorting (n=62): time 0.00187/0.9596, allocations: 1.022 MB / 1.448 GB, free: 8.109 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/0.9597, allocations: 111.4 kB / 1.448 GB, free: 7.973 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008948/0.9606, allocations: 0.8058 MB / 1.449 GB, free: 7.156 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.675e-05/0.9606, allocations: 41.7 kB / 1.449 GB, free: 7.109 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.9609, allocations: 428.8 kB / 1.449 GB, free: 6.688 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.9611, allocations: 234 kB / 1.45 GB, free: 6.457 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/0.9613, allocations: 142.6 kB / 1.45 GB, free: 6.312 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.9615, allocations: 337.9 kB / 1.45 GB, free: 5.977 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000536/0.962, allocations: 344.7 kB / 1.45 GB, free: 5.637 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006364/0.9626, allocations: 460.7 kB / 1.451 GB, free: 5.152 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.9638, allocations: 0.7744 MB / 1.451 GB, free: 4.348 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.9638, allocations: 3.938 kB / 1.451 GB, free: 4.344 MB / 1.17 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001441/0.9652, allocations: 0.9377 MB / 1.452 GB, free: 3.398 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.9653, allocations: 4 kB / 1.452 GB, free: 3.395 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.9653, allocations: 4 kB / 1.452 GB, free: 3.391 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.9653, allocations: 4 kB / 1.452 GB, free: 3.387 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000669/0.966, allocations: 152.1 kB / 1.453 GB, free: 3.238 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.966, allocations: 12 kB / 1.453 GB, free: 3.227 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007028/0.9667, allocations: 79.39 kB / 1.453 GB, free: 3.148 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.057e-05/0.9668, allocations: 35.98 kB / 1.453 GB, free: 3.113 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007751/0.9676, allocations: 0.5292 MB / 1.453 GB, free: 2.578 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005942/0.9682, allocations: 458.4 kB / 1.454 GB, free: 2.09 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001018/0.9692, allocations: 0.7292 MB / 1.454 GB, free: 1.324 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.168e-06/0.9692, allocations: 7.938 kB / 1.454 GB, free: 1.316 MB / 1.17 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001332/0.9705, allocations: 0.8987 MB / 1.455 GB, free: 420 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.9706, allocations: 4 kB / 1.455 GB, free: 416 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.9706, allocations: 4 kB / 1.455 GB, free: 412 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.9706, allocations: 8 kB / 1.455 GB, free: 404 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006212/0.9712, allocations: 143.8 kB / 1.455 GB, free: 260 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.9712, allocations: 8 kB / 1.455 GB, free: 252 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006792/0.9719, allocations: 63.64 kB / 1.455 GB, free: 188 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-05/0.972, allocations: 28 kB / 1.455 GB, free: 160 kB / 1.17 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.0001949/0.9722, allocations: 233.9 kB / 1.456 GB, free: 15.92 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.9723, allocations: 95.39 kB / 1.456 GB, free: 15.83 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.9737, allocations: 0.8033 MB / 1.457 GB, free: 15.02 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.9737, allocations: 8 kB / 1.457 GB, free: 15.02 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.9737, allocations: 0 / 1.457 GB, free: 15.02 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001003/0.9747, allocations: 0.7477 MB / 1.457 GB, free: 14.23 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002881/0.9776, allocations: 2.094 MB / 1.459 GB, free: 12.04 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.9776, allocations: 7.984 kB / 1.459 GB, free: 12.03 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006327/0.9783, allocations: 131.8 kB / 1.46 GB, free: 11.9 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.9783, allocations: 8 kB / 1.46 GB, free: 11.89 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-05/0.9784, allocations: 20 kB / 1.46 GB, free: 11.88 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/0.9784, allocations: 7.938 kB / 1.46 GB, free: 11.87 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.9784, allocations: 8.344 kB / 1.46 GB, free: 11.86 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.9802, allocations: 1.364 MB / 1.461 GB, free: 10.43 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/0.9805, allocations: 260.3 kB / 1.461 GB, free: 10.16 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.9806, allocations: 16 kB / 1.461 GB, free: 10.14 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005416/0.9812, allocations: 23.98 kB / 1.461 GB, free: 10.12 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.722e-05/0.9813, allocations: 52.27 kB / 1.461 GB, free: 10.07 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/0.9813, allocations: 24.05 kB / 1.461 GB, free: 10.05 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006396/0.982, allocations: 0.5576 MB / 1.462 GB, free: 9.492 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.6e-07/0.982, allocations: 0 / 1.462 GB, free: 9.492 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001516/0.9835, allocations: 0.7597 MB / 1.463 GB, free: 8.73 MB / 1.186 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.002974/0.9865, allocations: 2.356 MB / 1.465 GB, free: 6.316 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001815/0.9883, allocations: 1.186 MB / 1.466 GB, free: 5.129 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.9883, allocations: 4 kB / 1.466 GB, free: 5.125 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005054/0.9888, allocations: 362.2 kB / 1.466 GB, free: 4.77 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002279/0.9911, allocations: 0.5417 MB / 1.467 GB, free: 4.238 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009837/1.001, allocations: 7.91 MB / 1.475 GB, free: 12.05 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/1.002, allocations: 1.081 MB / 1.476 GB, free: 10.94 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001134/1.003, allocations: 419.6 kB / 1.476 GB, free: 10.53 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004597/1.003, allocations: 331.3 kB / 1.476 GB, free: 10.21 MB / 1.201 GB Notification: Performance of SimCode: time 5.92e-07/1.003, allocations: 4 kB / 1.476 GB, free: 10.2 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05456/1.058, allocations: 31.37 MB / 1.507 GB, free: 11.19 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/11.63, allocations: 14.92 kB / 1.507 GB, free: 11.18 MB / 1.232 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 50 --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