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.007769/0.007769, allocations: 102.5 kB / 15.74 MB, free: 6.027 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.001955/0.001955, allocations: 196.1 kB / 16.67 MB, free: 5.961 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.349/1.349, 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 10.1.1-maint.10.0.x/package.mo): time 2.534/2.534, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.91 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2428, allocations: 151.6 MB / 1.166 GB, free: 7.246 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.6978/0.9406, allocations: 187.9 MB / 1.35 GB, free: 4.629 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01432/0.9549, allocations: 10.75 MB / 1.36 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.9561, allocations: 39.78 kB / 1.36 GB, free: 13.06 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.9574, allocations: 0.4975 MB / 1.361 GB, free: 12.77 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005674/0.9631, allocations: 2.665 MB / 1.363 GB, free: 11.38 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005536/0.9687, allocations: 2.478 MB / 1.366 GB, free: 10.26 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003387/0.9721, allocations: 2.782 MB / 1.368 GB, free: 8.746 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009836/0.9731, allocations: 0.7701 MB / 1.369 GB, free: 8.254 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.9746, allocations: 1.024 MB / 1.37 GB, free: 7.668 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/0.9763, allocations: 1.061 MB / 1.371 GB, free: 7.055 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.9765, allocations: 98.84 kB / 1.371 GB, free: 7.055 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005348/0.9819, allocations: 3.018 MB / 1.374 GB, free: 5.336 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004497/0.9823, allocations: 442.8 kB / 1.375 GB, free: 5.043 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006522/0.983, allocations: 0.5741 MB / 1.375 GB, free: 4.676 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004133/0.9871, allocations: 2.971 MB / 1.378 GB, free: 2.84 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.9871, allocations: 0 / 1.378 GB, free: 2.84 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9871, allocations: 3.938 kB / 1.378 GB, free: 2.836 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.9872, allocations: 0 / 1.378 GB, free: 2.836 MB / 1.045 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.003082/0.9903, allocations: 1.715 MB / 1.38 GB, free: 1.535 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.9903, allocations: 14.45 kB / 1.38 GB, free: 1.531 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.9904, allocations: 117 kB / 1.38 GB, free: 1.434 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001795/0.9922, allocations: 304.2 kB / 1.38 GB, free: 1.281 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.9935, allocations: 0.8333 MB / 1.381 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.32e-05/0.9936, allocations: 52.8 kB / 1.381 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.9937, allocations: 66.86 kB / 1.381 GB, free: 0.582 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.9951, allocations: 0.9984 MB / 1.382 GB, free: 4 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.9952, allocations: 0 / 1.382 GB, free: 4 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.515e-05/0.9953, allocations: 27.86 kB / 1.382 GB, free: 15.98 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.524e-05/0.9954, allocations: 73.78 kB / 1.382 GB, free: 15.96 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.9969, allocations: 1.013 MB / 1.383 GB, free: 15.45 MB / 1.061 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.005456/1.002, allocations: 3.583 MB / 1.387 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/1.003, allocations: 0.6603 MB / 1.387 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005089/1.004, allocations: 378 kB / 1.388 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002547/1.004, allocations: 195.8 kB / 1.388 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/1.004, allocations: 40.09 kB / 1.388 GB, free: 11.86 MB / 1.061 GB Notification: Performance of pre-optimization done (n=62): time 4.248e-06/1.004, allocations: 0 / 1.388 GB, free: 11.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=62): time 0.001864/1.006, allocations: 1.036 MB / 1.389 GB, free: 11.33 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/1.006, allocations: 114.9 kB / 1.389 GB, free: 11.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009536/1.007, allocations: 0.7993 MB / 1.39 GB, free: 10.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.641e-05/1.007, allocations: 36.55 kB / 1.39 GB, free: 10.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002976/1.008, allocations: 435 kB / 1.39 GB, free: 10.33 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/1.008, allocations: 229 kB / 1.39 GB, free: 10.13 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/1.008, allocations: 144.4 kB / 1.391 GB, free: 10.05 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.008, allocations: 333.6 kB / 1.391 GB, free: 9.727 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/1.009, allocations: 341.1 kB / 1.391 GB, free: 9.547 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006246/1.009, allocations: 469.1 kB / 1.392 GB, free: 9.246 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/1.01, allocations: 0.7675 MB / 1.392 GB, free: 8.793 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.01, allocations: 4 kB / 1.392 GB, free: 8.789 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001392/1.012, allocations: 0.9363 MB / 1.393 GB, free: 8.305 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/1.012, allocations: 4.938 kB / 1.393 GB, free: 8.305 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/1.012, allocations: 2.781 kB / 1.393 GB, free: 8.305 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/1.012, allocations: 4.406 kB / 1.393 GB, free: 8.305 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000643/1.012, allocations: 153.9 kB / 1.394 GB, free: 8.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/1.013, allocations: 6 kB / 1.394 GB, free: 8.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006922/1.013, allocations: 92.67 kB / 1.394 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.243e-05/1.013, allocations: 24.75 kB / 1.394 GB, free: 8.199 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007631/1.014, allocations: 0.5378 MB / 1.394 GB, free: 7.871 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000593/1.015, allocations: 450.6 kB / 1.395 GB, free: 7.566 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001035/1.016, allocations: 0.7386 MB / 1.395 GB, free: 7.109 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/1.016, allocations: 1.812 kB / 1.395 GB, free: 7.109 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001355/1.017, allocations: 0.8918 MB / 1.396 GB, free: 6.648 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/1.017, allocations: 7.5 kB / 1.396 GB, free: 6.648 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/1.017, allocations: 2.094 kB / 1.396 GB, free: 6.648 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-06/1.017, allocations: 5.25 kB / 1.396 GB, free: 6.648 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/1.018, allocations: 157.7 kB / 1.396 GB, free: 6.609 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.018, allocations: 5.125 kB / 1.396 GB, free: 6.609 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006746/1.018, allocations: 67.91 kB / 1.396 GB, free: 6.562 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-05/1.019, allocations: 27.5 kB / 1.396 GB, free: 6.555 MB / 1.061 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.0001801/1.019, allocations: 222.2 kB / 1.397 GB, free: 6.34 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/1.019, allocations: 97.3 kB / 1.397 GB, free: 6.289 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/1.02, allocations: 0.8041 MB / 1.398 GB, free: 5.824 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.02, allocations: 7.781 kB / 1.398 GB, free: 5.824 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.02, allocations: 3.984 kB / 1.398 GB, free: 5.82 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001089/1.021, allocations: 0.7378 MB / 1.398 GB, free: 5.367 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002871/1.024, allocations: 2.099 MB / 1.4 GB, free: 3.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/1.024, allocations: 7.125 kB / 1.4 GB, free: 3.906 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/1.025, allocations: 133.2 kB / 1.4 GB, free: 3.879 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/1.025, allocations: 5.25 kB / 1.4 GB, free: 3.879 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/1.025, allocations: 23.23 kB / 1.401 GB, free: 3.863 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/1.025, allocations: 7.25 kB / 1.401 GB, free: 3.863 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.025, allocations: 6.812 kB / 1.401 GB, free: 3.859 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/1.027, allocations: 1.366 MB / 1.402 GB, free: 2.625 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003415/1.027, allocations: 256.3 kB / 1.402 GB, free: 2.355 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/1.027, allocations: 19.98 kB / 1.402 GB, free: 2.336 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005574/1.028, allocations: 31.98 kB / 1.402 GB, free: 2.305 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.922e-05/1.028, allocations: 44.27 kB / 1.402 GB, free: 2.258 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.793e-05/1.028, allocations: 20 kB / 1.402 GB, free: 2.238 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008219/1.029, allocations: 0.5576 MB / 1.403 GB, free: 1.688 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.533e-06/1.029, allocations: 0 / 1.403 GB, free: 1.688 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001634/1.03, allocations: 0.7675 MB / 1.404 GB, free: 0.918 MB / 1.061 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.0034/1.034, allocations: 2.344 MB / 1.406 GB, free: 14.52 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001891/1.036, allocations: 1.187 MB / 1.407 GB, free: 13.34 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.036, allocations: 0 / 1.407 GB, free: 13.34 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005713/1.036, allocations: 374.1 kB / 1.407 GB, free: 12.97 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/1.039, allocations: 0.5381 MB / 1.408 GB, free: 12.44 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/1.05, allocations: 7.918 MB / 1.416 GB, free: 4.242 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006881/1.05, allocations: 1.077 MB / 1.417 GB, free: 3.137 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001218/1.051, allocations: 410.6 kB / 1.417 GB, free: 2.734 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004688/1.052, allocations: 335.3 kB / 1.417 GB, free: 2.406 MB / 1.076 GB Notification: Performance of SimCode: time 3.6e-07/1.052, allocations: 0 / 1.417 GB, free: 2.406 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05437/1.106, allocations: 31.39 MB / 1.448 GB, free: 3.406 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/12.05, allocations: 8.375 kB / 1.448 GB, free: 3.402 MB / 1.107 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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