Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.MixingVolumeInitialization,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_10_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.006839/0.006839, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001464/0.001464, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.318/1.318, 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 10.1.1-maint.10.0.x/package.mo): time 2.314/2.314, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 71.88 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7828/0.7842, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2011/0.9853, allocations: 187.9 MB / 1.35 GB, free: 7.207 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01525/1.001, allocations: 10.77 MB / 1.36 GB, free: 12.41 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/1.002, allocations: 39.75 kB / 1.36 GB, free: 12.37 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001486/1.003, allocations: 0.5009 MB / 1.361 GB, free: 11.86 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006952/1.01, allocations: 2.665 MB / 1.363 GB, free: 9.188 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00645/1.017, allocations: 2.474 MB / 1.366 GB, free: 6.719 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004108/1.021, allocations: 2.77 MB / 1.368 GB, free: 3.938 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/1.022, allocations: 0.78 MB / 1.369 GB, free: 3.141 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/1.025, allocations: 1.031 MB / 1.37 GB, free: 2.105 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002349/1.027, allocations: 1.051 MB / 1.371 GB, free: 1.055 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003476/1.027, allocations: 96 kB / 1.371 GB, free: 0.9609 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006473/1.034, allocations: 3.025 MB / 1.374 GB, free: 13.93 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007997/1.035, allocations: 434.8 kB / 1.375 GB, free: 13.5 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001199/1.036, allocations: 0.5794 MB / 1.375 GB, free: 12.92 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.006391/1.042, allocations: 2.957 MB / 1.378 GB, free: 9.957 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.042, allocations: 0 / 1.378 GB, free: 9.957 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.906e-06/1.042, allocations: 0 / 1.378 GB, free: 9.957 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.411e-05/1.042, allocations: 0 / 1.378 GB, free: 9.957 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004319/1.047, allocations: 1.67 MB / 1.38 GB, free: 8.234 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/1.047, allocations: 12.86 kB / 1.38 GB, free: 8.223 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002109/1.047, allocations: 118.5 kB / 1.38 GB, free: 8.098 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/1.049, allocations: 298.4 kB / 1.38 GB, free: 7.805 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/1.051, allocations: 0.8273 MB / 1.381 GB, free: 6.934 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.418e-05/1.051, allocations: 57.3 kB / 1.381 GB, free: 6.875 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/1.051, allocations: 67.98 kB / 1.381 GB, free: 6.809 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/1.053, allocations: 0.996 MB / 1.382 GB, free: 5.797 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/1.053, allocations: 0 / 1.382 GB, free: 5.797 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.194e-05/1.053, allocations: 23.98 kB / 1.382 GB, free: 5.773 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001221/1.053, allocations: 77.95 kB / 1.382 GB, free: 5.695 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/1.055, allocations: 1.015 MB / 1.383 GB, free: 4.684 MB / 1.107 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.006616/1.062, allocations: 3.57 MB / 1.387 GB, free: 0.8789 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/1.063, allocations: 0.6614 MB / 1.387 GB, free: 212 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005855/1.063, allocations: 378.3 kB / 1.388 GB, free: 15.84 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002925/1.064, allocations: 202.7 kB / 1.388 GB, free: 15.6 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/1.064, allocations: 39.12 kB / 1.388 GB, free: 15.55 MB / 1.123 GB Notification: Performance of pre-optimization done (n=62): time 2.875e-06/1.064, allocations: 0 / 1.388 GB, free: 15.55 MB / 1.123 GB Notification: Performance of matching and sorting (n=62): time 0.002034/1.066, allocations: 1.021 MB / 1.389 GB, free: 14.53 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/1.066, allocations: 111.4 kB / 1.389 GB, free: 14.4 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/1.067, allocations: 0.8097 MB / 1.39 GB, free: 13.58 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.413e-05/1.067, allocations: 37.7 kB / 1.39 GB, free: 13.54 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/1.067, allocations: 428 kB / 1.39 GB, free: 13.11 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/1.068, allocations: 224.8 kB / 1.39 GB, free: 12.89 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/1.068, allocations: 142.6 kB / 1.391 GB, free: 12.75 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.068, allocations: 334 kB / 1.391 GB, free: 12.41 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005896/1.069, allocations: 336.7 kB / 1.391 GB, free: 12.08 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000741/1.069, allocations: 468.7 kB / 1.392 GB, free: 11.59 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/1.071, allocations: 0.7665 MB / 1.392 GB, free: 10.79 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/1.071, allocations: 3.938 kB / 1.392 GB, free: 10.79 MB / 1.123 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001698/1.072, allocations: 0.9295 MB / 1.393 GB, free: 9.848 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/1.072, allocations: 4 kB / 1.393 GB, free: 9.844 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/1.072, allocations: 4 kB / 1.393 GB, free: 9.84 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/1.072, allocations: 4 kB / 1.393 GB, free: 9.836 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007039/1.073, allocations: 151.8 kB / 1.393 GB, free: 9.688 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/1.073, allocations: 11.94 kB / 1.393 GB, free: 9.676 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008033/1.074, allocations: 83.39 kB / 1.394 GB, free: 9.594 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-05/1.074, allocations: 31.98 kB / 1.394 GB, free: 9.562 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008475/1.075, allocations: 0.5331 MB / 1.394 GB, free: 9.023 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006569/1.076, allocations: 458.5 kB / 1.395 GB, free: 8.535 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001085/1.077, allocations: 0.7291 MB / 1.395 GB, free: 7.766 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.921e-06/1.077, allocations: 7.938 kB / 1.395 GB, free: 7.758 MB / 1.123 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001617/1.078, allocations: 0.8866 MB / 1.396 GB, free: 6.863 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.078, allocations: 8.031 kB / 1.396 GB, free: 6.855 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.078, allocations: 4 kB / 1.396 GB, free: 6.852 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/1.078, allocations: 8 kB / 1.396 GB, free: 6.844 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006621/1.079, allocations: 147.8 kB / 1.396 GB, free: 6.699 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/1.079, allocations: 4 kB / 1.396 GB, free: 6.695 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008054/1.08, allocations: 67.44 kB / 1.396 GB, free: 6.629 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.714e-05/1.08, allocations: 27.94 kB / 1.396 GB, free: 6.602 MB / 1.123 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.0002409/1.08, allocations: 224.1 kB / 1.397 GB, free: 6.375 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/1.08, allocations: 94.88 kB / 1.397 GB, free: 6.281 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/1.082, allocations: 0.803 MB / 1.397 GB, free: 5.473 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/1.082, allocations: 8 kB / 1.397 GB, free: 5.465 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.082, allocations: 128 / 1.397 GB, free: 5.465 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001029/1.083, allocations: 0.7477 MB / 1.398 GB, free: 4.688 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00339/1.086, allocations: 2.105 MB / 1.4 GB, free: 2.484 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.086, allocations: 0 / 1.4 GB, free: 2.484 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006468/1.087, allocations: 131.8 kB / 1.4 GB, free: 2.355 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.459e-05/1.087, allocations: 8 kB / 1.4 GB, free: 2.348 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.285e-05/1.087, allocations: 16 kB / 1.4 GB, free: 2.332 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.535e-05/1.087, allocations: 7.984 kB / 1.4 GB, free: 2.324 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.087, allocations: 4 kB / 1.4 GB, free: 2.32 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/1.089, allocations: 1.36 MB / 1.402 GB, free: 0.9023 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004943/1.09, allocations: 255.8 kB / 1.402 GB, free: 0.6328 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/1.09, allocations: 20.19 kB / 1.402 GB, free: 0.6133 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006361/1.091, allocations: 22.22 kB / 1.402 GB, free: 0.5938 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.782e-05/1.091, allocations: 56.3 kB / 1.402 GB, free: 0.5352 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.405e-05/1.091, allocations: 20 kB / 1.402 GB, free: 0.5156 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000842/1.092, allocations: 0.5576 MB / 1.403 GB, free: 15.96 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.5e-07/1.092, allocations: 0 / 1.403 GB, free: 15.96 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001995/1.094, allocations: 0.7489 MB / 1.403 GB, free: 15.21 MB / 1.139 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.003684/1.097, allocations: 2.344 MB / 1.406 GB, free: 12.82 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002201/1.1, allocations: 1.187 MB / 1.407 GB, free: 11.63 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.1, allocations: 4.062 kB / 1.407 GB, free: 11.63 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005455/1.1, allocations: 370.1 kB / 1.407 GB, free: 11.27 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/1.103, allocations: 0.5332 MB / 1.408 GB, free: 10.74 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/1.116, allocations: 7.863 MB / 1.415 GB, free: 2.598 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000942/1.117, allocations: 1.085 MB / 1.416 GB, free: 1.484 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001322/1.118, allocations: 424.1 kB / 1.417 GB, free: 1.07 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005264/1.118, allocations: 331.3 kB / 1.417 GB, free: 0.7461 MB / 1.139 GB Notification: Performance of SimCode: time 9.01e-07/1.119, allocations: 3.938 kB / 1.417 GB, free: 0.7422 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06307/1.182, allocations: 31.38 MB / 1.448 GB, free: 1.668 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/12.09, allocations: 8.203 kB / 1.448 GB, free: 1.664 MB / 1.17 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches