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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.005376/0.005376, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001277/0.001277, allocations: 189.4 kB / 16.67 MB, free: 5.875 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.517/2.517, allocations: 469.4 MB / 0.7422 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.91 kB / 1.064 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.682/0.6832, allocations: 159.1 MB / 1.22 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.1745/0.8578, allocations: 187.8 MB / 1.403 GB, free: 5.742 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01356/0.8713, allocations: 10.77 MB / 1.414 GB, free: 10.95 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000847/0.8722, allocations: 39.75 kB / 1.414 GB, free: 10.91 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.8734, allocations: 0.501 MB / 1.414 GB, free: 10.41 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005387/0.8788, allocations: 2.661 MB / 1.417 GB, free: 7.734 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005213/0.884, allocations: 2.478 MB / 1.419 GB, free: 5.262 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002892/0.8869, allocations: 2.778 MB / 1.422 GB, free: 2.473 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.888, allocations: 0.7684 MB / 1.423 GB, free: 1.695 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001608/0.8896, allocations: 1.024 MB / 1.424 GB, free: 0.668 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001956/0.8916, allocations: 1.061 MB / 1.425 GB, free: 15.61 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002151/0.8918, allocations: 96 kB / 1.425 GB, free: 15.51 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004851/0.8967, allocations: 3.021 MB / 1.428 GB, free: 12.48 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004641/0.8971, allocations: 438.8 kB / 1.428 GB, free: 12.05 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007515/0.8979, allocations: 0.5794 MB / 1.429 GB, free: 11.47 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004571/0.9025, allocations: 2.967 MB / 1.432 GB, free: 8.496 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.9025, allocations: 3.938 kB / 1.432 GB, free: 8.492 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9025, allocations: 0 / 1.432 GB, free: 8.492 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.447e-05/0.9026, allocations: 0 / 1.432 GB, free: 8.492 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.00384/0.9064, allocations: 1.718 MB / 1.433 GB, free: 6.719 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.9064, allocations: 8.625 kB / 1.433 GB, free: 6.711 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001694/0.9066, allocations: 122.5 kB / 1.433 GB, free: 6.582 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/0.9086, allocations: 302.9 kB / 1.434 GB, free: 6.285 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.9101, allocations: 0.8358 MB / 1.435 GB, free: 5.406 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.024e-05/0.9102, allocations: 49.3 kB / 1.435 GB, free: 5.355 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.9103, allocations: 63.98 kB / 1.435 GB, free: 5.293 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.9119, allocations: 0.9999 MB / 1.436 GB, free: 4.281 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.9119, allocations: 0 / 1.436 GB, free: 4.281 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.628e-05/0.912, allocations: 31.97 kB / 1.436 GB, free: 4.25 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.804e-05/0.9121, allocations: 73.94 kB / 1.436 GB, free: 4.176 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.9138, allocations: 1.015 MB / 1.437 GB, free: 3.164 MB / 1.154 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.005895/0.9197, allocations: 3.583 MB / 1.44 GB, free: 15.34 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.9208, allocations: 0.6646 MB / 1.441 GB, free: 14.67 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005463/0.9214, allocations: 382.8 kB / 1.441 GB, free: 14.3 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002513/0.9216, allocations: 198.7 kB / 1.441 GB, free: 14.07 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.9217, allocations: 43.06 kB / 1.442 GB, free: 14.02 MB / 1.17 GB Notification: Performance of pre-optimization done (n=62): time 1.773e-06/0.9217, allocations: 0 / 1.442 GB, free: 14.02 MB / 1.17 GB Notification: Performance of matching and sorting (n=62): time 0.001874/0.9235, allocations: 1.029 MB / 1.443 GB, free: 12.98 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.9236, allocations: 107.4 kB / 1.443 GB, free: 12.85 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009366/0.9246, allocations: 0.8019 MB / 1.443 GB, free: 12.04 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.233e-05/0.9246, allocations: 37.7 kB / 1.443 GB, free: 12 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.9249, allocations: 428.8 kB / 1.444 GB, free: 11.57 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.9251, allocations: 234 kB / 1.444 GB, free: 11.34 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.9254, allocations: 142.6 kB / 1.444 GB, free: 11.2 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.9255, allocations: 334 kB / 1.445 GB, free: 10.86 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005482/0.926, allocations: 340.7 kB / 1.445 GB, free: 10.53 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006809/0.9267, allocations: 468.7 kB / 1.445 GB, free: 10.04 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.928, allocations: 0.7704 MB / 1.446 GB, free: 9.242 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.928, allocations: 3.938 kB / 1.446 GB, free: 9.238 MB / 1.17 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001604/0.9296, allocations: 0.9339 MB / 1.447 GB, free: 8.297 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.9296, allocations: 4 kB / 1.447 GB, free: 8.293 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.9296, allocations: 4 kB / 1.447 GB, free: 8.289 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.9297, allocations: 4.281 kB / 1.447 GB, free: 8.285 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007232/0.9304, allocations: 155.8 kB / 1.447 GB, free: 8.133 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.9304, allocations: 8 kB / 1.447 GB, free: 8.125 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008012/0.9312, allocations: 83.38 kB / 1.447 GB, free: 8.043 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/0.9313, allocations: 31.94 kB / 1.447 GB, free: 8.012 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008235/0.9321, allocations: 0.537 MB / 1.448 GB, free: 7.473 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006261/0.9328, allocations: 458.3 kB / 1.448 GB, free: 6.984 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001055/0.9338, allocations: 0.7253 MB / 1.449 GB, free: 6.219 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.915e-06/0.9338, allocations: 4 kB / 1.449 GB, free: 6.215 MB / 1.17 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001404/0.9353, allocations: 0.8947 MB / 1.45 GB, free: 5.312 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.9353, allocations: 4 kB / 1.45 GB, free: 5.309 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.9353, allocations: 4 kB / 1.45 GB, free: 5.305 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.9353, allocations: 11.98 kB / 1.45 GB, free: 5.293 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006622/0.936, allocations: 151.8 kB / 1.45 GB, free: 5.145 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.936, allocations: 4 kB / 1.45 GB, free: 5.141 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007279/0.9367, allocations: 59.64 kB / 1.45 GB, free: 5.082 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/0.9368, allocations: 28.38 kB / 1.45 GB, free: 5.055 MB / 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.0001799/0.937, allocations: 228.1 kB / 1.45 GB, free: 4.824 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.9371, allocations: 99.38 kB / 1.45 GB, free: 4.727 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.9385, allocations: 0.8066 MB / 1.451 GB, free: 3.914 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.9385, allocations: 11.98 kB / 1.451 GB, free: 3.902 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.9385, allocations: 0 / 1.451 GB, free: 3.902 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009977/0.9395, allocations: 0.7361 MB / 1.452 GB, free: 3.133 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003014/0.9425, allocations: 2.109 MB / 1.454 GB, free: 0.9258 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.9425, allocations: 4 kB / 1.454 GB, free: 0.9219 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006515/0.9432, allocations: 127.8 kB / 1.454 GB, free: 0.7969 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.9432, allocations: 12.11 kB / 1.454 GB, free: 0.7852 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/0.9433, allocations: 20 kB / 1.454 GB, free: 0.7656 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.9433, allocations: 8.375 kB / 1.454 GB, free: 0.7578 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.9433, allocations: 8 kB / 1.454 GB, free: 0.75 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.9451, allocations: 1.368 MB / 1.455 GB, free: 15.32 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.9455, allocations: 252.3 kB / 1.456 GB, free: 15.06 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.9456, allocations: 23.98 kB / 1.456 GB, free: 15.04 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005918/0.9462, allocations: 23.98 kB / 1.456 GB, free: 15.01 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.383e-05/0.9463, allocations: 48.27 kB / 1.456 GB, free: 14.96 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.694e-05/0.9464, allocations: 20 kB / 1.456 GB, free: 14.95 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006591/0.947, allocations: 0.5576 MB / 1.456 GB, free: 14.39 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9471, allocations: 3.938 kB / 1.456 GB, free: 14.39 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00154/0.9486, allocations: 0.7675 MB / 1.457 GB, free: 13.62 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.003147/0.9518, allocations: 2.35 MB / 1.459 GB, free: 11.21 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001833/0.9536, allocations: 1.19 MB / 1.461 GB, free: 10.02 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.9536, allocations: 0 / 1.461 GB, free: 10.02 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005183/0.9541, allocations: 375.7 kB / 1.461 GB, free: 9.652 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/0.9565, allocations: 0.5312 MB / 1.461 GB, free: 9.125 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.9666, allocations: 7.922 MB / 1.469 GB, free: 0.9297 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006231/0.9673, allocations: 1.077 MB / 1.47 GB, free: 15.82 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001132/0.9684, allocations: 421.5 kB / 1.471 GB, free: 15.41 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004844/0.9689, allocations: 335.3 kB / 1.471 GB, free: 15.08 MB / 1.201 GB Notification: Performance of SimCode: time 3.7e-07/0.9689, allocations: 0 / 1.471 GB, free: 15.08 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05341/1.022, allocations: 31.36 MB / 1.502 GB, free: 80 kB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.8, allocations: 10.36 kB / 1.502 GB, free: 72 kB / 1.217 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